I just dig out my lightning port with a toothpick every time I wake up to find my phone didn’t charge. I have no idea how safe that would be with a USB-C port, which is literally the only reason I dread the otherwise obviously-good transition of iPhones to a standard port.
It should be safer with a USB-C port, since the springs (the most fragile part) are in the cable, not in the port; with lightning, the springs are in the port instead of the cable.