[INFO] cloning repository https://github.com/sa35577/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/sa35577/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsa35577%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsa35577%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ebb611986e89f09df4154048bf998553540f681a [INFO] checking sa35577/advent-of-code-2024 against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsa35577%2Fadvent-of-code-2024" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sa35577/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/sa35577/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/sa35577/advent-of-code-2024 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sa35577/advent-of-code-2024 on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sa35577/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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queues v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7159f40c6062c781e47ff312e6d194442e87ff6deeca17cff673e7c8cf9b4b01 [INFO] running `Command { std: "docker" "start" "-a" "7159f40c6062c781e47ff312e6d194442e87ff6deeca17cff673e7c8cf9b4b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7159f40c6062c781e47ff312e6d194442e87ff6deeca17cff673e7c8cf9b4b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7159f40c6062c781e47ff312e6d194442e87ff6deeca17cff673e7c8cf9b4b01", kill_on_drop: false }` [INFO] [stdout] 7159f40c6062c781e47ff312e6d194442e87ff6deeca17cff673e7c8cf9b4b01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e758858d39039bb9c1d73fc19df4d693aad63bd16a8cfdd61003e8fb76cf8e4 [INFO] running `Command { std: "docker" "start" "-a" "2e758858d39039bb9c1d73fc19df4d693aad63bd16a8cfdd61003e8fb76cf8e4", kill_on_drop: false }` [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `num_boxes` is never read [INFO] [stdout] --> src/bin/day15p1.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | num_boxes = num_boxes; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin/day15p1.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | num_boxes = num_boxes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `globalBest` should have a snake case name [INFO] [stdout] --> src/bin/day22p2.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut globalBest: HashMap<(i32, i32, i32, i32), i32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `global_best` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seenSet` should have a snake case name [INFO] [stdout] --> src/bin/day22p2.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut seenSet: HashSet<(i32, i32, i32, i32)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `seen_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/bin/day17p2.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `grid` is never read [INFO] [stdout] --> src/bin/day18p2.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut grid: Vec> = vec![vec![100000; 71]; 71]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allCoords` should have a snake case name [INFO] [stdout] --> src/bin/day18p2.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut allCoords: Vec<(usize, usize)> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_coords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/day17p2.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 90 | break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 95 | ip += 2; [INFO] [stdout] | ^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aa` [INFO] [stdout] --> src/bin/day17p2.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | for aa in 0..1 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_aa` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `valid` is assigned to, but never used [INFO] [stdout] --> src/bin/day17p2.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut valid: bool = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_valid` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | valid = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | valid = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | valid = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | valid=false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | valid=false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | valid=false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPossibles` should have a snake case name [INFO] [stdout] --> src/bin/day17p2.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut newPossibles: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_possibles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:222:20 [INFO] [stdout] | [INFO] [stdout] 222 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bin/day24p2.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let data: Vec<&str> = lines[line_idx].split(": ").collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [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 `num_boxes` is never read [INFO] [stdout] --> src/bin/day15p1.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | num_boxes = num_boxes; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> src/bin/day24p1.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fs, result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `localtot` is never read [INFO] [stdout] --> src/bin/day21p2.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut localtot: u128 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day21p2.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | for i in 0..sy-ey { [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/day21p2.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | for i in 0..ey-sy { [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/day21p2.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | for i in 0..ex-sx { [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/day21p2.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | for i in 0..sx-ex { [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/day21p2.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | for i in 0..ex-sx { [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/day21p2.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | for i in 0..sx-ex { [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/day21p2.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | for i in 0..sy-ey { [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/day21p2.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | for i in 0..ey-sy { [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/day21p2.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | for i in 0..ey-sy { [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/day21p2.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | for i in 0..sy-ey { [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/day21p2.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | for i in 0..ex-sx { [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/day21p2.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | for i in 0..sx-ex { [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/day21p2.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | for i in 0..ey-sy { [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/day21p2.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | for i in 0..sy-ey { [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/day21p2.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | ... for i in 0..ex-sx { [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/day21p2.rs:257:33 [INFO] [stdout] | [INFO] [stdout] 257 | ... for i in 0..sx-ex { [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/day21p2.rs:263:33 [INFO] [stdout] | [INFO] [stdout] 263 | ... for i in 0..sy-ey { [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/day21p2.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | ... for i in 0..ey-sy { [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/day21p2.rs:278:33 [INFO] [stdout] | [INFO] [stdout] 278 | ... for i in 0..sy-ey { [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/day21p2.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | ... for i in 0..ey-sy { [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/day21p2.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | ... for i in 0..ex-sx { [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/day21p2.rs:296:33 [INFO] [stdout] | [INFO] [stdout] 296 | ... for i in 0..sx-ex { [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/day21p2.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | ... for i in 0..ey-sy { [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/day21p2.rs:313:37 [INFO] [stdout] | [INFO] [stdout] 313 | ... for i in 0..sy-ey { [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/day21p2.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | ... for i in 0..ex-sx { [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/day21p2.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | ... for i in 0..sx-ex { [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/day21p2.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | ... for i in 0..ey-sy { [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/day21p2.rs:334:37 [INFO] [stdout] | [INFO] [stdout] 334 | ... for i in 0..sy-ey { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cnt` is assigned to, but never used [INFO] [stdout] --> src/bin/day24p1.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut cnt = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cnt` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `robotPositions` should have a snake case name [INFO] [stdout] --> src/bin/day21p2.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut robotPositions: Vec<(usize, usize)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `robot_positions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseVal` should have a snake case name [INFO] [stdout] --> src/bin/day21p2.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | let mut parseVal: u128 = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `parse_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day9p2.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cnt` is assigned to, but never used [INFO] [stdout] --> src/bin/day9p2.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cnt = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cnt` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day15p2.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day6p2.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day14p2.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | for i in 0..5 { println!("") } [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6p2.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut contents: Vec<&str> = f.split("\n").collect(); [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: `i` [INFO] [stdout] --> src/bin/day21p1.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for i in 0..sx-ex { [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/day21p1.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | for i in 0..ey-sy { [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/day21p1.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..ex-sx { [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/day21p1.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | for i in 0..sy-ey { [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/day21p1.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | for i in 0..sx-ex { [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/day21p1.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | for i in 0..ey-sy { [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/day21p1.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | for i in 0..ex-sx { [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/day21p1.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | for i in 0..ey-sy { [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/day21p1.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | for i in 0..sy-ey { [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/day21p1.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | for i in 0..sx-ex { [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/day21p1.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | for i in 0..ex-sx { [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/day21p1.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | for i in 0..ey-sy { [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/day21p1.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | for i in 0..sy-ey { [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/day21p1.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | for i in 0..sx-ex { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/bin/day17p2.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `robotPositions` should have a snake case name [INFO] [stdout] --> src/bin/day21p1.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut robotPositions: Vec<(usize, usize)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `robot_positions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `doLeftFirst` should have a snake case name [INFO] [stdout] --> src/bin/day21p1.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut doLeftFirst = true; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `do_left_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `doDownFirst` should have a snake case name [INFO] [stdout] --> src/bin/day21p1.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let mut doDownFirst = true; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `do_down_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseVal` should have a snake case name [INFO] [stdout] --> src/bin/day21p1.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | let mut parseVal = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `parse_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `u32` to itself [INFO] [stdout] --> src/bin/day12p1.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | perimeter = perimeter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `u32` to itself [INFO] [stdout] --> src/bin/day12p1.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | perimeter = perimeter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/day17p2.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 90 | break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 95 | ip += 2; [INFO] [stdout] | ^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `u32` to itself [INFO] [stdout] --> src/bin/day12p1.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | perimeter = perimeter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `u32` to itself [INFO] [stdout] --> src/bin/day12p1.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | perimeter = perimeter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> src/bin/day24p1.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fs, result}; [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: `aa` [INFO] [stdout] --> src/bin/day17p2.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | for aa in 0..1 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_aa` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/bin/day16p1.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut minDist: HashMap<(char, usize, usize), u32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `valid` is assigned to, but never used [INFO] [stdout] --> src/bin/day17p2.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut valid: bool = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_valid` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | valid = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | valid = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | valid = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | valid=false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | valid=false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `valid` is never read [INFO] [stdout] --> src/bin/day17p2.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | valid=false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_boxes` is never read [INFO] [stdout] --> src/bin/day15p2.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | num_boxes = num_boxes; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_boxes` is never read [INFO] [stdout] --> src/bin/day15p2.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | num_boxes = num_boxes; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin/day15p2.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | num_boxes = num_boxes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin/day15p2.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | num_boxes = num_boxes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sy` is assigned to, but never used [INFO] [stdout] --> src/bin/day20p1.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sy, mut sx) = (0,0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sy` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sx` is assigned to, but never used [INFO] [stdout] --> src/bin/day20p1.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sy, mut sx) = (0,0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sy` is never read [INFO] [stdout] --> src/bin/day20p1.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | sy = i; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sx` is never read [INFO] [stdout] --> src/bin/day20p1.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | sx = j; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cnt` is assigned to, but never used [INFO] [stdout] --> src/bin/day24p1.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut cnt = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cnt` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `grid` is never read [INFO] [stdout] --> src/bin/day18p2.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut grid: Vec> = vec![vec![100000; 71]; 71]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPossibles` should have a snake case name [INFO] [stdout] --> src/bin/day17p2.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut newPossibles: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_possibles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:222:20 [INFO] [stdout] | [INFO] [stdout] 222 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bin/day17p2.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | if r >= 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/bin/day20p1.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut minDist: HashMap<(usize, usize), u32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allCoords` should have a snake case name [INFO] [stdout] --> src/bin/day18p2.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut allCoords: Vec<(usize, usize)> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_coords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `localtot` is never read [INFO] [stdout] --> src/bin/day21p2.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut localtot: u128 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day21p2.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | for i in 0..sy-ey { [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/day21p2.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | for i in 0..ey-sy { [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/day21p2.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | for i in 0..ex-sx { [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/day21p2.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | for i in 0..sx-ex { [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/day21p2.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | for i in 0..ex-sx { [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/day21p2.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | for i in 0..sx-ex { [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/day21p2.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | for i in 0..sy-ey { [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/day21p2.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | for i in 0..ey-sy { [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/day21p2.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | for i in 0..ey-sy { [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/day21p2.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | for i in 0..sy-ey { [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/day21p2.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | for i in 0..ex-sx { [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/day21p2.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | for i in 0..sx-ex { [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/day21p2.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | for i in 0..ey-sy { [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/day21p2.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | for i in 0..sy-ey { [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/day21p2.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | ... for i in 0..ex-sx { [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/day21p2.rs:257:33 [INFO] [stdout] | [INFO] [stdout] 257 | ... for i in 0..sx-ex { [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/day21p2.rs:263:33 [INFO] [stdout] | [INFO] [stdout] 263 | ... for i in 0..sy-ey { [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/day21p2.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | ... for i in 0..ey-sy { [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/day21p2.rs:278:33 [INFO] [stdout] | [INFO] [stdout] 278 | ... for i in 0..sy-ey { [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/day21p2.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | ... for i in 0..ey-sy { [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/day21p2.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | ... for i in 0..ex-sx { [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/day21p2.rs:296:33 [INFO] [stdout] | [INFO] [stdout] 296 | ... for i in 0..sx-ex { [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/day21p2.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | ... for i in 0..ey-sy { [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/day21p2.rs:313:37 [INFO] [stdout] | [INFO] [stdout] 313 | ... for i in 0..sy-ey { [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/day21p2.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | ... for i in 0..ex-sx { [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/day21p2.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | ... for i in 0..sx-ex { [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/day21p2.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | ... for i in 0..ey-sy { [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/day21p2.rs:334:37 [INFO] [stdout] | [INFO] [stdout] 334 | ... for i in 0..sy-ey { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `robotPositions` should have a snake case name [INFO] [stdout] --> src/bin/day21p2.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut robotPositions: Vec<(usize, usize)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `robot_positions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseVal` should have a snake case name [INFO] [stdout] --> src/bin/day21p2.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | let mut parseVal: u128 = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `parse_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day9p2.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cnt` is assigned to, but never used [INFO] [stdout] --> src/bin/day9p2.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cnt = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cnt` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/bin/day16p2.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut minDist: HashMap<(char, usize, usize), u32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `goodCoordiantes` should have a snake case name [INFO] [stdout] --> src/bin/day16p2.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut goodCoordiantes: HashSet<(usize, usize)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `good_coordiantes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `groupMap` should have a snake case name [INFO] [stdout] --> src/bin/day12p2.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut groupMap: HashMap<(usize, usize), usize> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `group_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day15p2.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_boxes` is never read [INFO] [stdout] --> src/bin/day15p2.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | num_boxes = num_boxes; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_boxes` is never read [INFO] [stdout] --> src/bin/day15p2.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | num_boxes = num_boxes; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sy` is assigned to, but never used [INFO] [stdout] --> src/bin/day20p2.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sy, mut sx) = (0,0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sy` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sx` is assigned to, but never used [INFO] [stdout] --> src/bin/day20p2.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sy, mut sx) = (0,0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sy` is never read [INFO] [stdout] --> src/bin/day20p2.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | sy = i; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sx` is never read [INFO] [stdout] --> src/bin/day20p2.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | sx = j; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/bin/day20p2.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut minDist: HashMap<(usize, usize), u32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day6p1.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day25p1.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut line_end = line_ptr + 6; [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: `i` [INFO] [stdout] --> src/bin/day21p1.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for i in 0..sx-ex { [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/day21p1.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | for i in 0..ey-sy { [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/day21p1.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..ex-sx { [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/day21p1.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | for i in 0..sy-ey { [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/day21p1.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | for i in 0..sx-ex { [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/day21p1.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | for i in 0..ey-sy { [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/day21p1.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | for i in 0..ex-sx { [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/day21p1.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | for i in 0..ey-sy { [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/day21p1.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | for i in 0..sy-ey { [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/day21p1.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | for i in 0..sx-ex { [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/day21p1.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | for i in 0..ex-sx { [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/day21p1.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | for i in 0..ey-sy { [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/day21p1.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | for i in 0..sy-ey { [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/day21p1.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | for i in 0..sx-ex { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `groupMap` should have a snake case name [INFO] [stdout] --> src/bin/day12p2.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut groupMap: HashMap<(usize, usize), usize> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `group_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/bin/day16p2.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut minDist: HashMap<(char, usize, usize), u32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `goodCoordiantes` should have a snake case name [INFO] [stdout] --> src/bin/day16p2.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut goodCoordiantes: HashSet<(usize, usize)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `good_coordiantes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sy` is assigned to, but never used [INFO] [stdout] --> src/bin/day20p1.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sy, mut sx) = (0,0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sy` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sx` is assigned to, but never used [INFO] [stdout] --> src/bin/day20p1.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sy, mut sx) = (0,0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sy` is never read [INFO] [stdout] --> src/bin/day20p1.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | sy = i; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sx` is never read [INFO] [stdout] --> src/bin/day20p1.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | sx = j; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/bin/day20p1.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut minDist: HashMap<(usize, usize), u32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `robotPositions` should have a snake case name [INFO] [stdout] --> src/bin/day21p1.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut robotPositions: Vec<(usize, usize)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `robot_positions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `doLeftFirst` should have a snake case name [INFO] [stdout] --> src/bin/day21p1.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut doLeftFirst = true; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `do_left_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `doDownFirst` should have a snake case name [INFO] [stdout] --> src/bin/day21p1.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let mut doDownFirst = true; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `do_down_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseVal` should have a snake case name [INFO] [stdout] --> src/bin/day21p1.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | let mut parseVal = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `parse_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day6p2.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6p2.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut contents: Vec<&str> = f.split("\n").collect(); [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: `i` [INFO] [stdout] --> src/bin/day14p2.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | for i in 0..5 { println!("") } [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day25p1.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut line_end = line_ptr + 6; [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: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/day6p1.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `globalBest` should have a snake case name [INFO] [stdout] --> src/bin/day22p2.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut globalBest: HashMap<(i32, i32, i32, i32), i32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `global_best` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seenSet` should have a snake case name [INFO] [stdout] --> src/bin/day22p2.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut seenSet: HashSet<(i32, i32, i32, i32)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `seen_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sy` is assigned to, but never used [INFO] [stdout] --> src/bin/day20p2.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sy, mut sx) = (0,0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sy` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sx` is assigned to, but never used [INFO] [stdout] --> src/bin/day20p2.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut sy, mut sx) = (0,0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sy` is never read [INFO] [stdout] --> src/bin/day20p2.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | sy = i; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sx` is never read [INFO] [stdout] --> src/bin/day20p2.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | sx = j; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bin/day24p2.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let data: Vec<&str> = lines[line_idx].split(": ").collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/bin/day20p2.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut minDist: HashMap<(usize, usize), u32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/bin/day16p1.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut minDist: HashMap<(char, usize, usize), u32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "2e758858d39039bb9c1d73fc19df4d693aad63bd16a8cfdd61003e8fb76cf8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e758858d39039bb9c1d73fc19df4d693aad63bd16a8cfdd61003e8fb76cf8e4", kill_on_drop: false }` [INFO] [stdout] 2e758858d39039bb9c1d73fc19df4d693aad63bd16a8cfdd61003e8fb76cf8e4