[INFO] cloning repository https://github.com/StrikeForceZero/advent_of_code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StrikeForceZero/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrikeForceZero%2Fadvent_of_code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrikeForceZero%2Fadvent_of_code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da739426dd8fde75f8cba9801c209fa721f81093
[INFO] checking StrikeForceZero/advent_of_code against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrikeForceZero%2Fadvent_of_code" "/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/StrikeForceZero/advent_of_code
[INFO] finished tweaking git repo https://github.com/StrikeForceZero/advent_of_code
[INFO] tweaked toml for git repo https://github.com/StrikeForceZero/advent_of_code written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/StrikeForceZero/advent_of_code on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/StrikeForceZero/advent_of_code 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror v2.0.3
[INFO] [stderr]   Downloaded smart-default v0.7.1
[INFO] [stderr]   Downloaded rustc-hash v2.1.0
[INFO] [stderr]   Downloaded pathfinding v4.12.0
[INFO] [stderr]   Downloaded thiserror-impl v2.0.3
[INFO] [stderr]   Downloaded deprecate-until v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] fe22cd6bdad7a8e5f7636021762f377909ecb198c99034e2ff978f7652046ab7
[INFO] running `Command { std: "docker" "start" "fe22cd6bdad7a8e5f7636021762f377909ecb198c99034e2ff978f7652046ab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe22cd6bdad7a8e5f7636021762f377909ecb198c99034e2ff978f7652046ab7", 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" "fe22cd6bdad7a8e5f7636021762f377909ecb198c99034e2ff978f7652046ab7" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe22cd6bdad7a8e5f7636021762f377909ecb198c99034e2ff978f7652046ab7", 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" "fe22cd6bdad7a8e5f7636021762f377909ecb198c99034e2ff978f7652046ab7" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling semver v1.0.24
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling thiserror v2.0.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking rustc-hash v2.1.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking glam v0.29.2
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.3
[INFO] [stderr]    Compiling deprecate-until v0.1.1
[INFO] [stderr]    Compiling smart-default v0.7.1
[INFO] [stderr]     Checking pathfinding v4.12.0
[INFO] [stderr]     Checking advent_of_code v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/bin/day18p1.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::str::FromStr;
[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 doc comment
[INFO] [stdout]   --> src/bin/day2p2_optimized.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |           /// similar to [`is_single_or_adjacent`], we are checking if there are 1-2 non error indices.
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 60 |           // this attempts to remove one of the 2 "good" ones to see if it will then validate
[INFO] [stdout] 61 | /         if [self.data.len() - 1, self.data.len() - 2].contains(&mixed_directions.len()) {
[INFO] [stdout] 62 | |             for ix in 0..self.data.len() {
[INFO] [stdout] 63 | |                 if !self.contains_error_at(ix) {
[INFO] [stdout] 64 | |                     let fixed = self.remove_bad_item_cloned(ix);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |         }
[INFO] [stdout]    | |_________- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VecDeque`
[INFO] [stdout]  --> src/bin/day11p2.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, VecDeque};
[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: `itertools::Itertools`
[INFO] [stdout]  --> src/bin/day11p2.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `advent_of_code::utils::vec2::IntoIVec2`
[INFO] [stdout]  --> src/bin/day12p1.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use advent_of_code::utils::vec2::IntoIVec2;
[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: `HashMap`
[INFO] [stdout]  --> src/bin/day12p1.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::traits::real::Real`
[INFO] [stdout]  --> src/bin/day18p1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use num::traits::real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0533]: expected value, found struct variant `IsNotSafeError::InvalidDistance`
[INFO] [stdout]   --> src/bin/day2p2_optimized.rs:45:54
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let invalid_distances = self.collect_indices(IsNotSafeError::InvalidDistance);
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a value
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to create a new value of the struct
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let invalid_distances = self.collect_indices(IsNotSafeError::InvalidDistance { index: /* value */, distance: /* value */ });
[INFO] [stdout]    |                                                                                      +++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/bin/day8p1.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[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: `advent_of_code::utils::string::deformat_string`
[INFO] [stdout]  --> src/bin/day8p1.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use advent_of_code::utils::string::deformat_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/bin/day5p2.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 |         if let Err(err) = validate_update(&rules, &update) {
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0533]: expected value, found struct variant `IsNotSafeError::MixedDirection`
[INFO] [stdout]   --> src/bin/day2p2_optimized.rs:52:53
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mixed_directions = self.collect_indices(IsNotSafeError::MixedDirection);
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a value
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to create a new value of the struct
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mixed_directions = self.collect_indices(IsNotSafeError::MixedDirection { index: /* value */, expected_direction: /* value */ });
[INFO] [stdout]    |                                                                                    +++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/bin/day5p2.rs:306:24
[INFO] [stdout]     |
[INFO] [stdout] 306 |             if let Err(err) = validate_update(&rules, &update) {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `rotate` and `inverse` are never used
[INFO] [stdout]   --> src/bin/day12p1.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Direction {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn rotate(self) -> Self {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn inverse(self) -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `valid_count`
[INFO] [stdout]  --> src/bin/day19p1.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let valid_count = requests.iter().filter(|request| {
[INFO] [stdout]   |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valid_count`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_len`
[INFO] [stdout]   --> src/bin/day19p1.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let total_len = request_pattern.pattern.len();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0533`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent_of_code` (bin "day2p2_optimized") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/bin/day19p2.rs:51:75
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut new_branches = HashSet::with_capacity(branches.len());;
[INFO] [stdout]    |                                                                           ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_done`, `a`, and `b` are never used
[INFO] [stdout]    --> src/bin/day13p1.rs:92:8
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl Instance {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  92 |     fn is_done(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     fn a(&mut self) -> anyhow::Result<()> {
[INFO] [stdout]     |        ^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn b(&mut self) -> anyhow::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: method `can_print` is never used
[INFO] [stdout]   --> src/bin/day19p2.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl PatternSet {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 33 |     fn can_print(&self, request_pattern: &RequestPattern) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/bin/day7p1.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl OperatorIdentity {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 29 |     fn as_str(&self) -> &'static str {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `identity` is never used
[INFO] [stdout]   --> src/bin/day7p1.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl Operator {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn identity(&self) -> OperatorIdentity {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fe22cd6bdad7a8e5f7636021762f377909ecb198c99034e2ff978f7652046ab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe22cd6bdad7a8e5f7636021762f377909ecb198c99034e2ff978f7652046ab7", kill_on_drop: false }`
[INFO] [stdout] fe22cd6bdad7a8e5f7636021762f377909ecb198c99034e2ff978f7652046ab7
