2 rm ~/.cargo/bin/cargo-clippy
3 cargo install --force --path .
5 echo "Running integration test for crate ${INTEGRATION}"
7 git clone --depth=1 https://github.com/${INTEGRATION}.git checkout
11 # run clippy on a project, try to be verbose and trigger as many warnings as possible for greater coverage
12 RUST_BACKTRACE=full cargo clippy --all-targets --all-features -- --cap-lints warn -W clippy_pedantic -W clippy_nursery &> clippy_output
14 ! cat clippy_output | grep -q "internal compiler error\|query stack during panic"
15 if [[ $? != 0 ]]; then
20 case ${INTEGRATION} in