fail was renamed to panic

https://github.com/rust-lang/rust/pull/17894