[INFO] cloning repository https://github.com/youwen5/nh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/youwen5/nh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyouwen5%2Fnh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyouwen5%2Fnh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4d93dfda62f034bbc08dc3bfea78213ec99b3be [INFO] testing youwen5/nh against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyouwen5%2Fnh" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/youwen5/nh [INFO] finished tweaking git repo https://github.com/youwen5/nh [INFO] tweaked toml for git repo https://github.com/youwen5/nh written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/youwen5/nh on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/youwen5/nh 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uzers v0.12.1 [INFO] [stderr] Downloaded shell-words v1.1.0 [INFO] [stderr] Downloaded terminal_size v0.2.6 [INFO] [stderr] Downloaded owo-colors v4.1.0 [INFO] [stderr] Downloaded console v0.15.10 [INFO] [stderr] Downloaded cc v1.2.9 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded timeago v0.4.2 [INFO] [stderr] Downloaded elasticsearch-dsl v0.4.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f47f2192a0a28d42385d120a48e5354e196e219f2b0ac893a00b5759913982f [INFO] running `Command { std: "docker" "start" "-a" "7f47f2192a0a28d42385d120a48e5354e196e219f2b0ac893a00b5759913982f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f47f2192a0a28d42385d120a48e5354e196e219f2b0ac893a00b5759913982f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f47f2192a0a28d42385d120a48e5354e196e219f2b0ac893a00b5759913982f", kill_on_drop: false }` [INFO] [stdout] 7f47f2192a0a28d42385d120a48e5354e196e219f2b0ac893a00b5759913982f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9e9c4991a97c9311bece3fb626647e389246c24f7c191c35d652c73f1032d44 [INFO] running `Command { std: "docker" "start" "-a" "c9e9c4991a97c9311bece3fb626647e389246c24f7c191c35d652c73f1032d44", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling timeago v0.4.2 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling clean-path v0.2.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling uzers v0.12.1 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling clap_complete v4.5.42 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling elasticsearch-dsl v0.4.22 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling nh v4.0.0-beta.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Value` is never constructed [INFO] [stdout] --> src/json.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Value<'v> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/json.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/json.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'v> Value<'v> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 32 | pub fn new(value: &'v serde_json::Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get(&self, index: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_semver` is never used [INFO] [stdout] --> src/util.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn compare_semver(current: &str, target: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nix_version` is never used [INFO] [stdout] --> src/util.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_nix_version() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "c9e9c4991a97c9311bece3fb626647e389246c24f7c191c35d652c73f1032d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e9c4991a97c9311bece3fb626647e389246c24f7c191c35d652c73f1032d44", kill_on_drop: false }` [INFO] [stdout] c9e9c4991a97c9311bece3fb626647e389246c24f7c191c35d652c73f1032d44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c291e282d7bf3f01be3eb814205b342b4a7e9a541dc9cab77a1ab640b44db581 [INFO] running `Command { std: "docker" "start" "-a" "c291e282d7bf3f01be3eb814205b342b4a7e9a541dc9cab77a1ab640b44db581", kill_on_drop: false }` [INFO] [stderr] Compiling nh v4.0.0-beta.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `compare_semver` is never used [INFO] [stdout] --> src/util.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn compare_semver(current: &str, target: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nix_version` is never used [INFO] [stdout] --> src/util.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_nix_version() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.19s [INFO] running `Command { std: "docker" "inspect" "c291e282d7bf3f01be3eb814205b342b4a7e9a541dc9cab77a1ab640b44db581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c291e282d7bf3f01be3eb814205b342b4a7e9a541dc9cab77a1ab640b44db581", kill_on_drop: false }` [INFO] [stdout] c291e282d7bf3f01be3eb814205b342b4a7e9a541dc9cab77a1ab640b44db581 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7ff9ac53ccc9f8e92b3e3dc30583613b72dabf94d967f27bff07c4b5b828663 [INFO] running `Command { std: "docker" "start" "-a" "f7ff9ac53ccc9f8e92b3e3dc30583613b72dabf94d967f27bff07c4b5b828663", kill_on_drop: false }` [INFO] [stderr] warning: function `compare_semver` is never used [INFO] [stderr] --> src/util.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn compare_semver(current: &str, target: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_nix_version` is never used [INFO] [stderr] --> src/util.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn get_nix_version() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nh` (bin "nh" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nh-e1113413eece0f48) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test installable::test_installable_to_args ... ok [INFO] [stdout] test installable::test_join_attribute ... ok [INFO] [stdout] test installable::test_parse_attribute ... ok [INFO] [stdout] test json::test_value ... ok [INFO] [stdout] test search::test_supported_branch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f7ff9ac53ccc9f8e92b3e3dc30583613b72dabf94d967f27bff07c4b5b828663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ff9ac53ccc9f8e92b3e3dc30583613b72dabf94d967f27bff07c4b5b828663", kill_on_drop: false }` [INFO] [stdout] f7ff9ac53ccc9f8e92b3e3dc30583613b72dabf94d967f27bff07c4b5b828663