[INFO] cloning repository https://github.com/einartryggvi/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/einartryggvi/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feinartryggvi%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feinartryggvi%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 756787fd121ccc34a4594a0dccc80205041ef885 [INFO] checking einartryggvi/advent-of-code-2023 against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feinartryggvi%2Fadvent-of-code-2023" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/einartryggvi/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/einartryggvi/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/einartryggvi/advent-of-code-2023 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/einartryggvi/advent-of-code-2023 on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/einartryggvi/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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b23f17cd92b5fe6108d0acb3b0ed679a719a373178a490e36f7a2e9b04c14a9 [INFO] running `Command { std: "docker" "start" "-a" "9b23f17cd92b5fe6108d0acb3b0ed679a719a373178a490e36f7a2e9b04c14a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b23f17cd92b5fe6108d0acb3b0ed679a719a373178a490e36f7a2e9b04c14a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b23f17cd92b5fe6108d0acb3b0ed679a719a373178a490e36f7a2e9b04c14a9", kill_on_drop: false }` [INFO] [stdout] 9b23f17cd92b5fe6108d0acb3b0ed679a719a373178a490e36f7a2e9b04c14a9 [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=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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b68803864de33bb2ac2cacd6007bf31cadd1d085f78edf78a4a3322d2f61ba4b [INFO] running `Command { std: "docker" "start" "-a" "b68803864de33bb2ac2cacd6007bf31cadd1d085f78edf78a4a3322d2f61ba4b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `day18` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod day18; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day18`, create file "src/day18.rs" or "src/day18/mod.rs" [INFO] [stdout] = note: if there is a `mod day18` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day19` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod day19; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day19`, create file "src/day19.rs" or "src/day19/mod.rs" [INFO] [stdout] = note: if there is a `mod day19` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day20` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod day20; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day20`, create file "src/day20.rs" or "src/day20/mod.rs" [INFO] [stdout] = note: if there is a `mod day20` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day21` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod day21; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day21`, create file "src/day21.rs" or "src/day21/mod.rs" [INFO] [stdout] = note: if there is a `mod day21` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day22` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod day22; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day22`, create file "src/day22.rs" or "src/day22/mod.rs" [INFO] [stdout] = note: if there is a `mod day22` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day23` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod day23; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day23`, create file "src/day23.rs" or "src/day23/mod.rs" [INFO] [stdout] = note: if there is a `mod day23` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day24` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod day24; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day24`, create file "src/day24.rs" or "src/day24/mod.rs" [INFO] [stdout] = note: if there is a `mod day24` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day25` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod day25; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day25`, create file "src/day25.rs" or "src/day25/mod.rs" [INFO] [stdout] = note: if there is a `mod day25` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day18` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod day18; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day18`, create file "src/day18.rs" or "src/day18/mod.rs" [INFO] [stdout] = note: if there is a `mod day18` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day19` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod day19; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day19`, create file "src/day19.rs" or "src/day19/mod.rs" [INFO] [stdout] = note: if there is a `mod day19` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day20` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod day20; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day20`, create file "src/day20.rs" or "src/day20/mod.rs" [INFO] [stdout] = note: if there is a `mod day20` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day21` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod day21; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day21`, create file "src/day21.rs" or "src/day21/mod.rs" [INFO] [stdout] = note: if there is a `mod day21` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day22` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod day22; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day22`, create file "src/day22.rs" or "src/day22/mod.rs" [INFO] [stdout] = note: if there is a `mod day22` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day23` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod day23; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day23`, create file "src/day23.rs" or "src/day23/mod.rs" [INFO] [stdout] = note: if there is a `mod day23` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day24` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod day24; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day24`, create file "src/day24.rs" or "src/day24/mod.rs" [INFO] [stdout] = note: if there is a `mod day24` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day25` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod day25; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day25`, create file "src/day25.rs" or "src/day25/mod.rs" [INFO] [stdout] = note: if there is a `mod day25` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering`, `result`, and `self` [INFO] [stdout] --> src/day17.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | cmp::{self, Ordering}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] 5 | fs, result, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/day17.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | .any(|(x, y)| (*nx as usize == *x && (*ny as usize) == *y)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - .any(|(x, y)| (*nx as usize == *x && (*ny as usize) == *y)) [INFO] [stdout] 70 + .any(|(x, y)| *nx as usize == *x && (*ny as usize) == *y) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering`, `result`, and `self` [INFO] [stdout] --> src/day17.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | cmp::{self, Ordering}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] 5 | fs, result, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/day17.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | .any(|(x, y)| (*nx as usize == *x && (*ny as usize) == *y)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - .any(|(x, y)| (*nx as usize == *x && (*ny as usize) == *y)) [INFO] [stdout] 70 + .any(|(x, y)| *nx as usize == *x && (*ny as usize) == *y) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_cost` [INFO] [stdout] --> src/day17.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | mut current_cost: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_cost` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction_count` [INFO] [stdout] --> src/day17.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | direction_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visited` [INFO] [stdout] --> src/day17.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | mut visited: HashMap<(usize, usize), bool>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day17.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | mut current_cost: Vec, [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/day17.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | mut visited: HashMap<(usize, usize), bool>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_count` [INFO] [stdout] --> src/day17.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | let mut dir_count = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day17.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut dir = Direction::Right; [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/day17.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut dir_count = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "advent-of-code-2023") due to 8 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `current_cost` [INFO] [stdout] --> src/day17.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | mut current_cost: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_cost` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction_count` [INFO] [stdout] --> src/day17.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | direction_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visited` [INFO] [stdout] --> src/day17.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | mut visited: HashMap<(usize, usize), bool>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day17.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | mut current_cost: Vec, [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/day17.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | mut visited: HashMap<(usize, usize), bool>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_count` [INFO] [stdout] --> src/day17.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | let mut dir_count = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day17.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut dir = Direction::Right; [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/day17.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut dir_count = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "advent-of-code-2023" test) due to 8 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b68803864de33bb2ac2cacd6007bf31cadd1d085f78edf78a4a3322d2f61ba4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68803864de33bb2ac2cacd6007bf31cadd1d085f78edf78a4a3322d2f61ba4b", kill_on_drop: false }` [INFO] [stdout] b68803864de33bb2ac2cacd6007bf31cadd1d085f78edf78a4a3322d2f61ba4b