[INFO] cloning repository https://github.com/kjuulh/toolkit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjuulh/toolkit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjuulh%2Ftoolkit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjuulh%2Ftoolkit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 018393027c99e4819472d605c9ec3648d96d0cef [INFO] testing kjuulh/toolkit against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjuulh%2Ftoolkit" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjuulh/toolkit on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kjuulh/toolkit [INFO] finished tweaking git repo https://github.com/kjuulh/toolkit [INFO] tweaked toml for git repo https://github.com/kjuulh/toolkit written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kjuulh/toolkit 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6d9a51333ca6c7962aee859d855831ab5ac4e41f13d907229d0f64704baa2e0 [INFO] running `Command { std: "docker" "start" "-a" "e6d9a51333ca6c7962aee859d855831ab5ac4e41f13d907229d0f64704baa2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6d9a51333ca6c7962aee859d855831ab5ac4e41f13d907229d0f64704baa2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d9a51333ca6c7962aee859d855831ab5ac4e41f13d907229d0f64704baa2e0", kill_on_drop: false }` [INFO] [stdout] e6d9a51333ca6c7962aee859d855831ab5ac4e41f13d907229d0f64704baa2e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bfd0b981e0567d0fd940c579f16777dd6581297d716f8bd681a4cbd959e5b3d [INFO] running `Command { std: "docker" "start" "-a" "7bfd0b981e0567d0fd940c579f16777dd6581297d716f8bd681a4cbd959e5b3d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling util v0.2.0 (/opt/rustwide/workdir/crates/util) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/util/src/shell.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | drop(stdin); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ChildStdin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 71 - drop(stdin); [INFO] [stdout] 71 + let _ = stdin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/util/src/shell.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | drop(stdin); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ChildStdin` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 117 - drop(stdin); [INFO] [stdout] 117 + let _ = stdin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sourcegraph v0.1.0 (/opt/rustwide/workdir/crates/sourcegraph) [INFO] [stderr] Compiling tldr v0.2.0 (/opt/rustwide/workdir/crates/tldr) [INFO] [stderr] Compiling stats v0.1.0 (/opt/rustwide/workdir/crates/stats) [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling comfy-table v6.2.0 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling gitea v0.2.0 (/opt/rustwide/workdir/crates/gitea) [INFO] [stderr] Compiling github v0.2.0 (/opt/rustwide/workdir/crates/github) [INFO] [stderr] Compiling toolkit v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/prereqs.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | let mut deps: Vec<&str> = DEPS.into_iter().map(|d| d.clone()).collect(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.47s [INFO] running `Command { std: "docker" "inspect" "7bfd0b981e0567d0fd940c579f16777dd6581297d716f8bd681a4cbd959e5b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfd0b981e0567d0fd940c579f16777dd6581297d716f8bd681a4cbd959e5b3d", kill_on_drop: false }` [INFO] [stdout] 7bfd0b981e0567d0fd940c579f16777dd6581297d716f8bd681a4cbd959e5b3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e9b4abc0dd1551aef99dd0cf502f200711fb6a9079fb45a6a92b2852415e2a2 [INFO] running `Command { std: "docker" "start" "-a" "2e9b4abc0dd1551aef99dd0cf502f200711fb6a9079fb45a6a92b2852415e2a2", kill_on_drop: false }` [INFO] [stderr] Compiling toolkit v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/util/src/shell.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | drop(stdin); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ChildStdin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 71 - drop(stdin); [INFO] [stdout] 71 + let _ = stdin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/util/src/shell.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | drop(stdin); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ChildStdin` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 117 - drop(stdin); [INFO] [stdout] 117 + let _ = stdin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/prereqs.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | let mut deps: Vec<&str> = DEPS.into_iter().map(|d| d.clone()).collect(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "2e9b4abc0dd1551aef99dd0cf502f200711fb6a9079fb45a6a92b2852415e2a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e9b4abc0dd1551aef99dd0cf502f200711fb6a9079fb45a6a92b2852415e2a2", kill_on_drop: false }` [INFO] [stdout] 2e9b4abc0dd1551aef99dd0cf502f200711fb6a9079fb45a6a92b2852415e2a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5eb876903b6f5d63370fb68e0c53021ca07f9de8fa9a6e235425c7fcb6961d46 [INFO] running `Command { std: "docker" "start" "-a" "5eb876903b6f5d63370fb68e0c53021ca07f9de8fa9a6e235425c7fcb6961d46", kill_on_drop: false }` [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> crates/util/src/shell.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | drop(stdin); [INFO] [stderr] | ^^^^^-----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut ChildStdin` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 71 - drop(stdin); [INFO] [stderr] 71 + let _ = stdin; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> crates/util/src/shell.rs:117:13 [INFO] [stderr] | [INFO] [stderr] 117 | drop(stdin); [INFO] [stderr] | ^^^^^-----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut ChildStdin` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 117 - drop(stdin); [INFO] [stderr] 117 + let _ = stdin; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `util` (lib) generated 2 warnings [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/prereqs.rs:15:57 [INFO] [stderr] | [INFO] [stderr] 15 | let mut deps: Vec<&str> = DEPS.into_iter().map(|d| d.clone()).collect(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `toolkit` (bin "toolkit" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/toolkit-a6bb8a3b7eda6b0a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5eb876903b6f5d63370fb68e0c53021ca07f9de8fa9a6e235425c7fcb6961d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb876903b6f5d63370fb68e0c53021ca07f9de8fa9a6e235425c7fcb6961d46", kill_on_drop: false }` [INFO] [stdout] 5eb876903b6f5d63370fb68e0c53021ca07f9de8fa9a6e235425c7fcb6961d46