Frankly, all this could be avoided by the use of safety stops. While the bar may hit your body, as the stops need to be low enough for you to touch the bar to your chest, it stops the extreme compression of the full weight crushing your rib cage.
No matter how good the spotters, stopping a weight that slips so quickly is near impossible, given the distance of the bar to the chest at any given moment. Squatting, you have from shoulders to floor to get hold of the weight. With bench, you only have about 1/4 of that distance.
So, just whine and bitch until your gym gives up on renewing their 45 leases on treadmills and buys a decent bench press rack.
This is one of the many reasons why I hate "fitness" gyms. They spend all the money on crap you don't need (just go for a walk outside, ffs) and skimp or omit the stuff that's important. Like a barbell that actually weighs 20kg, instead of 18, with a knurl that you can actually feel and a shaft that won't bend after a week's use. Sure, have crap bars for beginners or bros, as they won't know the difference, but surely you can fork out $500 for a half decent barbell for the more advanced lifters.
When all else fails, improvise. I used a squat rack for a few years:
Or just buy a bench setup with stops. Its not that hard.
Blaine Sumner built these metal tables for squat safeties, as he trains alone. They can also be used for bench safeties, with the advantage of catching the plates, and not wreck the barbell.