[INFO] cloning repository https://github.com/Celibistrial/nixctl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Celibistrial/nixctl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCelibistrial%2Fnixctl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCelibistrial%2Fnixctl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e182f55b78b8ac92f1e85eebf72298c054207832 [INFO] checking Celibistrial/nixctl/e182f55b78b8ac92f1e85eebf72298c054207832 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCelibistrial%2Fnixctl" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Celibistrial/nixctl on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Celibistrial/nixctl [INFO] finished tweaking git repo https://github.com/Celibistrial/nixctl [INFO] tweaked toml for git repo https://github.com/Celibistrial/nixctl written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Celibistrial/nixctl 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f00ac6bca4fb63fbef3ef89a43873d210b1faa2c71217e4e9de206dc14697e2 [INFO] running `Command { std: "docker" "start" "-a" "5f00ac6bca4fb63fbef3ef89a43873d210b1faa2c71217e4e9de206dc14697e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f00ac6bca4fb63fbef3ef89a43873d210b1faa2c71217e4e9de206dc14697e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f00ac6bca4fb63fbef3ef89a43873d210b1faa2c71217e4e9de206dc14697e2", kill_on_drop: false }` [INFO] [stdout] 5f00ac6bca4fb63fbef3ef89a43873d210b1faa2c71217e4e9de206dc14697e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0a7e80a63027386f9ede06177ee0e6f4e90a19e7b1d163db6512da0dc7892fa [INFO] running `Command { std: "docker" "start" "-a" "a0a7e80a63027386f9ede06177ee0e6f4e90a19e7b1d163db6512da0dc7892fa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling os_pipe v1.1.5 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Checking duct_sh v0.13.7 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling clap_complete v4.5.1 [INFO] [stderr] Compiling nixctl v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] warning: constant `SPEC_LOCATION` is never used [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SPEC_LOCATION: &str = "/etc/specialisation"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_PROFILE` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CURRENT_PROFILE: &str = "/run/current-system"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_result` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn print_result(output: Result, msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn build() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / duct_sh::sh( [INFO] [stdout] 153 | | "nix-shell -p gnome.eog graphviz nix-du --command ' [INFO] [stdout] 154 | | TMP_FILE=$(mktemp -q /tmp/store.XXXXXX.png) [INFO] [stdout] 155 | | nix-du -s=500MB | dot -Tpng > $TMP_FILE && eog $TMP_FILE &'", [INFO] [stdout] 156 | | ) [INFO] [stdout] 157 | | .run(); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = duct_sh::sh( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: constant `SPEC_LOCATION` is never used [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SPEC_LOCATION: &str = "/etc/specialisation"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_PROFILE` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CURRENT_PROFILE: &str = "/run/current-system"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / duct_sh::sh( [INFO] [stdout] 153 | | "nix-shell -p gnome.eog graphviz nix-du --command ' [INFO] [stdout] 154 | | TMP_FILE=$(mktemp -q /tmp/store.XXXXXX.png) [INFO] [stdout] 155 | | nix-du -s=500MB | dot -Tpng > $TMP_FILE && eog $TMP_FILE &'", [INFO] [stdout] 156 | | ) [INFO] [stdout] 157 | | .run(); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = duct_sh::sh( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPEC_LOCATION` is never used [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SPEC_LOCATION: &str = "/etc/specialisation"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_PROFILE` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CURRENT_PROFILE: &str = "/run/current-system"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / duct_sh::sh( [INFO] [stdout] 153 | | "nix-shell -p gnome.eog graphviz nix-du --command ' [INFO] [stdout] 154 | | TMP_FILE=$(mktemp -q /tmp/store.XXXXXX.png) [INFO] [stdout] 155 | | nix-du -s=500MB | dot -Tpng > $TMP_FILE && eog $TMP_FILE &'", [INFO] [stdout] 156 | | ) [INFO] [stdout] 157 | | .run(); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = duct_sh::sh( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.91s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling nixctl v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: constant `SPEC_LOCATION` is never used [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SPEC_LOCATION: &str = "/etc/specialisation"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_PROFILE` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CURRENT_PROFILE: &str = "/run/current-system"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_result` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn print_result(output: Result, msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn build() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / duct_sh::sh( [INFO] [stdout] 153 | | "nix-shell -p gnome.eog graphviz nix-du --command ' [INFO] [stdout] 154 | | TMP_FILE=$(mktemp -q /tmp/store.XXXXXX.png) [INFO] [stdout] 155 | | nix-du -s=500MB | dot -Tpng > $TMP_FILE && eog $TMP_FILE &'", [INFO] [stdout] 156 | | ) [INFO] [stdout] 157 | | .run(); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = duct_sh::sh( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPEC_LOCATION` is never used [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SPEC_LOCATION: &str = "/etc/specialisation"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_PROFILE` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CURRENT_PROFILE: &str = "/run/current-system"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPEC_LOCATION` is never used [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SPEC_LOCATION: &str = "/etc/specialisation"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_PROFILE` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CURRENT_PROFILE: &str = "/run/current-system"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / duct_sh::sh( [INFO] [stdout] 153 | | "nix-shell -p gnome.eog graphviz nix-du --command ' [INFO] [stdout] 154 | | TMP_FILE=$(mktemp -q /tmp/store.XXXXXX.png) [INFO] [stdout] 155 | | nix-du -s=500MB | dot -Tpng > $TMP_FILE && eog $TMP_FILE &'", [INFO] [stdout] 156 | | ) [INFO] [stdout] 157 | | .run(); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = duct_sh::sh( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / duct_sh::sh( [INFO] [stdout] 153 | | "nix-shell -p gnome.eog graphviz nix-du --command ' [INFO] [stdout] 154 | | TMP_FILE=$(mktemp -q /tmp/store.XXXXXX.png) [INFO] [stdout] 155 | | nix-du -s=500MB | dot -Tpng > $TMP_FILE && eog $TMP_FILE &'", [INFO] [stdout] 156 | | ) [INFO] [stdout] 157 | | .run(); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = duct_sh::sh( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "a0a7e80a63027386f9ede06177ee0e6f4e90a19e7b1d163db6512da0dc7892fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0a7e80a63027386f9ede06177ee0e6f4e90a19e7b1d163db6512da0dc7892fa", kill_on_drop: false }` [INFO] [stdout] a0a7e80a63027386f9ede06177ee0e6f4e90a19e7b1d163db6512da0dc7892fa