macro_rules! print { ($($arg : tt) *) => { ... }; }
Rewrite print!() so that it doesn’t panic on broken pipe.