[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] checking unhindered-ec/capacity_optimizer against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funhindered-ec%2Fcapacity_optimizer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/unhindered-ec/capacity_optimizer on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7698660fd50df0b3a9331e943c2733f3cbdd9ad0d35a257f3b74ec366299b36a
[INFO] running `Command { std: "docker" "start" "-a" "7698660fd50df0b3a9331e943c2733f3cbdd9ad0d35a257f3b74ec366299b36a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7698660fd50df0b3a9331e943c2733f3cbdd9ad0d35a257f3b74ec366299b36a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7698660fd50df0b3a9331e943c2733f3cbdd9ad0d35a257f3b74ec366299b36a", kill_on_drop: false }`
[INFO] [stdout] 7698660fd50df0b3a9331e943c2733f3cbdd9ad0d35a257f3b74ec366299b36a
[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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6ffe94705447bd4709ec0d80c889dd8c9b9109c4f8d646b7b874618b609b85a5
[INFO] running `Command { std: "docker" "start" "-a" "6ffe94705447bd4709ec0d80c889dd8c9b9109c4f8d646b7b874618b609b85a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.201
[INFO] [stderr]    Compiling cc v1.0.97
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling thiserror v1.0.60
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling camino v1.1.6
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling syn v2.0.61
[INFO] [stderr]     Checking unicode-linebreak v0.1.5
[INFO] [stderr]     Checking smawk v0.3.2
[INFO] [stderr]     Checking is_ci v1.2.0
[INFO] [stderr]     Checking supports-color v3.0.0
[INFO] [stderr]     Checking supports-unicode v3.0.0
[INFO] [stderr]     Checking owo-colors v4.0.0
[INFO] [stderr]     Checking supports-hyperlinks v3.0.0
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking quote v1.0.36
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking terminal_size v0.3.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]     Checking backtrace-ext v0.2.1
[INFO] [stderr]     Checking clap v4.5.4
[INFO] [stderr]     Checking cargo-platform v0.1.8
[INFO] [stderr]     Checking miette v7.2.0
[INFO] [stderr]     Checking cargo_metadata v0.18.1
[INFO] [stderr]     Checking 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::Ran...
[INFO] [stdout]   |                                            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[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::Ran...
[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: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<Target, Utf8PathBuf>| -> miette::Result<()> {
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[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<Target, Utf8PathBuf>| -> miette::Result<()> {
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/main.rs:491:14
[INFO] [stdout]     |
[INFO] [stdout] 491 |     Ok(match std::path::PathBuf::from_str(file_path_str) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/main.rs:491:14
[INFO] [stdout]     |
[INFO] [stdout] 491 |     Ok(match std::path::PathBuf::from_str(file_path_str) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `capacity_optimizer` (bin "capacity_optimizer") due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `capacity_optimizer` (bin "capacity_optimizer" test) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6ffe94705447bd4709ec0d80c889dd8c9b9109c4f8d646b7b874618b609b85a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ffe94705447bd4709ec0d80c889dd8c9b9109c4f8d646b7b874618b609b85a5", kill_on_drop: false }`
[INFO] [stdout] 6ffe94705447bd4709ec0d80c889dd8c9b9109c4f8d646b7b874618b609b85a5
