[INFO] cloning repository https://github.com/Meterius/2024-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/Meterius/2024-advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeterius%2F2024-advent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeterius%2F2024-advent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2aac0a946c3a0c7dfc3dee048f98164dda033e4c [INFO] checking Meterius/2024-advent-of-code against try#4c525d43052e921548191f82f6ed9e2f9e98dcb1 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeterius%2F2024-advent-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/Meterius/2024-advent-of-code on toolchain 4c525d43052e921548191f82f6ed9e2f9e98dcb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Meterius/2024-advent-of-code [INFO] finished tweaking git repo https://github.com/Meterius/2024-advent-of-code [INFO] tweaked toml for git repo https://github.com/Meterius/2024-advent-of-code written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Meterius/2024-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" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Meterius/2024-advent-of-code against try#4c525d43052e921548191f82f6ed9e2f9e98dcb1 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeterius%2F2024-advent-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/Meterius/2024-advent-of-code on toolchain 4c525d43052e921548191f82f6ed9e2f9e98dcb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Meterius/2024-advent-of-code [INFO] finished tweaking git repo https://github.com/Meterius/2024-advent-of-code [INFO] tweaked toml for git repo https://github.com/Meterius/2024-advent-of-code written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Meterius/2024-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" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-read v0.4.0 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fb98d7ca31d0d24321c5a3790ff3264582fd0b730ae0792d6bcc8d0d1139518 [INFO] running `Command { std: "docker" "start" "-a" "7fb98d7ca31d0d24321c5a3790ff3264582fd0b730ae0792d6bcc8d0d1139518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fb98d7ca31d0d24321c5a3790ff3264582fd0b730ae0792d6bcc8d0d1139518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fb98d7ca31d0d24321c5a3790ff3264582fd0b730ae0792d6bcc8d0d1139518", kill_on_drop: false }` [INFO] [stdout] 7fb98d7ca31d0d24321c5a3790ff3264582fd0b730ae0792d6bcc8d0d1139518 [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=forbid" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73ebd3bb5a61ccafcc5df5609e03bfaf8de865423973f698c27b879d325658eb [INFO] running `Command { std: "docker" "start" "-a" "73ebd3bb5a61ccafcc5df5609e03bfaf8de865423973f698c27b879d325658eb", kill_on_drop: false }` [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking utf8-read v0.4.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking priority-queue v2.1.1 [INFO] [stderr] Checking advent_of_code_2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `print_tiles` [INFO] [stdout] --> src/day_15.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | macro_rules! print_tiles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print_tiles` [INFO] [stdout] --> src/day_15.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | macro_rules! print_tiles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, and `VecDeque` [INFO] [stdout] --> src/day_22.rs:1:24 [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: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day_22.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print_tiles` [INFO] [stdout] --> src/day_15.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | macro_rules! print_tiles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Graph` [INFO] [stdout] --> src/day_24.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::{Direction, Graph}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print_tiles` [INFO] [stdout] --> src/day_15.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | macro_rules! print_tiles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bfs` and `Reversed` [INFO] [stdout] --> src/day_24.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::visit::{Bfs, Reversed, Topo}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day_25.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, and `VecDeque` [INFO] [stdout] --> src/day_22.rs:1:24 [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: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day_22.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Graph` [INFO] [stdout] --> src/day_24.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::{Direction, Graph}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bfs` and `Reversed` [INFO] [stdout] --> src/day_24.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::visit::{Bfs, Reversed, Topo}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day_25.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/day_14.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 42 | return 7492; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 52 | let lines = BufReader::new(data).lines().flatten().collect_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/day_14.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 42 | return 7492; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 52 | let lines = BufReader::new(data).lines().flatten().collect_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/day_24.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 246 | return all_swaps.into_iter().join(","); [INFO] [stdout] | -------------------------------------- any code following this expression is unreachable [INFO] [stdout] 247 | [INFO] [stdout] 248 | let mut circuit = compile_circuit(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/day_24.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 246 | return all_swaps.into_iter().join(","); [INFO] [stdout] | -------------------------------------- any code following this expression is unreachable [INFO] [stdout] 247 | [INFO] [stdout] 248 | let mut circuit = compile_circuit(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day_21.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/day_23.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::{Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day_21.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/day_23.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::{Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/day_14.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn part_2(data: File) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_15.rs:248:33 [INFO] [stdout] | [INFO] [stdout] 248 | ... let mut p_box_next = (p_boxes[i].0 + dir.0, p_boxes[i].1 + dir.1); [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: `data` [INFO] [stdout] --> src/day_14.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn part_2(data: File) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_15.rs:248:33 [INFO] [stdout] | [INFO] [stdout] 248 | ... let mut p_box_next = (p_boxes[i].0 + dir.0, p_boxes[i].1 + dir.1); [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: `y` [INFO] [stdout] --> src/day_21.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | (x0..x1).for_each(|y| out.push(DirButton::Right)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | (x1..x0).for_each(|y| out.push(DirButton::Left)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | (y0..y1).for_each(|y| out.push(DirButton::Down)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | (y1..y0).for_each(|y| out.push(DirButton::Up)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | (x0..x1).for_each(|y| out.push(DirButton::Right)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:134:36 [INFO] [stdout] | [INFO] [stdout] 134 | (x1..x0).for_each(|y| out.push(DirButton::Left)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | (y0..y1).for_each(|y| out.push(DirButton::Down)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:142:36 [INFO] [stdout] | [INFO] [stdout] 142 | (y1..y0).for_each(|y| out.push(DirButton::Up)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_22.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut next = evolve(curr); [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/day_22.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut next = evolve(curr); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | (x0..x1).for_each(|y| out.push(DirButton::Right)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | (x1..x0).for_each(|y| out.push(DirButton::Left)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | (y0..y1).for_each(|y| out.push(DirButton::Down)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | (y1..y0).for_each(|y| out.push(DirButton::Up)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | (x0..x1).for_each(|y| out.push(DirButton::Right)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:134:36 [INFO] [stdout] | [INFO] [stdout] 134 | (x1..x0).for_each(|y| out.push(DirButton::Left)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | (y0..y1).for_each(|y| out.push(DirButton::Down)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/day_21.rs:142:36 [INFO] [stdout] | [INFO] [stdout] 142 | (y1..y0).for_each(|y| out.push(DirButton::Up)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/day_24.rs:233:15 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn part_2(data: File) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_22.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut next = evolve(curr); [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/day_22.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut next = evolve(curr); [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/day_25.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut is_key = first_line.chars().next().unwrap() == '#'; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/day_25.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn part_2(data: File) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `pop_last`, and `is_empty` are never used [INFO] [stdout] --> src/common.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl OrderedCounter { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get(&self, key: &K) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn pop_last(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `display_string` and `boundary_manhattan` are never used [INFO] [stdout] --> src/common.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Matrix { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn display_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn boundary_manhattan(&self, pos: (isize, isize), dist: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_2d_string` is never used [INFO] [stdout] --> src/day_6.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl<'a> GuardWalk<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn to_2d_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `W_HALF` is never used [INFO] [stdout] --> src/day_14.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | const W_HALF: isize = W / 2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H_HALF` is never used [INFO] [stdout] --> src/day_14.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | const H_HALF: isize = H / 2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_char`, `position`, `change_cost`, and `implementations` are never used [INFO] [stdout] --> src/day_21.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl DirButton { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | fn as_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn position(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn change_cost(&self, other: &DirButton) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn implementations(&self, other: &DirButton) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/common.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if i < 0 || i > self.buffer.len() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/day_24.rs:233:15 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn part_2(data: File) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_25.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut is_key = first_line.chars().next().unwrap() == '#'; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/day_25.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn part_2(data: File) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `pop_last`, and `is_empty` are never used [INFO] [stdout] --> src/common.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl OrderedCounter { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get(&self, key: &K) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn pop_last(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `display_string` and `boundary_manhattan` are never used [INFO] [stdout] --> src/common.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Matrix { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn display_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn boundary_manhattan(&self, pos: (isize, isize), dist: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_2d_string` is never used [INFO] [stdout] --> src/day_6.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl<'a> GuardWalk<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn to_2d_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `W_HALF` is never used [INFO] [stdout] --> src/day_14.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | const W_HALF: isize = W / 2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H_HALF` is never used [INFO] [stdout] --> src/day_14.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | const H_HALF: isize = H / 2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_char`, `position`, `change_cost`, and `implementations` are never used [INFO] [stdout] --> src/day_21.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl DirButton { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | fn as_char(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn position(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn change_cost(&self, other: &DirButton) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn implementations(&self, other: &DirButton) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/common.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if i < 0 || i > self.buffer.len() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "73ebd3bb5a61ccafcc5df5609e03bfaf8de865423973f698c27b879d325658eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ebd3bb5a61ccafcc5df5609e03bfaf8de865423973f698c27b879d325658eb", kill_on_drop: false }` [INFO] [stdout] 73ebd3bb5a61ccafcc5df5609e03bfaf8de865423973f698c27b879d325658eb