Flood bike! Better have someone who has the technology to determine the extent of metal worm damage before you go spending anything more on this. I'd be looking for a clean un-rusted replacement frame.
Hit a pothole, land hard from a wheelie, and have the bike catastrophically-fail. Better have it examined thoroughly by a competent professional.