[INFO] cloning repository https://github.com/Tryum/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/Tryum/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTryum%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTryum%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e33d08e9be7ebe69c28a4ef9524f45ed45bf6b6c [INFO] checking Tryum/advent-of-code-2023 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTryum%2Fadvent-of-code-2023" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tryum/advent-of-code-2023 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tryum/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/Tryum/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/Tryum/advent-of-code-2023 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tryum/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded priority-queue v1.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1d44052ad0c43bf0a77c123611670bcf86416e76e982ff82dcde561479e80df [INFO] running `Command { std: "docker" "start" "-a" "a1d44052ad0c43bf0a77c123611670bcf86416e76e982ff82dcde561479e80df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1d44052ad0c43bf0a77c123611670bcf86416e76e982ff82dcde561479e80df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d44052ad0c43bf0a77c123611670bcf86416e76e982ff82dcde561479e80df", kill_on_drop: false }` [INFO] [stdout] a1d44052ad0c43bf0a77c123611670bcf86416e76e982ff82dcde561479e80df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23e53ea7f25167adf3c9a79b05c37452a17ff8bd0441f2764ef0aaf87be06b04 [INFO] running `Command { std: "docker" "start" "-a" "23e53ea7f25167adf3c9a79b05c37452a17ff8bd0441f2764ef0aaf87be06b04", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rustix v0.38.26 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.16 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking rayon-core v1.12.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `solve_day14_part1`, `solve_day14_part2`, `solve_day8_part1`, `solve_day8_part2` [INFO] [stdout] --> src/main.rs:5:270 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{solve_day8_part1, solve_day8_part2}, day13::{solve_day13_part1, solve_day13_part2}, day14::{solve_day14_part1, solve_day14_part2}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/day8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/day8.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::RemAssign` [INFO] [stdout] --> src/day12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::RemAssign; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::text_to_string_vec` [INFO] [stdout] --> src/day12.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use advent_of_code_2023::text_to_string_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::control` [INFO] [stdout] --> src/day12.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::control; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `mem`, `self` [INFO] [stdout] --> src/day14.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, io::{self, Write}}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::text_to_string_vec` [INFO] [stdout] --> src/day14.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use advent_of_code_2023::text_to_string_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `colored` is imported redundantly [INFO] [stdout] --> src/day14.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::{self, Colorize}; [INFO] [stdout] | ^^^^ the item `colored` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::text_to_string_vec` [INFO] [stdout] --> src/day15.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use advent_of_code_2023::text_to_string_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VecDeque`, `arch::x86_64::_CMP_NEQ_OS`, `io` [INFO] [stdout] --> src/day17.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{VecDeque, HashMap}, arch::x86_64::_CMP_NEQ_OS, io}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PriorityQueue` [INFO] [stdout] --> src/day17.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use priority_queue::{PriorityQueue, DoublePriorityQueue}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `cell::Cell` [INFO] [stdout] --> src/day18.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashSet, HashMap}, cell::Cell}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage`, `GrayImage`, `ImageBuffer`, `Luma`, `RgbImage`, `Rgb` [INFO] [stdout] --> src/day18.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{GrayImage, ImageBuffer, GenericImage, Luma, RgbImage, Rgb}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub`, `process::id` [INFO] [stdout] --> src/day19.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{process::id, collections::HashMap, ops::{Sub, Add}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `solve_day14_part1`, `solve_day14_part2`, `solve_day8_part1`, `solve_day8_part2` [INFO] [stdout] --> src/main.rs:5:270 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{solve_day8_part1, solve_day8_part2}, day13::{solve_day13_part1, solve_day13_part2}, day14::{solve_day14_part1, solve_day14_part2}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/day8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/day8.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::RemAssign` [INFO] [stdout] --> src/day12.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::RemAssign; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::text_to_string_vec` [INFO] [stdout] --> src/day12.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use advent_of_code_2023::text_to_string_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::control` [INFO] [stdout] --> src/day12.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::control; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `mem`, `self` [INFO] [stdout] --> src/day14.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, io::{self, Write}}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::text_to_string_vec` [INFO] [stdout] --> src/day14.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use advent_of_code_2023::text_to_string_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `colored` is imported redundantly [INFO] [stdout] --> src/day14.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::{self, Colorize}; [INFO] [stdout] | ^^^^ the item `colored` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::text_to_string_vec` [INFO] [stdout] --> src/day15.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use advent_of_code_2023::text_to_string_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VecDeque`, `arch::x86_64::_CMP_NEQ_OS`, `io` [INFO] [stdout] --> src/day17.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{VecDeque, HashMap}, arch::x86_64::_CMP_NEQ_OS, io}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PriorityQueue` [INFO] [stdout] --> src/day17.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use priority_queue::{PriorityQueue, DoublePriorityQueue}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `cell::Cell` [INFO] [stdout] --> src/day18.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashSet, HashMap}, cell::Cell}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage`, `GrayImage`, `ImageBuffer`, `Luma`, `RgbImage`, `Rgb` [INFO] [stdout] --> src/day18.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{GrayImage, ImageBuffer, GenericImage, Luma, RgbImage, Rgb}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub`, `process::id` [INFO] [stdout] --> src/day19.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{process::id, collections::HashMap, ops::{Sub, Add}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_cycle` [INFO] [stdout] --> src/day8.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let node_cycle = cycle[j].entry(&node).or_default(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_cycle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/day12.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/day12.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let format = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day12.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | for i in binary.len()..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_index` [INFO] [stdout] --> src/day12.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let mut prev_index = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_char` [INFO] [stdout] --> src/day12.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut prev_char = input.chars().nth(0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day12.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | for (i, c) in input.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day12.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | for (i, c) in input.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let mut result = Vec::new(); [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/day12.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut prev_index = 0; [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/day12.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let mut prev_char = input.chars().nth(0); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/day12.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | let (pattern, rules) = parse_input(input); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/day12.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let (pattern, rules) = parse_input(input); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day14.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/day14.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut buffer = String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day14.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut buffer = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/day15.rs:22:73 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(entry_index) = lense_box.iter().position(|(key, value)| *key == label) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/day15.rs:29:73 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(entry_index) = lense_box.iter().position(|(key, value)| *key == label) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day17.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut result = u32::MAX; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/day18.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let width = (map_max.x+1-map_min.x) as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/day18.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let height = (map_max.y+1-map_min.y) as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/day18.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let surface = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day18.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut area = shoe_lace(&poly); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/day18.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let width = (map_max.x+1-map_min.x) as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/day18.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let height = (map_max.y+1-map_min.y) as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/day18.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let surface = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day18.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut area = shoe_lace(&poly); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let content = fs::read_to_string("./data/day8.txt").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let content = fs::read_to_string("./data/day14.txt").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_day8_part1` is never used [INFO] [stdout] --> src/day8.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve_day8_part1(input: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_day8_part2` is never used [INFO] [stdout] --> src/day8.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn solve_day8_part2(input: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_node` is never used [INFO] [stdout] --> src/day8.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn parse_node(input: &str) -> (&str, &str, &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_day12_part2` is never used [INFO] [stdout] --> src/day12.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn solve_day12_part2(input: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_arrangement_count` is never used [INFO] [stdout] --> src/day12.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_arrangement_count(input: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_patterns` is never used [INFO] [stdout] --> src/day12.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn generate_patterns(size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_pattern` is never used [INFO] [stdout] --> src/day12.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn validate_pattern(control: &str, pattern: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unfold_record` is never used [INFO] [stdout] --> src/day12.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn unfold_record(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GroupType` is never used [INFO] [stdout] --> src/day12.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 165 | enum GroupType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/day12.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | struct Group<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_groups` is never used [INFO] [stdout] --> src/day12.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn split_groups(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_combination` is never used [INFO] [stdout] --> src/day12.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn find_combination(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_day14_part1` is never used [INFO] [stdout] --> src/day14.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve_day14_part1(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_day14_part2` is never used [INFO] [stdout] --> src/day14.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn solve_day14_part2(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbg_rocks` is never used [INFO] [stdout] --> src/day14.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn dbg_rocks(rocks:& Vec>, i: usize, j: usize, k: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_u8_vec_vec` is never used [INFO] [stdout] --> src/day14.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn str_to_u8_vec_vec(input: &str) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tilt_rocks` is never used [INFO] [stdout] --> src/day14.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn tilt_rocks(input: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u8_vec_vec_to_string_vec` is never used [INFO] [stdout] --> src/day14.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn u8_vec_vec_to_string_vec(input: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_rocks` is never used [INFO] [stdout] --> src/day14.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn rotate_rocks(input: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_day17` is never used [INFO] [stdout] --> src/day17.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn debug_day17(map: &Vec>, pos: &Position) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Inside` and `Outside` are never constructed [INFO] [stdout] --> src/day18.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum CellType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 8 | InWall, [INFO] [stdout] 9 | Inside, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Outside [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_cycle` [INFO] [stdout] --> src/day8.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let node_cycle = cycle[j].entry(&node).or_default(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_cycle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/day12.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/day12.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let format = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day12.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | for i in binary.len()..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_index` [INFO] [stdout] --> src/day12.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let mut prev_index = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_char` [INFO] [stdout] --> src/day12.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut prev_char = input.chars().nth(0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day12.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | for (i, c) in input.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day12.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | for (i, c) in input.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let mut result = Vec::new(); [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/day12.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut prev_index = 0; [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/day12.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let mut prev_char = input.chars().nth(0); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/day12.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | let (pattern, rules) = parse_input(input); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/day12.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let (pattern, rules) = parse_input(input); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day14.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/day14.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut buffer = String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day14.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut buffer = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/day15.rs:22:73 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(entry_index) = lense_box.iter().position(|(key, value)| *key == label) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/day15.rs:29:73 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(entry_index) = lense_box.iter().position(|(key, value)| *key == label) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day17.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut result = u32::MAX; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/day18.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let width = (map_max.x+1-map_min.x) as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/day18.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let height = (map_max.y+1-map_min.y) as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/day18.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let surface = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day18.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut area = shoe_lace(&poly); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/day18.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let width = (map_max.x+1-map_min.x) as usize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/day18.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let height = (map_max.y+1-map_min.y) as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/day18.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let surface = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day18.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut area = shoe_lace(&poly); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let content = fs::read_to_string("./data/day8.txt").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let content = fs::read_to_string("./data/day14.txt").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GroupType` is never used [INFO] [stdout] --> src/day12.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 165 | enum GroupType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/day12.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | struct Group<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_groups` is never used [INFO] [stdout] --> src/day12.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn split_groups(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbg_rocks` is never used [INFO] [stdout] --> src/day14.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn dbg_rocks(rocks:& Vec>, i: usize, j: usize, k: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_day17` is never used [INFO] [stdout] --> src/day17.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn debug_day17(map: &Vec>, pos: &Position) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Inside` and `Outside` are never constructed [INFO] [stdout] --> src/day18.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum CellType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 8 | InWall, [INFO] [stdout] 9 | Inside, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Outside [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_MinMax_diff` should have a snake case name [INFO] [stdout] --> src/day19.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | fn test_MinMax_diff() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_min_max_diff` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.45s [INFO] running `Command { std: "docker" "inspect" "23e53ea7f25167adf3c9a79b05c37452a17ff8bd0441f2764ef0aaf87be06b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e53ea7f25167adf3c9a79b05c37452a17ff8bd0441f2764ef0aaf87be06b04", kill_on_drop: false }` [INFO] [stdout] 23e53ea7f25167adf3c9a79b05c37452a17ff8bd0441f2764ef0aaf87be06b04