upstream rust: panic! replaces fail!