Driving off road truck, going down ramp in pit to dump his load and said brakes failed to stop the truck. Operator ran into pile of rocks to avoid hitting another truck. Supv. said when he got to the accident to check on operator, he noticed the brake pedal was in front of driver seat and had come loose from mount.