

Can someone who knows flooring tell me what's going on here?
I am a renter.
Context. When I moved in, that was all against the baseboards like one expects. Rather, the carpet was. As time as gone by this has sunk down. Tape measure for scale. So it's a good inch and a couple cm of sinking in sixteen months. I have no idea what that metal thing is. It looks like a big nail? I used a finger to show someone how far the "hole" went and felt something metal. When I grabbed a flashlight, I saw that. What is going on here?
Second photo is the bathroom floor in the lofted area. Pretty sure there's water below it. The area of the floor feels spongy. That's never good.
Edit: Landlord is basically saying "nothing is wrong. We'll have maintenance come take a look." I have been in touch with them. More than once. In January of last year my foot went through the floor downstairs. (I was not injured.)
Edit 2: I began this thread because a friend of mine who is in construction was visiting and said "You have a big problem in here." There were a lot of things he pointed out that I just figured was "old apartment and landlord special paint slap." I had no clue.
Thank you all for the help, thoughtful comments, and the funny comments too. Laughing at a time like this is good. I have several phone calls to make first thing in the morning. More to add to my files too. Thank you again!