[INFO] cloning repository https://github.com/VaranTavers/advent_of_code_2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VaranTavers/advent_of_code_2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaranTavers%2Fadvent_of_code_2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaranTavers%2Fadvent_of_code_2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72cad117cfa1d12b464d8bd8c8889427fc530ed0 [INFO] checking VaranTavers/advent_of_code_2023 against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaranTavers%2Fadvent_of_code_2023" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VaranTavers/advent_of_code_2023 on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VaranTavers/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/VaranTavers/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/VaranTavers/advent_of_code_2023 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/VaranTavers/advent_of_code_2023 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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94261a2782864b05bd5c7497765b61712e99a9dd8f852259f886105f5cf44a81 [INFO] running `Command { std: "docker" "start" "-a" "94261a2782864b05bd5c7497765b61712e99a9dd8f852259f886105f5cf44a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94261a2782864b05bd5c7497765b61712e99a9dd8f852259f886105f5cf44a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94261a2782864b05bd5c7497765b61712e99a9dd8f852259f886105f5cf44a81", kill_on_drop: false }` [INFO] [stdout] 94261a2782864b05bd5c7497765b61712e99a9dd8f852259f886105f5cf44a81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ceb0e9a7c208b640d202293c11b9be08bd48f8c7144d67d933f7716ff3012b2 [INFO] running `Command { std: "docker" "start" "-a" "5ceb0e9a7c208b640d202293c11b9be08bd48f8c7144d67d933f7716ff3012b2", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/days/day23.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/days/day23.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/days/day24.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 130 | [INFO] [stdout] 131 | Ok(0) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/days/day24.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 130 | [INFO] [stdout] 131 | Ok(0) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/days/day10.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | for (j, c) in cols.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/days/day10.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | for (j, c) in cols.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> src/days/day18.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | let (bounds, start) = map_bounds_from_lines(&lines); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_num` [INFO] [stdout] --> src/days/day2.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let game_num = game_split[1].parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> src/days/day18.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | let (bounds, start) = map_bounds_from_lines(&lines); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_num` [INFO] [stdout] --> src/days/day2.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let game_num = game_split[1].parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/days/day24.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let lines = reader [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/days/day25.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut j = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day25.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut components = nodes.iter().map(|_| false).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: variable does not need to be mutable [INFO] [stdout] --> src/days/day25.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut j = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/days/day24.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let lines = reader [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/days/day25.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut j = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day25.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut components = nodes.iter().map(|_| false).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: variable does not need to be mutable [INFO] [stdout] --> src/days/day25.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut j = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/days/day11.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn gcd(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_Z` is never used [INFO] [stdout] --> src/days/day24.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const MIN_Z: f64 = 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_Z` is never used [INFO] [stdout] --> src/days/day24.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const MAX_Z: f64 = 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution_2` is never used [INFO] [stdout] --> src/days/day24.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn solution_2(reader: BufReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connections_between_components` is never used [INFO] [stdout] --> src/days/day25.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn connections_between_components(map: &Vec>, components: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conns_between_comps_n` is never used [INFO] [stdout] --> src/days/day25.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn conns_between_comps_n(map: &Vec>, components: &Vec, n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbors_with_component` is never used [INFO] [stdout] --> src/days/day25.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn neighbors_with_component( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbors_with_component_n` is never used [INFO] [stdout] --> src/days/day25.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn neighbors_with_component_n( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backtrack` is never used [INFO] [stdout] --> src/days/day25.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_rules` is never used [INFO] [stdout] --> src/days/day5.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Mapper { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn sort_rules(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_maps` and `find_all` are never used [INFO] [stdout] --> src/utils/charmap.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CharMap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn parse_maps(reader: BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn find_all(&self, needle: char) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_J` should have a snake case name [INFO] [stdout] --> src/days/day18.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn is_J(map: &Vec>>, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_L` should have a snake case name [INFO] [stdout] --> src/days/day18.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn is_L(map: &Vec>>, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/days/day11.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn gcd(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_Z` is never used [INFO] [stdout] --> src/days/day24.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const MIN_Z: f64 = 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_Z` is never used [INFO] [stdout] --> src/days/day24.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const MAX_Z: f64 = 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution_2` is never used [INFO] [stdout] --> src/days/day24.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn solution_2(reader: BufReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connections_between_components` is never used [INFO] [stdout] --> src/days/day25.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn connections_between_components(map: &Vec>, components: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conns_between_comps_n` is never used [INFO] [stdout] --> src/days/day25.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn conns_between_comps_n(map: &Vec>, components: &Vec, n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbors_with_component` is never used [INFO] [stdout] --> src/days/day25.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn neighbors_with_component( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbors_with_component_n` is never used [INFO] [stdout] --> src/days/day25.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn neighbors_with_component_n( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backtrack` is never used [INFO] [stdout] --> src/days/day25.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_rules` is never used [INFO] [stdout] --> src/days/day5.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Mapper { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn sort_rules(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_maps` and `find_all` are never used [INFO] [stdout] --> src/utils/charmap.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CharMap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn parse_maps(reader: BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn find_all(&self, needle: char) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_J` should have a snake case name [INFO] [stdout] --> src/days/day18.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn is_J(map: &Vec>>, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_L` should have a snake case name [INFO] [stdout] --> src/days/day18.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn is_L(map: &Vec>>, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "5ceb0e9a7c208b640d202293c11b9be08bd48f8c7144d67d933f7716ff3012b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ceb0e9a7c208b640d202293c11b9be08bd48f8c7144d67d933f7716ff3012b2", kill_on_drop: false }` [INFO] [stdout] 5ceb0e9a7c208b640d202293c11b9be08bd48f8c7144d67d933f7716ff3012b2 [INFO] checking VaranTavers/advent_of_code_2023 against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaranTavers%2Fadvent_of_code_2023" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VaranTavers/advent_of_code_2023 on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VaranTavers/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/VaranTavers/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/VaranTavers/advent_of_code_2023 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/VaranTavers/advent_of_code_2023 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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c7fd5973277869b3ba50a21325085f5136454814d21c313a2840e5ea6c01414 [INFO] running `Command { std: "docker" "start" "-a" "9c7fd5973277869b3ba50a21325085f5136454814d21c313a2840e5ea6c01414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c7fd5973277869b3ba50a21325085f5136454814d21c313a2840e5ea6c01414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c7fd5973277869b3ba50a21325085f5136454814d21c313a2840e5ea6c01414", kill_on_drop: false }` [INFO] [stdout] 9c7fd5973277869b3ba50a21325085f5136454814d21c313a2840e5ea6c01414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Ddereferencing_mut_binding" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2338d5e084b20f978132c4eae882506f2d60518df5c8c04ef52c89eb8c3b9aa [INFO] running `Command { std: "docker" "start" "-a" "f2338d5e084b20f978132c4eae882506f2d60518df5c8c04ef52c89eb8c3b9aa", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/days/day23.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/days/day23.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/days/day18.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 283 | let (mut last_way, _) = lines.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/days/day18.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 283 | let (mut last_way, _) = lines.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/days/day18.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 283 | let (mut last_way, _) = lines.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/days/day18.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 283 | let (mut last_way, _) = lines.last().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/days/day24.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 130 | [INFO] [stdout] 131 | Ok(0) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/days/day24.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 130 | [INFO] [stdout] 131 | Ok(0) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/days/day10.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | for (j, c) in cols.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/days/day10.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | for (j, c) in cols.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> src/days/day18.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | let (bounds, start) = map_bounds_from_lines(&lines); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_num` [INFO] [stdout] --> src/days/day2.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let game_num = game_split[1].parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> src/days/day18.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | let (bounds, start) = map_bounds_from_lines(&lines); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_num` [INFO] [stdout] --> src/days/day2.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let game_num = game_split[1].parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/days/day24.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let lines = reader [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/days/day25.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut j = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day25.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut components = nodes.iter().map(|_| false).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: variable does not need to be mutable [INFO] [stdout] --> src/days/day25.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut j = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/days/day24.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let lines = reader [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/days/day25.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut j = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day25.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut components = nodes.iter().map(|_| false).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: variable does not need to be mutable [INFO] [stdout] --> src/days/day25.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut j = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/days/day11.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn gcd(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_Z` is never used [INFO] [stdout] --> src/days/day24.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const MIN_Z: f64 = 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_Z` is never used [INFO] [stdout] --> src/days/day24.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const MAX_Z: f64 = 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution_2` is never used [INFO] [stdout] --> src/days/day24.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn solution_2(reader: BufReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connections_between_components` is never used [INFO] [stdout] --> src/days/day25.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn connections_between_components(map: &Vec>, components: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conns_between_comps_n` is never used [INFO] [stdout] --> src/days/day25.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn conns_between_comps_n(map: &Vec>, components: &Vec, n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbors_with_component` is never used [INFO] [stdout] --> src/days/day25.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn neighbors_with_component( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbors_with_component_n` is never used [INFO] [stdout] --> src/days/day25.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn neighbors_with_component_n( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backtrack` is never used [INFO] [stdout] --> src/days/day25.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_rules` is never used [INFO] [stdout] --> src/days/day5.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Mapper { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn sort_rules(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_maps` and `find_all` are never used [INFO] [stdout] --> src/utils/charmap.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CharMap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn parse_maps(reader: BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn find_all(&self, needle: char) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_J` should have a snake case name [INFO] [stdout] --> src/days/day18.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn is_J(map: &Vec>>, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_L` should have a snake case name [INFO] [stdout] --> src/days/day18.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn is_L(map: &Vec>>, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2023` (bin "advent_of_code_2023") due to 2 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/days/day11.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn gcd(a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_Z` is never used [INFO] [stdout] --> src/days/day24.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const MIN_Z: f64 = 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_Z` is never used [INFO] [stdout] --> src/days/day24.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const MAX_Z: f64 = 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution_2` is never used [INFO] [stdout] --> src/days/day24.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn solution_2(reader: BufReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connections_between_components` is never used [INFO] [stdout] --> src/days/day25.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn connections_between_components(map: &Vec>, components: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conns_between_comps_n` is never used [INFO] [stdout] --> src/days/day25.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn conns_between_comps_n(map: &Vec>, components: &Vec, n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbors_with_component` is never used [INFO] [stdout] --> src/days/day25.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn neighbors_with_component( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neighbors_with_component_n` is never used [INFO] [stdout] --> src/days/day25.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn neighbors_with_component_n( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backtrack` is never used [INFO] [stdout] --> src/days/day25.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_rules` is never used [INFO] [stdout] --> src/days/day5.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Mapper { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn sort_rules(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_maps` and `find_all` are never used [INFO] [stdout] --> src/utils/charmap.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CharMap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn parse_maps(reader: BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn find_all(&self, needle: char) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_J` should have a snake case name [INFO] [stdout] --> src/days/day18.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn is_J(map: &Vec>>, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_L` should have a snake case name [INFO] [stdout] --> src/days/day18.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn is_L(map: &Vec>>, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2023` (bin "advent_of_code_2023" test) due to 2 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f2338d5e084b20f978132c4eae882506f2d60518df5c8c04ef52c89eb8c3b9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2338d5e084b20f978132c4eae882506f2d60518df5c8c04ef52c89eb8c3b9aa", kill_on_drop: false }` [INFO] [stdout] f2338d5e084b20f978132c4eae882506f2d60518df5c8c04ef52c89eb8c3b9aa