Bad gasoline?

“Bad gas” can be read as “unable to verify malfunction”. Real “bad gas” is very rare.

If your engine was revving and the car wasn’t moving, than the two were not effectively connected. In an automatic, that would be the tranny, perhaps the torque converter portion. In a manual that would be the clutch. I’ll bet luch that you have a manual. And I’ll bet dinner that your clutch is shot.