Replace `fail!` with `panic!`