[INFO] cloning repository https://github.com/Busata/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/Busata/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBusata%2Fadvent_of_code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBusata%2Fadvent_of_code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd4c73da9429fc051759c621f6d2430863c45cfa
[INFO] testing Busata/advent_of_code against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBusata%2Fadvent_of_code" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Busata/advent_of_code on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Busata/advent_of_code
[INFO] finished tweaking git repo https://github.com/Busata/advent_of_code
[INFO] tweaked toml for git repo https://github.com/Busata/advent_of_code written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Busata/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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded memoize v0.4.1
[INFO] [stderr]   Downloaded memoize-inner v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 585288569cff61cca0a5a03e1c144cfd6f9db935bc20b22cba9166a95b0658c1
[INFO] running `Command { std: "docker" "start" "-a" "585288569cff61cca0a5a03e1c144cfd6f9db935bc20b22cba9166a95b0658c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "585288569cff61cca0a5a03e1c144cfd6f9db935bc20b22cba9166a95b0658c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "585288569cff61cca0a5a03e1c144cfd6f9db935bc20b22cba9166a95b0658c1", kill_on_drop: false }`
[INFO] [stdout] 585288569cff61cca0a5a03e1c144cfd6f9db935bc20b22cba9166a95b0658c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 318b50c805a4dbe9d4689d90edb9bb9825b84a794dc68db44e4e21e7fc38dc16
[INFO] running `Command { std: "docker" "start" "-a" "318b50c805a4dbe9d4689d90edb9bb9825b84a794dc68db44e4e21e7fc38dc16", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling priority-queue v1.3.2
[INFO] [stderr]    Compiling ahash v0.7.7
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling lru v0.7.8
[INFO] [stderr]    Compiling memoize-inner v0.4.0
[INFO] [stderr]    Compiling memoize v0.4.1
[INFO] [stderr]    Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/2023_08.rs:88:16
[INFO] [stdout]    |
[INFO] [stdout] 88 |             if (current_node == "ZZZ") {
[INFO] [stdout]    |                ^                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -             if (current_node == "ZZZ") {
[INFO] [stdout] 88 +             if current_node == "ZZZ" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/bin/2023_14.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/bin/2023_13.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |             acc += (x + 1);
[INFO] [stdout]    |                    ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -             acc += (x + 1);
[INFO] [stdout] 46 +             acc += x + 1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/bin/2023_17.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/bin/2023_17.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::iter::Positions`
[INFO] [stdout]  --> src/bin/helpers/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rayon::iter::Positions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/bin/2015_02.rs:17:74
[INFO] [stdout]    |
[INFO] [stdout] 17 |         acc + ((2 * l * w) + (2 * w * h) + (2 * h * l)) + min(w * h, min((l * w), l * h))
[INFO] [stdout]    |                                                                          ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -         acc + ((2 * l * w) + (2 * w * h) + (2 * h * l)) + min(w * h, min((l * w), l * h))
[INFO] [stdout] 17 +         acc + ((2 * l * w) + (2 * w * h) + (2 * h * l)) + min(w * h, min(l * w, l * h))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_score_part_1` is never used
[INFO] [stdout]   --> src/bin/2022_02.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn calculate_score_part_1(elf_input: &str, player_input: &str) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]  --> src/bin/2023_14.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col_idx`
[INFO] [stdout]   --> src/bin/2023_14.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |         for (col_idx, col) in row.iter().enumerate().rev() {
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_steps_part1` is never used
[INFO] [stdout]   --> src/bin/2023_08.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn find_steps_part1(instructions: &str, graph: &mut HashMap<&str, Node>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key` is never read
[INFO] [stdout]    --> src/bin/2023_08.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | struct Node {
[INFO] [stdout]     |        ---- field in this struct
[INFO] [stdout] 103 |     key: String,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::helpers::add_direction`
[INFO] [stdout]  --> src/bin/2023_16.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::helpers::{add_direction, Grid2D};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^ no `add_direction` in `helpers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::iter::Positions`
[INFO] [stdout]  --> src/bin/helpers/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rayon::iter::Positions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_idx`
[INFO] [stdout]    --> src/bin/2023_14.rs:132:10
[INFO] [stdout]     |
[INFO] [stdout] 132 |     for (row_idx, row) in grid.clone().iter().enumerate() {
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col_idx`
[INFO] [stdout]    --> src/bin/2023_14.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 |         for (col_idx, col) in row.iter().enumerate() {
[INFO] [stdout]     |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/bin/2023_16.rs:56:45
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn calculate_energized_fields(mirror_grid: &Grid2D<char>, beam: Beam) -> usize {
[INFO] [stdout]    |                                             ^^^^^^------ help: remove these generics
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             expected 0 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 0 generic parameters
[INFO] [stdout]   --> src/bin/helpers/mod.rs:4:12
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct Grid2D {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_grid` is never used
[INFO] [stdout]    --> src/bin/2023_14.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn print_grid(grid: &mut Vec<Vec<char>>) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value_map`
[INFO] [stdout]   --> src/bin/2023_07.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn upgrade_card_with_joker(hand: &str, value_map: &HashMap<char, usize>) -> String {
[INFO] [stdout]    |                                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_map`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/bin/2023_07.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .filter(|(char, value)| **char != 'J')
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent_of_code` (bin "2023_16") due to 3 previous errors; 1 warning 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/bin/2023_17.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut grid = Grid2D::from_string(input);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hand`
[INFO] [stdout]    --> src/bin/2023_07.rs:154:65
[INFO] [stdout]     |
[INFO] [stdout] 154 |     plays.clone().into_iter().enumerate().fold(0, |result, (i, (hand, bid))| {
[INFO] [stdout]     |                                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_hand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_high_card` is never used
[INFO] [stdout]    --> src/bin/2023_07.rs:121:4
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn is_high_card(character_map: &HashMap<char, i32>) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_cell` is never used
[INFO] [stdout]   --> src/bin/helpers/mod.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Grid2D {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn set_cell(&mut self, row: i32, col: i32, symbol: char) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_instruction`, `value`, and `mul` are never used
[INFO] [stdout]   --> src/bin/helpers/mod.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl Direction {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 76 |     pub fn from_instruction(instruction: &str) -> Direction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn value(&self) -> (i64, i64) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn mul(&self, value: i64) -> (i64, i64) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/bin/2023_07.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Some(c) => hand.clone().replace("J", &c.to_string()),
[INFO] [stdout]    |                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `symbols` is never read
[INFO] [stdout]   --> src/bin/2023_03.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct EngineSchematic {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 |     symbols: HashMap<i32, HashSet<String>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "318b50c805a4dbe9d4689d90edb9bb9825b84a794dc68db44e4e21e7fc38dc16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "318b50c805a4dbe9d4689d90edb9bb9825b84a794dc68db44e4e21e7fc38dc16", kill_on_drop: false }`
[INFO] [stdout] 318b50c805a4dbe9d4689d90edb9bb9825b84a794dc68db44e4e21e7fc38dc16
[INFO] testing Busata/advent_of_code against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBusata%2Fadvent_of_code" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Busata/advent_of_code on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Busata/advent_of_code
[INFO] finished tweaking git repo https://github.com/Busata/advent_of_code
[INFO] tweaked toml for git repo https://github.com/Busata/advent_of_code written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Busata/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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a905a2b4c862a3412736de7395a532ea9514c7c97b924ca80ccf998f7b4e5da
[INFO] running `Command { std: "docker" "start" "-a" "2a905a2b4c862a3412736de7395a532ea9514c7c97b924ca80ccf998f7b4e5da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a905a2b4c862a3412736de7395a532ea9514c7c97b924ca80ccf998f7b4e5da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a905a2b4c862a3412736de7395a532ea9514c7c97b924ca80ccf998f7b4e5da", kill_on_drop: false }`
[INFO] [stdout] 2a905a2b4c862a3412736de7395a532ea9514c7c97b924ca80ccf998f7b4e5da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05ac9993d2e575db8d42e221e3e6c027f6693f63458c22aead5e25fe7a95d138
[INFO] running `Command { std: "docker" "start" "-a" "05ac9993d2e575db8d42e221e3e6c027f6693f63458c22aead5e25fe7a95d138", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling ahash v0.7.7
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling priority-queue v1.3.2
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling lru v0.7.8
[INFO] [stderr]    Compiling memoize-inner v0.4.0
[INFO] [stderr]    Compiling memoize v0.4.1
[INFO] [stderr]    Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/bin/2023_10.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/bin/2015_02.rs:17:74
[INFO] [stdout]    |
[INFO] [stdout] 17 |         acc + ((2 * l * w) + (2 * w * h) + (2 * h * l)) + min(w * h, min((l * w), l * h))
[INFO] [stdout]    |                                                                          ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -         acc + ((2 * l * w) + (2 * w * h) + (2 * h * l)) + min(w * h, min((l * w), l * h))
[INFO] [stdout] 17 +         acc + ((2 * l * w) + (2 * w * h) + (2 * h * l)) + min(w * h, min(l * w, l * h))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/2023_08.rs:88:16
[INFO] [stdout]    |
[INFO] [stdout] 88 |             if (current_node == "ZZZ") {
[INFO] [stdout]    |                ^                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -             if (current_node == "ZZZ") {
[INFO] [stdout] 88 +             if current_node == "ZZZ" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/bin/2023_14.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/bin/2023_18.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Hash`, `Hasher`
[INFO] [stdout]  --> src/bin/2023_18.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   |                 ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::iter::Positions`
[INFO] [stdout]  --> src/bin/helpers/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rayon::iter::Positions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_score_part_1` is never used
[INFO] [stdout]   --> src/bin/2022_02.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn calculate_score_part_1(elf_input: &str, player_input: &str) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `topThree` should have a snake case name
[INFO] [stdout]   --> src/bin/2022_01.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let topThree: i32 = calories.iter().rev().take(3).sum();
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `top_three`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]  --> src/bin/2023_14.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col_idx`
[INFO] [stdout]   --> src/bin/2023_14.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |         for (col_idx, col) in row.iter().enumerate().rev() {
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_steps_part1` is never used
[INFO] [stdout]   --> src/bin/2023_08.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn find_steps_part1(instructions: &str, graph: &mut HashMap<&str, Node>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key` is never read
[INFO] [stdout]    --> src/bin/2023_08.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | struct Node {
[INFO] [stdout]     |        ---- field in this struct
[INFO] [stdout] 103 |     key: String,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::helpers::add_direction`
[INFO] [stdout]  --> src/bin/2023_16.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::helpers::{add_direction, Grid2D};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^ no `add_direction` in `helpers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::iter::Positions`
[INFO] [stdout]  --> src/bin/helpers/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rayon::iter::Positions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/2023_05.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut ranges: Vec<(u64, u64)> = seeds.chunks(2).map(|pair| (pair[0], pair[0] + pair[1])).collect();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_idx`
[INFO] [stdout]    --> src/bin/2023_14.rs:132:10
[INFO] [stdout]     |
[INFO] [stdout] 132 |     for (row_idx, row) in grid.clone().iter().enumerate() {
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col_idx`
[INFO] [stdout]    --> src/bin/2023_14.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 |         for (col_idx, col) in row.iter().enumerate() {
[INFO] [stdout]     |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_grid` is never used
[INFO] [stdout]    --> src/bin/2023_14.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn print_grid(grid: &mut Vec<Vec<char>>) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/bin/2023_16.rs:56:45
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn calculate_energized_fields(mirror_grid: &Grid2D<char>, beam: Beam) -> usize {
[INFO] [stdout]    |                                             ^^^^^^------ help: remove these generics
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             expected 0 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 0 generic parameters
[INFO] [stdout]   --> src/bin/helpers/mod.rs:4:12
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct Grid2D {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent_of_code` (bin "2023_16") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/bin/helpers/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Grid2D {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn from_string(input: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn get_cell(&self, row: i32, col: i32) -> char {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn set_cell(&mut self, row: i32, col: i32, symbol: char) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn width(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn height(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn is_within_bounds(&self, position: &(i32, i32)) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn get_neighbours(&self, position: &(i32, i32)) -> Vec<((i32, i32), Direction)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn cost(&self, position: &(i32, i32)) -> i32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `opposite` is never used
[INFO] [stdout]    --> src/bin/helpers/mod.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 75  | impl Direction {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn opposite(&self) -> Direction {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "05ac9993d2e575db8d42e221e3e6c027f6693f63458c22aead5e25fe7a95d138", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05ac9993d2e575db8d42e221e3e6c027f6693f63458c22aead5e25fe7a95d138", kill_on_drop: false }`
[INFO] [stdout] 05ac9993d2e575db8d42e221e3e6c027f6693f63458c22aead5e25fe7a95d138
