[INFO] updating cached repository itsdalmo/rust-hooks [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/itsdalmo/rust-hooks [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/itsdalmo/rust-hooks" "work/ex/pr-57483/sources/master#2bde39b8edce6463e1c37f8a8082a875e7b536b1/gh/itsdalmo/rust-hooks"` [INFO] [stderr] Cloning into 'work/ex/pr-57483/sources/master#2bde39b8edce6463e1c37f8a8082a875e7b536b1/gh/itsdalmo/rust-hooks'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/itsdalmo/rust-hooks" "work/ex/pr-57483/sources/try#0d8b5d1f16bab9e975695518ff8705bdab9fe94c/gh/itsdalmo/rust-hooks"` [INFO] [stderr] Cloning into 'work/ex/pr-57483/sources/try#0d8b5d1f16bab9e975695518ff8705bdab9fe94c/gh/itsdalmo/rust-hooks'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4cbdd04083a197d0f9764005e74be24646a331ac [INFO] sha for GitHub repo itsdalmo/rust-hooks: 4cbdd04083a197d0f9764005e74be24646a331ac [INFO] validating manifest of itsdalmo/rust-hooks on toolchain master#2bde39b8edce6463e1c37f8a8082a875e7b536b1 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+2bde39b8edce6463e1c37f8a8082a875e7b536b1-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of itsdalmo/rust-hooks on toolchain try#0d8b5d1f16bab9e975695518ff8705bdab9fe94c [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0d8b5d1f16bab9e975695518ff8705bdab9fe94c-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing itsdalmo/rust-hooks [INFO] finished frobbing itsdalmo/rust-hooks [INFO] frobbed toml for itsdalmo/rust-hooks written to work/ex/pr-57483/sources/master#2bde39b8edce6463e1c37f8a8082a875e7b536b1/gh/itsdalmo/rust-hooks/Cargo.toml [INFO] started frobbing itsdalmo/rust-hooks [INFO] finished frobbing itsdalmo/rust-hooks [INFO] frobbed toml for itsdalmo/rust-hooks written to work/ex/pr-57483/sources/try#0d8b5d1f16bab9e975695518ff8705bdab9fe94c/gh/itsdalmo/rust-hooks/Cargo.toml [INFO] crate itsdalmo/rust-hooks has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+2bde39b8edce6463e1c37f8a8082a875e7b536b1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0d8b5d1f16bab9e975695518ff8705bdab9fe94c-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking itsdalmo/rust-hooks against master#2bde39b8edce6463e1c37f8a8082a875e7b536b1 for pr-57483 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57483/worker-2/master#2bde39b8edce6463e1c37f8a8082a875e7b536b1:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57483/sources/master#2bde39b8edce6463e1c37f8a8082a875e7b536b1/gh/itsdalmo/rust-hooks:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+2bde39b8edce6463e1c37f8a8082a875e7b536b1-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d11c626fe7f8e588e75683d388c9705c320ff65676a37b31e475ddcdab5a23a4 [INFO] running `"docker" "start" "-a" "d11c626fe7f8e588e75683d388c9705c320ff65676a37b31e475ddcdab5a23a4"` [INFO] [stderr] Checking hooks v0.2.2 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_commit` [INFO] [stderr] --> src/main.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | fn check_commit(file: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_push` [INFO] [stderr] --> src/main.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | fn check_push() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `"docker" "inspect" "d11c626fe7f8e588e75683d388c9705c320ff65676a37b31e475ddcdab5a23a4"` [INFO] running `"docker" "rm" "-f" "d11c626fe7f8e588e75683d388c9705c320ff65676a37b31e475ddcdab5a23a4"` [INFO] [stdout] d11c626fe7f8e588e75683d388c9705c320ff65676a37b31e475ddcdab5a23a4