[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 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funhindered-ec%2Fcapacity_optimizer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/unhindered-ec/capacity_optimizer on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 516180aa42da5a42aea242a0ff949cf77a55527d7a0079ad97919100c9d39d86
[INFO] running `Command { std: "docker" "start" "516180aa42da5a42aea242a0ff949cf77a55527d7a0079ad97919100c9d39d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "516180aa42da5a42aea242a0ff949cf77a55527d7a0079ad97919100c9d39d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "516180aa42da5a42aea242a0ff949cf77a55527d7a0079ad97919100c9d39d86" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "516180aa42da5a42aea242a0ff949cf77a55527d7a0079ad97919100c9d39d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "516180aa42da5a42aea242a0ff949cf77a55527d7a0079ad97919100c9d39d86" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling serde v1.0.201
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling cc v1.0.97
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]    Compiling thiserror v1.0.60
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling camino v1.1.6
[INFO] [stderr]     Checking anstyle v1.0.7
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking colorchoice v1.0.1
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking anstyle-query v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking smawk v0.3.2
[INFO] [stderr]     Checking unicode-linebreak v0.1.5
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking is_ci v1.2.0
[INFO] [stderr]     Checking owo-colors v4.0.0
[INFO] [stderr]     Checking supports-unicode v3.0.0
[INFO] [stderr]     Checking supports-hyperlinks v3.0.0
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]     Checking supports-color v3.0.0
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking syn v2.0.61
[INFO] [stderr]     Checking terminal_size v0.3.0
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking 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]     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:...
[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:...
[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<Target, Utf8PathBuf>| -> miette::Result<()> {
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]    --> src/main.rs:105:66
[INFO] [stdout]     |
[INFO] [stdout] 105 |             syn::Expr::Lit(syn::ExprLit{lit: lit@syn::Lit::Int(i@syn::LitInt {..}), ..}) => {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type is defined in crate `syn`
[INFO] [stdout]     = note: `#[deny(rest_pattern_match_on_struct_with_all_private_fields)]` on by default
[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] [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] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]    --> src/main.rs:105:66
[INFO] [stdout]     |
[INFO] [stdout] 105 |             syn::Expr::Lit(syn::ExprLit{lit: lit@syn::Lit::Int(i@syn::LitInt {..}), ..}) => {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type is defined in crate `syn`
[INFO] [stdout]     = note: `#[deny(rest_pattern_match_on_struct_with_all_private_fields)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[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" "516180aa42da5a42aea242a0ff949cf77a55527d7a0079ad97919100c9d39d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "516180aa42da5a42aea242a0ff949cf77a55527d7a0079ad97919100c9d39d86", kill_on_drop: false }`
[INFO] [stdout] 516180aa42da5a42aea242a0ff949cf77a55527d7a0079ad97919100c9d39d86
