The rust does not appear to be so bad that it will affect the function of the frame, but certainly will affect the value if trying to sell as a collector rather than a rider.
I can't see the dent, so I think that would mean it is a pretty small dent.
I also noticed that this is not a very big frame - maybe a 54cm? How tall are you? Because there are other factors to fit besides frame size.