Remove the unused UnexpectedFailure static function to fix my build, no bug