[INFO] cloning repository https://github.com/danplubell/advent-of-code-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danplubell/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanplubell%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanplubell%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a888b557ef4cec5607dccacc31ff358c92c21201 [INFO] testing danplubell/advent-of-code-2024 against beta-2026-04-21 for beta-1.96-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanplubell%2Fadvent-of-code-2024" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/danplubell/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/danplubell/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/danplubell/advent-of-code-2024 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danplubell/advent-of-code-2024 on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danplubell/advent-of-code-2024 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-2026-04-21" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2321b31c6dcdecc28840526f21b50824b352eda21c8b3f43e318718684268eac [INFO] running `Command { std: "docker" "start" "-a" "2321b31c6dcdecc28840526f21b50824b352eda21c8b3f43e318718684268eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2321b31c6dcdecc28840526f21b50824b352eda21c8b3f43e318718684268eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2321b31c6dcdecc28840526f21b50824b352eda21c8b3f43e318718684268eac", kill_on_drop: false }` [INFO] [stdout] 2321b31c6dcdecc28840526f21b50824b352eda21c8b3f43e318718684268eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2334104b4ede9dc2fdf8554a1298ae742cb49f97f0ae8bd2660cd17cb09e6b2e [INFO] running `Command { std: "docker" "start" "-a" "2334104b4ede9dc2fdf8554a1298ae742cb49f97f0ae8bd2660cd17cb09e6b2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling priority-queue v2.1.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tinyjson v2.5.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling grid v0.16.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling cached_proc_macro v0.24.0 [INFO] [stderr] Compiling cached v0.55.1 [INFO] [stderr] Compiling advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/15.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [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 variable: `current` [INFO] [stdout] --> src/bin/15.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(current) = opened_position { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/bin/15.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | l.chars().enumerate().for_each(|(col, c)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/bin/15.rs:159:42 [INFO] [stdout] | [INFO] [stdout] 159 | input.lines().enumerate().for_each(|(row, l)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `np` [INFO] [stdout] --> src/bin/15.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(np) = new_location { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_np` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_p` [INFO] [stdout] --> src/bin/15.rs:456:33 [INFO] [stdout] | [INFO] [stdout] 456 | if let Some(new_p) = pos { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_pos` [INFO] [stdout] --> src/bin/15.rs:482:33 [INFO] [stdout] | [INFO] [stdout] 482 | if let Some(new_pos) = pos { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_pos` [INFO] [stdout] --> src/bin/15.rs:509:33 [INFO] [stdout] | [INFO] [stdout] 509 | if let Some(new_pos) = pos { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/bin/15.rs:609:46 [INFO] [stdout] | [INFO] [stdout] 609 | l.chars().enumerate().for_each(|(col, c)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/bin/15.rs:607:42 [INFO] [stdout] | [INFO] [stdout] 607 | input.lines().enumerate().for_each(|(row, l)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `grid_length` is never read [INFO] [stdout] --> src/bin/15.rs:550:27 [INFO] [stdout] | [INFO] [stdout] 550 | let mut grid_length = 0_usize; [INFO] [stdout] | ^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 576 | grid_length = new_map.len(); [INFO] [stdout] | --------------------------- `grid_length` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/bin/11.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::prelude::*; [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 variable: `i` [INFO] [stdout] --> src/bin/11.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | (0..25).for_each(|i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `work_list` is never read [INFO] [stdout] --> src/bin/11.rs:63:50 [INFO] [stdout] | [INFO] [stdout] 63 | let mut work_list: &mut std::vec::Vec = &mut vec![]; [INFO] [stdout] | ^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 76 | work_list = &mut odd_list; [INFO] [stdout] | ------------------------- `work_list` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/bin/02.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Direction { [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 import: `itertools::Itertools` [INFO] [stdout] --> src/bin/22.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [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 variable: `m` [INFO] [stdout] --> src/bin/04.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | for (i, m) in matches { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/14.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | Some(x) => 'X', [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/bin/22.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | .map(|(idx, number)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sn` [INFO] [stdout] --> src/bin/22.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(sn) = s{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/bin/find_all_shortest_paths.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, 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: `HashSet` [INFO] [stdout] --> src/bin/24.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, 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 variable: `max_distance` [INFO] [stdout] --> src/bin/20.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let max_distance = path.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/24.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut l = l [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/bin/24.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut l = l [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/bin/24.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | let mut gate = gates.get(wire).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wire_x` [INFO] [stdout] --> src/bin/24.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | let wire_x = "x".to_owned() + &num.to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_wire_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wire_y` [INFO] [stdout] --> src/bin/24.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | let wire_y = "y".to_owned() + &num.to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_wire_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_distance` [INFO] [stdout] --> src/bin/20.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let max_distance = path.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dc` [INFO] [stdout] --> src/bin/20.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let dc = radius - dr; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bin/24.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Operator { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 22 | fn to_string(&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: function `pp` is never used [INFO] [stdout] --> src/bin/24.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn pp(wire: &str, gates: &HashMap, depth: usize) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/20.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let mut total = 0; [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: unused variable: `total` [INFO] [stdout] --> src/bin/20.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let mut total = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_distance` [INFO] [stdout] --> src/bin/20.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | let max_distance = path.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/bin/20.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | let total = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_n` [INFO] [stdout] --> src/bin/20.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | let d_n = match dists.get(nr, nc) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/09.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | let found = groups.find(|(i, g)| g.len() <= block_size as usize); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/09.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | .filter(|(i, g)| g[0] != -1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/09.rs:118:45 [INFO] [stdout] | [INFO] [stdout] 118 | let result = gap_list.iter().find(|(i, g)| g.len() >= f.len()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/09.rs:117:59 [INFO] [stdout] | [INFO] [stdout] 117 | let gap_list: Vec<_> = new_groups.iter().filter(|(i, g)| g[0] == -1).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/09.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some((j, v)) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/09.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | let mut files: Vec<_> = groups.iter().filter(|(i, g)| g[0] != -1).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_file` is never used [INFO] [stdout] --> src/bin/09.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn find_file(buffer: &Vec, block_size: i32) -> Option<(usize, Vec)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `part_two` is defined multiple times [INFO] [stdout] --> src/bin/08.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ------------------------------------------- previous definition of the value `part_two` here [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `part_two` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `part_two` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_fixed` [INFO] [stdout] --> src/bin/05.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | let is_fixed = is_update_ok(&rules, &corrected_pages); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_fixed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/bin/08.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | ant.iter().for_each(|(k, v)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/bin/08.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | ant.iter().for_each(|(k, v)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/08.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "08") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2334104b4ede9dc2fdf8554a1298ae742cb49f97f0ae8bd2660cd17cb09e6b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2334104b4ede9dc2fdf8554a1298ae742cb49f97f0ae8bd2660cd17cb09e6b2e", kill_on_drop: false }` [INFO] [stdout] 2334104b4ede9dc2fdf8554a1298ae742cb49f97f0ae8bd2660cd17cb09e6b2e