What would cause complete brake failure?

Contaminated brake fluid.Rusted, rotted brake lines.