No compression-next move?

My buddy'truck did the same thing idling in driveway. No compression,motor spun real fast with starter. Wish I could help but he sold the truck broken .