"They didn't realize it was a garbage compactor at the bottom of the trash chute," Matt Johnson, another friend of Walsh, told the television station.
The weight-activated machine partially crushed Walsh's head, torso and lower body. He broke both of his legs and fractured his skull in two places," KMGH reported.
"I saw him come out of the trash compactor,” Johnson told the television station. “It wasn't a very good scene. He's very lucky to be alive."
Doctors said Walsh did not suffer any brain or spinal damage, KMGH reported.
"It's a miracle," Johnson told the television station.
Friends and colleagues at the Denver pizza restaurant where Walsh works set up a GoFundMe page to help defray medical expenses.