[INFO] cloning repository itsdalmo/rust-hooks [INFO] running `"git" "clone" "--bare" "git://github.com/itsdalmo/rust-hooks.git" "work/cache/sources/gh/itsdalmo/rust-hooks"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/itsdalmo/rust-hooks'... [INFO] running `"git" "clone" "work/cache/sources/gh/itsdalmo/rust-hooks" "work/ex/pr-58899/sources/master#c0086b9e8972fef9fd4af24bae20d45021ed06c6/gh/itsdalmo/rust-hooks"` [INFO] [stderr] Cloning into 'work/ex/pr-58899/sources/master#c0086b9e8972fef9fd4af24bae20d45021ed06c6/gh/itsdalmo/rust-hooks'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/itsdalmo/rust-hooks" "work/ex/pr-58899/sources/try#290ac7b29f41ff9fa5232f9a1116ea71a3501063/gh/itsdalmo/rust-hooks"` [INFO] [stderr] Cloning into 'work/ex/pr-58899/sources/try#290ac7b29f41ff9fa5232f9a1116ea71a3501063/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#c0086b9e8972fef9fd4af24bae20d45021ed06c6 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c0086b9e8972fef9fd4af24bae20d45021ed06c6-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of itsdalmo/rust-hooks on toolchain try#290ac7b29f41ff9fa5232f9a1116ea71a3501063 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+290ac7b29f41ff9fa5232f9a1116ea71a3501063-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-58899/sources/master#c0086b9e8972fef9fd4af24bae20d45021ed06c6/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-58899/sources/try#290ac7b29f41ff9fa5232f9a1116ea71a3501063/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" "+c0086b9e8972fef9fd4af24bae20d45021ed06c6-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+290ac7b29f41ff9fa5232f9a1116ea71a3501063-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking itsdalmo/rust-hooks against master#c0086b9e8972fef9fd4af24bae20d45021ed06c6 for pr-58899 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58899/worker-1/master#c0086b9e8972fef9fd4af24bae20d45021ed06c6:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58899/sources/master#c0086b9e8972fef9fd4af24bae20d45021ed06c6/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" "+c0086b9e8972fef9fd4af24bae20d45021ed06c6-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ffe20aba88ad0249e88536f34da41e1f42db7c72142f3449cd6109042912c098 [INFO] running `"docker" "start" "-a" "ffe20aba88ad0249e88536f34da41e1f42db7c72142f3449cd6109042912c098"` [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [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: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/utils.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | Ok(branch.trim_right().to_string()) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/utils.rs:109:29 [INFO] [stderr] | [INFO] [stderr] 109 | let refs: Vec<&str> = s.trim_right().split(" ").collect(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/utils.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | Ok(branch.trim_right().to_string()) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/utils.rs:149:10 [INFO] [stderr] | [INFO] [stderr] 149 | Ok(s.trim_right().to_string()) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/utils.rs:109:29 [INFO] [stderr] | [INFO] [stderr] 109 | let refs: Vec<&str> = s.trim_right().split(" ").collect(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/utils.rs:149:10 [INFO] [stderr] | [INFO] [stderr] 149 | Ok(s.trim_right().to_string()) [INFO] [stderr] | ^^^^^^^^^^ [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 3.55s [INFO] running `"docker" "inspect" "ffe20aba88ad0249e88536f34da41e1f42db7c72142f3449cd6109042912c098"` [INFO] running `"docker" "rm" "-f" "ffe20aba88ad0249e88536f34da41e1f42db7c72142f3449cd6109042912c098"` [INFO] [stdout] ffe20aba88ad0249e88536f34da41e1f42db7c72142f3449cd6109042912c098