That was unfortunately somewhat common with Tacomas and Tundras of that vintage. Bad rust issues led to a settlement and frame replacements for a LOT of trucks.
Yeah, a coworker has an old Tacoma and he had the rails replaced under warranty. Pretty crazy.