Fixing compiler error due to the renaming of `fail!` to `panic!`.

I just fixed the compiler error.