[INFO] cloning repository https://github.com/hulsizer/advent_of_code_2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hulsizer/advent_of_code_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhulsizer%2Fadvent_of_code_2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhulsizer%2Fadvent_of_code_2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c53914f23c07cb1446c85da270ff0f014e39bc1 [INFO] checking hulsizer/advent_of_code_2020 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhulsizer%2Fadvent_of_code_2020" "/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/hulsizer/advent_of_code_2020 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/hulsizer/advent_of_code_2020 [INFO] finished tweaking git repo https://github.com/hulsizer/advent_of_code_2020 [INFO] tweaked toml for git repo https://github.com/hulsizer/advent_of_code_2020 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hulsizer/advent_of_code_2020 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 syn v1.0.53 [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] 5c3161751ab2611101354cd89e517229ebe5a980e528a314050a8d0130f76dbd [INFO] running `Command { std: "docker" "start" "-a" "5c3161751ab2611101354cd89e517229ebe5a980e528a314050a8d0130f76dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c3161751ab2611101354cd89e517229ebe5a980e528a314050a8d0130f76dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3161751ab2611101354cd89e517229ebe5a980e528a314050a8d0130f76dbd", kill_on_drop: false }` [INFO] [stdout] 5c3161751ab2611101354cd89e517229ebe5a980e528a314050a8d0130f76dbd [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] 79b6e18df4049103c6a73aa049a9a97772972fe5c0e633ab2e94df7916677b10 [INFO] running `Command { std: "docker" "start" "-a" "79b6e18df4049103c6a73aa049a9a97772972fe5c0e633ab2e94df7916677b10", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day6/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/day15/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::clap::value_t` [INFO] [stdout] --> src/day15/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::clap::value_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day6/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/day15/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::clap::value_t` [INFO] [stdout] --> src/day15/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::clap::value_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accumulator` is assigned to, but never used [INFO] [stdout] --> src/day8/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut accumulator: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_accumulator` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `north_south` [INFO] [stdout] --> src/day12/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut north_south = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_north_south` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `east_west` [INFO] [stdout] --> src/day12/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut east_west = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_east_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/day12/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut direction = 'E'; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12/mod.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut north_south = 0; [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/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut east_west = 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/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut direction = 'E'; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day16/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day17/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day18/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day19/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day20/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day21/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day22/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day23/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day24/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day25/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accumulator` is assigned to, but never used [INFO] [stdout] --> src/day8/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut accumulator: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_accumulator` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/../pattern_parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/../pattern_parse.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | I64(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | I64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `f64` and `i64` are never used [INFO] [stdout] --> src/day2/../pattern_parse.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParseValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn f64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn i64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_pt1` is never used [INFO] [stdout] --> src/day7/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn traverse_pt1(lookup: &HashMap::>, used_bags: &mut HashSet:: src/day8/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day9/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day10/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_pt1` is never used [INFO] [stdout] --> src/day10/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn traverse_pt1(lookup: &HashMap::>, current: i64) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day12/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day13/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day14/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | USize(usize), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | USize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `char`, `uSize`, and `f64` are never used [INFO] [stdout] --> src/day14/../pattern_parse.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParseValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn char(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn f64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day15/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uSize` should have a snake case name [INFO] [stdout] --> src/day2/../pattern_parse.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseValues` should have a snake case name [INFO] [stdout] --> src/day2/../pattern_parse.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parseValues: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parse_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uSize` should have a snake case name [INFO] [stdout] --> src/day14/../pattern_parse.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseValues` should have a snake case name [INFO] [stdout] --> src/day14/../pattern_parse.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parseValues: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parse_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `north_south` [INFO] [stdout] --> src/day12/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut north_south = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_north_south` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `east_west` [INFO] [stdout] --> src/day12/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut east_west = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_east_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/day12/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut direction = 'E'; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12/mod.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut north_south = 0; [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/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut east_west = 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/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut direction = 'E'; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day16/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day17/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day18/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day19/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day20/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day21/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day22/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day23/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day24/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day25/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/../pattern_parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/../pattern_parse.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | I64(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | I64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `f64` and `i64` are never used [INFO] [stdout] --> src/day2/../pattern_parse.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParseValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn f64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn i64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_pt1` is never used [INFO] [stdout] --> src/day7/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn traverse_pt1(lookup: &HashMap::>, used_bags: &mut HashSet:: src/day8/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day9/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day10/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_pt1` is never used [INFO] [stdout] --> src/day10/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn traverse_pt1(lookup: &HashMap::>, current: i64) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day12/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day13/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day14/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | USize(usize), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | USize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `char`, `uSize`, and `f64` are never used [INFO] [stdout] --> src/day14/../pattern_parse.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParseValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn char(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn f64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day15/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uSize` should have a snake case name [INFO] [stdout] --> src/day2/../pattern_parse.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseValues` should have a snake case name [INFO] [stdout] --> src/day2/../pattern_parse.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parseValues: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parse_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uSize` should have a snake case name [INFO] [stdout] --> src/day14/../pattern_parse.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseValues` should have a snake case name [INFO] [stdout] --> src/day14/../pattern_parse.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parseValues: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parse_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.37s [INFO] running `Command { std: "docker" "inspect" "79b6e18df4049103c6a73aa049a9a97772972fe5c0e633ab2e94df7916677b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b6e18df4049103c6a73aa049a9a97772972fe5c0e633ab2e94df7916677b10", kill_on_drop: false }` [INFO] [stdout] 79b6e18df4049103c6a73aa049a9a97772972fe5c0e633ab2e94df7916677b10 [INFO] checking hulsizer/advent_of_code_2020 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhulsizer%2Fadvent_of_code_2020" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hulsizer/advent_of_code_2020 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hulsizer/advent_of_code_2020 [INFO] finished tweaking git repo https://github.com/hulsizer/advent_of_code_2020 [INFO] tweaked toml for git repo https://github.com/hulsizer/advent_of_code_2020 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hulsizer/advent_of_code_2020 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50105331207b74aa674591ef70a095019988575a45f1244e5828d7c64275c8b4 [INFO] running `Command { std: "docker" "start" "-a" "50105331207b74aa674591ef70a095019988575a45f1244e5828d7c64275c8b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50105331207b74aa674591ef70a095019988575a45f1244e5828d7c64275c8b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50105331207b74aa674591ef70a095019988575a45f1244e5828d7c64275c8b4", kill_on_drop: false }` [INFO] [stdout] 50105331207b74aa674591ef70a095019988575a45f1244e5828d7c64275c8b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11420ff99ebbd7494fceb1e8b4d01acf3f836b1b4c0e69860675e45b9693cd0b [INFO] running `Command { std: "docker" "start" "-a" "11420ff99ebbd7494fceb1e8b4d01acf3f836b1b4c0e69860675e45b9693cd0b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day6/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day6/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/day15/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::clap::value_t` [INFO] [stdout] --> src/day15/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::clap::value_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/day15/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::clap::value_t` [INFO] [stdout] --> src/day15/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::clap::value_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accumulator` is assigned to, but never used [INFO] [stdout] --> src/day8/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut accumulator: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_accumulator` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accumulator` is assigned to, but never used [INFO] [stdout] --> src/day8/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut accumulator: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_accumulator` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `north_south` [INFO] [stdout] --> src/day12/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut north_south = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_north_south` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `north_south` [INFO] [stdout] --> src/day12/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut north_south = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_north_south` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `east_west` [INFO] [stdout] --> src/day12/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut east_west = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_east_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/day12/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut direction = 'E'; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12/mod.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut north_south = 0; [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: `east_west` [INFO] [stdout] --> src/day12/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut east_west = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_east_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/day12/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut direction = 'E'; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12/mod.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut north_south = 0; [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/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut east_west = 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/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut direction = 'E'; [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/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut east_west = 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/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut direction = 'E'; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day16/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day16/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day17/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day18/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day19/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day20/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day21/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day22/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day23/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day24/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day25/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/../pattern_parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day17/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day18/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day19/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day20/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day21/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day22/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day23/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day24/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day25/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run(input: std::string::String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/../pattern_parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/../pattern_parse.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | I64(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | I64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `f64` and `i64` are never used [INFO] [stdout] --> src/day2/../pattern_parse.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParseValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn f64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn i64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_pt1` is never used [INFO] [stdout] --> src/day7/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn traverse_pt1(lookup: &HashMap::>, used_bags: &mut HashSet:: src/day8/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day9/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day10/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_pt1` is never used [INFO] [stdout] --> src/day10/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn traverse_pt1(lookup: &HashMap::>, current: i64) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day12/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day13/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day14/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | USize(usize), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | USize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `char`, `uSize`, and `f64` are never used [INFO] [stdout] --> src/day14/../pattern_parse.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParseValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn char(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn f64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day15/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uSize` should have a snake case name [INFO] [stdout] --> src/day2/../pattern_parse.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/../pattern_parse.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | I64(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | I64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseValues` should have a snake case name [INFO] [stdout] --> src/day2/../pattern_parse.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parseValues: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parse_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `f64` and `i64` are never used [INFO] [stdout] --> src/day2/../pattern_parse.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParseValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn f64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn i64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uSize` should have a snake case name [INFO] [stdout] --> src/day14/../pattern_parse.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_pt1` is never used [INFO] [stdout] --> src/day7/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn traverse_pt1(lookup: &HashMap::>, used_bags: &mut HashSet:: src/day8/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day9/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day10/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn pt1(input: std::string::String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_pt1` is never used [INFO] [stdout] --> src/day10/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn traverse_pt1(lookup: &HashMap::>, current: i64) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day12/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day13/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day14/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | USize(usize), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | USize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day14/../pattern_parse.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `char`, `uSize`, and `f64` are never used [INFO] [stdout] --> src/day14/../pattern_parse.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParseValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn char(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn f64(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1` is never used [INFO] [stdout] --> src/day15/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn pt1(input: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uSize` should have a snake case name [INFO] [stdout] --> src/day2/../pattern_parse.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseValues` should have a snake case name [INFO] [stdout] --> src/day2/../pattern_parse.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parseValues: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parse_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseValues` should have a snake case name [INFO] [stdout] --> src/day14/../pattern_parse.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parseValues: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parse_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uSize` should have a snake case name [INFO] [stdout] --> src/day14/../pattern_parse.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn uSize(&self) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parseValues` should have a snake case name [INFO] [stdout] --> src/day14/../pattern_parse.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parseValues: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `parse_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.41s [INFO] running `Command { std: "docker" "inspect" "11420ff99ebbd7494fceb1e8b4d01acf3f836b1b4c0e69860675e45b9693cd0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11420ff99ebbd7494fceb1e8b4d01acf3f836b1b4c0e69860675e45b9693cd0b", kill_on_drop: false }` [INFO] [stdout] 11420ff99ebbd7494fceb1e8b4d01acf3f836b1b4c0e69860675e45b9693cd0b