Yeah was just about to say the same. I had a OnePlus 5 where the cable wasn't staying in because pocket lint had built up inside in then gotten compressed by me putting in the charger cable. Thin needle and a torch sorted it right out.
Mine doesn't seem to have much dust in it (I don't usually keep it in a pocket) and it seems like the cable seats all the way, but more of a situation where the metal housing is bent so doesn't grip the cable properly. 🤷
Edit: well ill be... I got a needle in there. Very little came out. Cable seats in what looks like the exact same depth as before, but now it holds the cable better. Mind blown. Apparently 0.1mm worth of dirt is all it takes
This is one of the main reasons I use a wireless charger for nightly charging. The lint doesn't get packed in to a dense layer if you aren't plugging cables in all the time. My other reason is that I'm a clutz and snag dangling cables when reaching for stuff.
My port also got wallered out but it's a very easy swap. 2 case screws, pop off the back, undo 2 more screws to remove the USB/audio jack assrmbly and swap in the new one. No glue, no kamikaze springs, no muss, no fuss.
Its a $5(ish) part plus shipping from iFixIt, and took me 20 minutes. I replaced the battery too, sonce I was already in there with the back off. Also an easy swap.