[INFO] cloning repository https://github.com/dkimbel/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/dkimbel/Advent-of-Code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkimbel%2FAdvent-of-Code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkimbel%2FAdvent-of-Code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d63d1177538fcdcc6e9d5cacdda29d58a3ec93d4 [INFO] checking dkimbel/Advent-of-Code-2020 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkimbel%2FAdvent-of-Code-2020" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dkimbel/Advent-of-Code-2020 [INFO] finished tweaking git repo https://github.com/dkimbel/Advent-of-Code-2020 [INFO] tweaked toml for git repo https://github.com/dkimbel/Advent-of-Code-2020 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dkimbel/Advent-of-Code-2020 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dkimbel/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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa5565d86538cb731d47b3488ad5aa5ba3d33fce8efc9b155ed14d405cceca81 [INFO] running `Command { std: "docker" "start" "-a" "fa5565d86538cb731d47b3488ad5aa5ba3d33fce8efc9b155ed14d405cceca81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa5565d86538cb731d47b3488ad5aa5ba3d33fce8efc9b155ed14d405cceca81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa5565d86538cb731d47b3488ad5aa5ba3d33fce8efc9b155ed14d405cceca81", kill_on_drop: false }` [INFO] [stdout] fa5565d86538cb731d47b3488ad5aa5ba3d33fce8efc9b155ed14d405cceca81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 626ad14a799f3ed2abe143b121b5ecb8cda827142966721b5e4e715874f794aa [INFO] running `Command { std: "docker" "start" "-a" "626ad14a799f3ed2abe143b121b5ecb8cda827142966721b5e4e715874f794aa", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking advent2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `INPUT_FILE_PATH` is never used [INFO] [stdout] --> src/day1.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const INPUT_FILE_PATH: &str = "src/day1/puzzle_inputs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day1` is never constructed [INFO] [stdout] --> src/day1.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Day1; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/day1.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Day1 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 18 | fn solve(problem_part: Part, input_file_path: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpenseAnalyzer` is never constructed [INFO] [stdout] --> src/day1.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct ExpenseAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `find_summing_pair`, and `find_summing_triple` are never used [INFO] [stdout] --> src/day1.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl ExpenseAnalyzer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 48 | fn new(file_path: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn find_summing_pair(&self, target_sum: u32) -> Result<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn find_summing_triple(&self, target_sum: u32) -> Result<(u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_FILE_PATH` is never used [INFO] [stdout] --> src/day2.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const INPUT_FILE_PATH: &str = "src/day2/puzzle_inputs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day2` is never constructed [INFO] [stdout] --> src/day2.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Day2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/day2.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Day2 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 18 | fn solve(problem_part: Part, input_file_path: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PasswordValidator` is never constructed [INFO] [stdout] --> src/day2.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct PasswordValidator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_valid` are never used [INFO] [stdout] --> src/day2.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl PasswordValidator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 45 | // expects a string like "1-3 a: abcde" [INFO] [stdout] 46 | fn new(input: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn is_valid(&self, problem_part: Part) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PasswordPolicy` is never constructed [INFO] [stdout] --> src/day2.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct PasswordPolicy { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `allows_password`, `lower_range_index`, `upper_range_index`, and `convert_to_index` are never used [INFO] [stdout] --> src/day2.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl PasswordPolicy { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 69 | // expects a string like "1-3 a" [INFO] [stdout] 70 | fn new(input: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn allows_password(&self, password: &str, problem_part: Part) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn lower_range_index(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn upper_range_index(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn convert_to_index(num: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_FILE_PATH` is never used [INFO] [stdout] --> src/day3.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const INPUT_FILE_PATH: &str = "src/day3/puzzle_inputs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day3` is never constructed [INFO] [stdout] --> src/day3.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Day3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/day3.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Day3 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 13 | fn solve(problem_part: Part, input_file_path: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/day3.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> src/day3.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Tile { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 53 | fn from_char(char: char) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Slope` is never constructed [INFO] [stdout] --> src/day3.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct Slope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathAnalyzer` is never constructed [INFO] [stdout] --> src/day3.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct PathAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calculate_num_trees`, `get_tile_at_coords`, and `normalize_x` are never used [INFO] [stdout] --> src/day3.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl PathAnalyzer { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 72 | fn new(input_file_path: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn calculate_num_trees(&self, slope: Slope) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn get_tile_at_coords(&self, x: usize, y: usize) -> Result<&Tile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn normalize_x(&self, x: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_FILE_PATH` is never used [INFO] [stdout] --> src/day4.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const INPUT_FILE_PATH: &str = "src/day4/puzzle_inputs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day4` is never constructed [INFO] [stdout] --> src/day4.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Day4; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/day4.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Day4 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 18 | fn solve(problem_part: Part, input_file_path: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValidCredential` is never used [INFO] [stdout] --> src/day4.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum ValidCredential<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day4.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> ValidCredential<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new(input: &'a str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/day4.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | struct Height(u32, Measure); [INFO] [stdout] | ------ ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | struct HairColor(u32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoreCredentialsBuilder` is never constructed [INFO] [stdout] --> src/day4.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | struct CoreCredentialsBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day4.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 184 | impl CoreCredentialsBuilder { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 185 | fn build_from_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn byr(mut self, byr: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn iyr(mut self, iyr: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn eyr(mut self, eyr: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn hgt(mut self, hgt: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn hcl(mut self, hcl: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn ecl(mut self, ecl: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn pid(mut self, pid: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day4.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 308 | impl CoreCredentials { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 309 | fn new(input: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day4.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 320 | impl<'a> Passport<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 321 | fn new(input: &'a str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day4.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 336 | impl NorthPoleID { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 337 | fn new(input: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValidCredential` is never used [INFO] [stdout] --> src/day4.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 348 | pub enum ValidCredential<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day4.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 353 | impl<'a> ValidCredential<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 354 | pub fn new(input: &'a str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoreCredentialsBuilder` is never constructed [INFO] [stdout] --> src/day4.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | struct CoreCredentialsBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day4.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 379 | impl<'a> CoreCredentialsBuilder<'a> { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 380 | fn build_from_input(input: &'a str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | fn byr(mut self, byr: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | fn iyr(mut self, iyr: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | fn eyr(mut self, eyr: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | fn hgt(mut self, hgt: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | fn hcl(mut self, hcl: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | fn ecl(mut self, ecl: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | fn pid(mut self, pid: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn build(self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day4.rs:474:12 [INFO] [stdout] | [INFO] [stdout] 473 | impl<'a> CoreCredentials<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 474 | fn new(input: &'a str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day4.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 485 | impl<'a> Passport<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 486 | fn new(input: &'a str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day4.rs:502:12 [INFO] [stdout] | [INFO] [stdout] 501 | impl<'a> NorthPoleID<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 502 | fn new(input: &'a str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_FILE_PATH` is never used [INFO] [stdout] --> src/day5.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const INPUT_FILE_PATH: &str = "src/day5/puzzle_inputs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day5` is never constructed [INFO] [stdout] --> src/day5.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Day5; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/day5.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Day5 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 14 | fn solve(problem_part: Part, input_file_path: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterByPair` is never constructed [INFO] [stdout] --> src/day5.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct IterByPair { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day5.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl IterByPair { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 59 | fn new(inner_iter: Box>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_ROW` is never used [INFO] [stdout] --> src/day5.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | const MIN_ROW: u8 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ROW` is never used [INFO] [stdout] --> src/day5.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | const MAX_ROW: u8 = 127; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_COL` is never used [INFO] [stdout] --> src/day5.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | const MIN_COL: u8 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_COL` is never used [INFO] [stdout] --> src/day5.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | const MAX_COL: u8 = 7; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoardingPass` is never constructed [INFO] [stdout] --> src/day5.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct BoardingPass<'a>(&'a str); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse_seat_id`, `parse_row`, and `parse_col` are never used [INFO] [stdout] --> src/day5.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a> BoardingPass<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 94 | pub fn new(input: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn parse_seat_id(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn parse_row(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn parse_col(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_FILE_PATH` is never used [INFO] [stdout] --> src/day6.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const INPUT_FILE_PATH: &str = "src/day6/puzzle_inputs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day6` is never constructed [INFO] [stdout] --> src/day6.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Day6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/day6.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Day6 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 19 | fn solve(problem_part: Part, input_file_path: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsensusGroup` is never constructed [INFO] [stdout] --> src/day6.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct ConsensusGroup { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `num_shared_answers` are never used [INFO] [stdout] --> src/day6.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl ConsensusGroup { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 45 | fn new(input: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn num_shared_answers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UniqueGroup` is never constructed [INFO] [stdout] --> src/day6.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct UniqueGroup { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `num_unique_answers` are never used [INFO] [stdout] --> src/day6.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl UniqueGroup { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 77 | fn new(input: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn num_unique_answers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | Pass(Passport<'a>), [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] 48 - Pass(Passport<'a>), [INFO] [stdout] 48 + Pass(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | North(NorthPoleID), [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] 49 - North(NorthPoleID), [INFO] [stdout] 49 + North(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/day4.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | struct Height(u32, Measure); [INFO] [stdout] | ------ ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | struct HairColor(u32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 349 | Pass(Passport<'a>), [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] 349 - Pass(Passport<'a>), [INFO] [stdout] 349 + Pass(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 350 | North(NorthPoleID<'a>), [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] 350 - North(NorthPoleID<'a>), [INFO] [stdout] 350 + North(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.13s [INFO] running `Command { std: "docker" "inspect" "626ad14a799f3ed2abe143b121b5ecb8cda827142966721b5e4e715874f794aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626ad14a799f3ed2abe143b121b5ecb8cda827142966721b5e4e715874f794aa", kill_on_drop: false }` [INFO] [stdout] 626ad14a799f3ed2abe143b121b5ecb8cda827142966721b5e4e715874f794aa