fix the build

hamcrest -> hamcrest' and fail -> panic