[INFO] cloning repository https://github.com/unhindered-ec/capacity_optimizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unhindered-ec/capacity_optimizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funhindered-ec%2Fcapacity_optimizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funhindered-ec%2Fcapacity_optimizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a9d6c4ece8e39d215472f002a1870ff8a2aba5f [INFO] testing unhindered-ec/capacity_optimizer against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funhindered-ec%2Fcapacity_optimizer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/unhindered-ec/capacity_optimizer [INFO] finished tweaking git repo https://github.com/unhindered-ec/capacity_optimizer [INFO] tweaked toml for git repo https://github.com/unhindered-ec/capacity_optimizer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/unhindered-ec/capacity_optimizer on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/unhindered-ec/capacity_optimizer 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 818ca9fffc3cea1138372b03a675bf37007bf802d15fa47bc140275c3a66f726 [INFO] running `Command { std: "docker" "start" "-a" "818ca9fffc3cea1138372b03a675bf37007bf802d15fa47bc140275c3a66f726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "818ca9fffc3cea1138372b03a675bf37007bf802d15fa47bc140275c3a66f726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "818ca9fffc3cea1138372b03a675bf37007bf802d15fa47bc140275c3a66f726", kill_on_drop: false }` [INFO] [stdout] 818ca9fffc3cea1138372b03a675bf37007bf802d15fa47bc140275c3a66f726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f85459ba4a542a2f888e6feef451634dcf4932eabc6af404384c2b5776c6add [INFO] running `Command { std: "docker" "start" "-a" "1f85459ba4a542a2f888e6feef451634dcf4932eabc6af404384c2b5776c6add", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling supports-color v3.0.0 [INFO] [stderr] Compiling supports-hyperlinks v3.0.0 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling capacity_optimizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap, HashSet}, env, ffi::OsStr, fs::{DirEntry, OpenOptions}, io::{BufReader, Read, Write}, ops:... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut targets_changed: AtomicBool = false.into(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut update_artifacts_if_needed = |artifacts: &mut HashMap| -> miette::Result<()> { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.96s [INFO] running `Command { std: "docker" "inspect" "1f85459ba4a542a2f888e6feef451634dcf4932eabc6af404384c2b5776c6add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f85459ba4a542a2f888e6feef451634dcf4932eabc6af404384c2b5776c6add", kill_on_drop: false }` [INFO] [stdout] 1f85459ba4a542a2f888e6feef451634dcf4932eabc6af404384c2b5776c6add [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ee9eb9ddfd313a47070b62551db8a632565d31f8710139ef26eaf6c636babdc [INFO] running `Command { std: "docker" "start" "-a" "1ee9eb9ddfd313a47070b62551db8a632565d31f8710139ef26eaf6c636babdc", kill_on_drop: false }` [INFO] [stderr] Compiling capacity_optimizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap, HashSet}, env, ffi::OsStr, fs::{DirEntry, OpenOptions}, io::{BufReader, Read, Write}, ops:... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut targets_changed: AtomicBool = false.into(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut update_artifacts_if_needed = |artifacts: &mut HashMap| -> miette::Result<()> { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "1ee9eb9ddfd313a47070b62551db8a632565d31f8710139ef26eaf6c636babdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee9eb9ddfd313a47070b62551db8a632565d31f8710139ef26eaf6c636babdc", kill_on_drop: false }` [INFO] [stdout] 1ee9eb9ddfd313a47070b62551db8a632565d31f8710139ef26eaf6c636babdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3db0b27ade0bb3b64f5309ff073eb4e99dc579ad7fbb28d003e1db3d8ab160bc [INFO] running `Command { std: "docker" "start" "-a" "3db0b27ade0bb3b64f5309ff073eb4e99dc579ad7fbb28d003e1db3d8ab160bc", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/main.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::{BTreeMap, HashMap, HashSet}, env, ffi::OsStr, fs::{DirEntry, OpenOptions}, io::{BufReader, Read, Write}, ops:... [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | let mut targets_changed: AtomicBool = false.into(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | let mut update_artifacts_if_needed = |artifacts: &mut HashMap| -> miette::Result<()> { [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `capacity_optimizer` (bin "capacity_optimizer" test) generated 3 warnings (run `cargo fix --bin "capacity_optimizer" -p capacity_optimizer --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/capacity_optimizer-559ad32bd3ae11e1) [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" "3db0b27ade0bb3b64f5309ff073eb4e99dc579ad7fbb28d003e1db3d8ab160bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db0b27ade0bb3b64f5309ff073eb4e99dc579ad7fbb28d003e1db3d8ab160bc", kill_on_drop: false }` [INFO] [stdout] 3db0b27ade0bb3b64f5309ff073eb4e99dc579ad7fbb28d003e1db3d8ab160bc