[INFO] cloning repository https://github.com/shulhi/gitsha [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shulhi/gitsha" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshulhi%2Fgitsha", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshulhi%2Fgitsha'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] becbef5baec32c92fee0b3b243025a514c7108f0 [INFO] building shulhi/gitsha against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshulhi%2Fgitsha" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shulhi/gitsha on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shulhi/gitsha [INFO] finished tweaking git repo https://github.com/shulhi/gitsha [INFO] tweaked toml for git repo https://github.com/shulhi/gitsha written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shulhi/gitsha already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa10d0c2b055a4e6e2122b12798b8c0bb11aea79fc5a8e61c71d104e56a77e9c [INFO] running `Command { std: "docker" "start" "-a" "aa10d0c2b055a4e6e2122b12798b8c0bb11aea79fc5a8e61c71d104e56a77e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa10d0c2b055a4e6e2122b12798b8c0bb11aea79fc5a8e61c71d104e56a77e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa10d0c2b055a4e6e2122b12798b8c0bb11aea79fc5a8e61c71d104e56a77e9c", kill_on_drop: false }` [INFO] [stdout] aa10d0c2b055a4e6e2122b12798b8c0bb11aea79fc5a8e61c71d104e56a77e9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dedde30574137a2654354ba6cc93d1e2ffe30aa72205951df3440d5217faa4d4 [INFO] running `Command { std: "docker" "start" "-a" "dedde30574137a2654354ba6cc93d1e2ffe30aa72205951df3440d5217faa4d4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling untrusted v0.5.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rustc-demangle v0.1.6 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.9.0 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling mio v0.6.13 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling tokio-io v0.1.5 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling tokio-core v0.1.12 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stderr] Compiling hyper v0.11.18 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling webpki v0.17.0 [INFO] [stderr] Compiling sct v0.2.0 [INFO] [stderr] Compiling ct-logs v0.2.0 [INFO] [stderr] Compiling rustls v0.11.0 [INFO] [stderr] Compiling webpki-roots v0.13.0 [INFO] [stderr] Compiling tokio-rustls v0.4.0 [INFO] [stderr] Compiling hyper-rustls v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling github-rs v0.6.1 [INFO] [stderr] Compiling gitsha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | ... why.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:114:86 [INFO] [stdout] | [INFO] [stdout] 114 | Err(why) => panic!("couldn't create {}: {}", path.display(), why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:119:86 [INFO] [stdout] | [INFO] [stdout] 119 | Err(why) => panic!("Couldn't create {}: {}", path.display(), why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct CommitInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.60s [INFO] running `Command { std: "docker" "inspect" "dedde30574137a2654354ba6cc93d1e2ffe30aa72205951df3440d5217faa4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dedde30574137a2654354ba6cc93d1e2ffe30aa72205951df3440d5217faa4d4", kill_on_drop: false }` [INFO] [stdout] dedde30574137a2654354ba6cc93d1e2ffe30aa72205951df3440d5217faa4d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecfe0aa857aeb1725279100db864d76dfff9719bf59aee05e81e4dd1f72600d2 [INFO] running `Command { std: "docker" "start" "-a" "ecfe0aa857aeb1725279100db864d76dfff9719bf59aee05e81e4dd1f72600d2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gitsha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | ... why.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:114:86 [INFO] [stdout] | [INFO] [stdout] 114 | Err(why) => panic!("couldn't create {}: {}", path.display(), why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:119:86 [INFO] [stdout] | [INFO] [stdout] 119 | Err(why) => panic!("Couldn't create {}: {}", path.display(), why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct CommitInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "ecfe0aa857aeb1725279100db864d76dfff9719bf59aee05e81e4dd1f72600d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfe0aa857aeb1725279100db864d76dfff9719bf59aee05e81e4dd1f72600d2", kill_on_drop: false }` [INFO] [stdout] ecfe0aa857aeb1725279100db864d76dfff9719bf59aee05e81e4dd1f72600d2