[INFO] cloning repository https://github.com/kittywitch/aoc2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kittywitch/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkittywitch%2Faoc2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkittywitch%2Faoc2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d21f78b0c29a37e12d8ca0ee5e408f398f1c6d8 [INFO] checking kittywitch/aoc2024 against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkittywitch%2Faoc2024" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kittywitch/aoc2024 on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kittywitch/aoc2024 [INFO] finished tweaking git repo https://github.com/kittywitch/aoc2024 [INFO] tweaked toml for git repo https://github.com/kittywitch/aoc2024 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kittywitch/aoc2024 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db56c1a94efefe8f1170f0281564efe81ade13e464effd86715e0acdd2be08e6 [INFO] running `Command { std: "docker" "start" "-a" "db56c1a94efefe8f1170f0281564efe81ade13e464effd86715e0acdd2be08e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db56c1a94efefe8f1170f0281564efe81ade13e464effd86715e0acdd2be08e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db56c1a94efefe8f1170f0281564efe81ade13e464effd86715e0acdd2be08e6", kill_on_drop: false }` [INFO] [stdout] db56c1a94efefe8f1170f0281564efe81ade13e464effd86715e0acdd2be08e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 006871a893ecb5c5af12ed9f31369e3d7fdc39418c49aa8be915975573bb660c [INFO] running `Command { std: "docker" "start" "-a" "006871a893ecb5c5af12ed9f31369e3d7fdc39418c49aa8be915975573bb660c", kill_on_drop: false }` [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aoc2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/helpers.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/day2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_not`, `take_while`, and `take` [INFO] [stdout] --> src/day3.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::bytes::complete::{take_while,tag,is_not, take}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `preceded`, `terminated`, and `tuple` [INFO] [stdout] --> src/day3.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use nom::sequence::{tuple,preceded,separated_pair,terminated,delimited}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day5.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day6.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day6.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | 'outer: for tile in tiles_set { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day7.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/day8.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/helpers.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/day2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_not`, `take_while`, and `take` [INFO] [stdout] --> src/day3.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::bytes::complete::{take_while,tag,is_not, take}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `preceded`, `terminated`, and `tuple` [INFO] [stdout] --> src/day3.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use nom::sequence::{tuple,preceded,separated_pair,terminated,delimited}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day5.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day6.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day6.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | 'outer: for tile in tiles_set { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day7.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/day8.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_index` [INFO] [stdout] --> src/day2.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let (prev_index, (prev_diff, prev_sign)) = window[0]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day2.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | let failures = result.iter().filter(|(index, res)| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day2.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | result.iter().filter(|(index, res)| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day2.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | let diffs_check = differences.iter().filter(|(index, (diff, sign))| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/day2.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | let diffs_check = differences.iter().filter(|(index, (diff, sign))| [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day2.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | let signs_check = directions.iter().filter(|(index, (diff, sign))| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff` [INFO] [stdout] --> src/day2.rs:50:62 [INFO] [stdout] | [INFO] [stdout] 50 | let signs_check = directions.iter().filter(|(index, (diff, sign))| [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day3.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | map(anychar, |x| None), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day3.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut proper_tag = delimited(tag("mul("), pair, tag(")")); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day3.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | let (input, mult_tuples) = lexer(&input).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_index` [INFO] [stdout] --> src/day2.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let (prev_index, (prev_diff, prev_sign)) = window[0]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day2.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | let failures = result.iter().filter(|(index, res)| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> src/day4.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | for (y,char) in line.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day2.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | result.iter().filter(|(index, res)| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day2.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | let diffs_check = differences.iter().filter(|(index, (diff, sign))| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/day2.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | let diffs_check = differences.iter().filter(|(index, (diff, sign))| [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day2.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | let signs_check = directions.iter().filter(|(index, (diff, sign))| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff` [INFO] [stdout] --> src/day2.rs:50:62 [INFO] [stdout] | [INFO] [stdout] 50 | let signs_check = directions.iter().filter(|(index, (diff, sign))| [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pos` [INFO] [stdout] --> src/day4.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let current_pos = Coordinate { x: x, y: y }; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut result = wordsearcher.begin(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day5.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | for (i, page) in update.clone().into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/day5.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | for (i, page) in update.clone().into_iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day3.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | map(anychar, |x| None), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checkpoint` [INFO] [stdout] --> src/day6.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut checkpoint: (Option, Option) = (direction, player); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day6.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut checkpoint: (Option, Option) = (direction, player); [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/day6.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut tiles = pathing(objects.clone(), matrix_height, matrix_width); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_space` is never read [INFO] [stdout] --> src/day6.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let mut next_space = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_space` is never read [INFO] [stdout] --> src/day6.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let mut next_space = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_obstacles` [INFO] [stdout] --> src/day6.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let current_obstacles: Vec = objects.clone().into_iter().filter_map(|(x, y)| match y.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_obstacles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day3.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut proper_tag = delimited(tag("mul("), pair, tag(")")); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day3.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | let (input, mult_tuples) = lexer(&input).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `antenna_type` [INFO] [stdout] --> src/day8.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | for (antenna_type, locations) in antennas.clone().into_iter() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_antenna_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `distance_x` is never read [INFO] [stdout] --> src/day8.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let mut distance_x: isize = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `distance_y` is never read [INFO] [stdout] --> src/day8.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut distance_y: isize = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> src/day4.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | for (y,char) in line.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pos` [INFO] [stdout] --> src/day4.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let current_pos = Coordinate { x: x, y: y }; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut result = wordsearcher.begin(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day5.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | for (i, page) in update.clone().into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/day5.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | for (i, page) in update.clone().into_iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day6::Coordinate` is more private than the item `pathing2` [INFO] [stdout] --> src/day6.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn pathing2(objects: HashMap, matrix_height: usize, matrix_width: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `pathing2` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day6::Coordinate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day6.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day6::Coordinate` is more private than the item `pathing_loopy` [INFO] [stdout] --> src/day6.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn pathing_loopy(objects: HashMap, matrix_height: usize, matrix_width: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `pathing_loopy` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day6::Coordinate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day6.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day6::Coordinate` is more private than the item `pathing` [INFO] [stdout] --> src/day6.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn pathing(objects: HashMap, matrix_height: usize, matrix_width: usize) -> Vec<(Coordinate, Direction)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `pathing` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day6::Coordinate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day6.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day6::Direction` is more private than the item `pathing` [INFO] [stdout] --> src/day6.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn pathing(objects: HashMap, matrix_height: usize, matrix_width: usize) -> Vec<(Coordinate, Direction)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `pathing` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day6::Direction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day6.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day8::Coordinate` is more private than the item `propagation` [INFO] [stdout] --> src/day8.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn propagation(antennas: HashMap>, matrix_width: usize, matrix_height: usize, propagate: bool) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `propagation` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day8::Coordinate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day8.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `partial` is never read [INFO] [stdout] --> src/day4.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 95 | struct WordSearcher<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | partial: Option<&'a str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iterator` is never used [INFO] [stdout] --> src/day6.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Direction { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 16 | pub fn iterator() -> Iter<'static, Direction> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Divide` and `Subtract` are never constructed [INFO] [stdout] --> src/day7.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Operations { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 9 | Multiply, [INFO] [stdout] 10 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Add, [INFO] [stdout] 12 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operations` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checkpoint` [INFO] [stdout] --> src/day6.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut checkpoint: (Option, Option) = (direction, player); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day6.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut checkpoint: (Option, Option) = (direction, player); [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/day6.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut tiles = pathing(objects.clone(), matrix_height, matrix_width); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_space` is never read [INFO] [stdout] --> src/day6.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let mut next_space = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_space` is never read [INFO] [stdout] --> src/day6.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let mut next_space = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_obstacles` [INFO] [stdout] --> src/day6.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let current_obstacles: Vec = objects.clone().into_iter().filter_map(|(x, y)| match y.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_obstacles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `antenna_type` [INFO] [stdout] --> src/day8.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | for (antenna_type, locations) in antennas.clone().into_iter() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_antenna_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `distance_x` is never read [INFO] [stdout] --> src/day8.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let mut distance_x: isize = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `distance_y` is never read [INFO] [stdout] --> src/day8.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut distance_y: isize = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day6::Coordinate` is more private than the item `pathing2` [INFO] [stdout] --> src/day6.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn pathing2(objects: HashMap, matrix_height: usize, matrix_width: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `pathing2` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day6::Coordinate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day6.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day6::Coordinate` is more private than the item `pathing_loopy` [INFO] [stdout] --> src/day6.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn pathing_loopy(objects: HashMap, matrix_height: usize, matrix_width: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `pathing_loopy` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day6::Coordinate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day6.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day6::Coordinate` is more private than the item `pathing` [INFO] [stdout] --> src/day6.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn pathing(objects: HashMap, matrix_height: usize, matrix_width: usize) -> Vec<(Coordinate, Direction)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `pathing` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day6::Coordinate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day6.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day6::Direction` is more private than the item `pathing` [INFO] [stdout] --> src/day6.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn pathing(objects: HashMap, matrix_height: usize, matrix_width: usize) -> Vec<(Coordinate, Direction)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `pathing` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day6::Direction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day6.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day8::Coordinate` is more private than the item `propagation` [INFO] [stdout] --> src/day8.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn propagation(antennas: HashMap>, matrix_width: usize, matrix_height: usize, propagate: bool) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `propagation` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `day8::Coordinate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day8.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `partial` is never read [INFO] [stdout] --> src/day4.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 95 | struct WordSearcher<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | partial: Option<&'a str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iterator` is never used [INFO] [stdout] --> src/day6.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Direction { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 16 | pub fn iterator() -> Iter<'static, Direction> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Divide` and `Subtract` are never constructed [INFO] [stdout] --> src/day7.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Operations { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 9 | Multiply, [INFO] [stdout] 10 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Add, [INFO] [stdout] 12 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operations` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "006871a893ecb5c5af12ed9f31369e3d7fdc39418c49aa8be915975573bb660c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "006871a893ecb5c5af12ed9f31369e3d7fdc39418c49aa8be915975573bb660c", kill_on_drop: false }` [INFO] [stdout] 006871a893ecb5c5af12ed9f31369e3d7fdc39418c49aa8be915975573bb660c