[INFO] cloning repository https://github.com/greenonion/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/greenonion/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreenonion%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreenonion%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb72d97fefb37b2f6568898118b6090f8e63a7ba [INFO] building greenonion/advent-of-code-2020 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreenonion%2Fadvent-of-code-2020" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/greenonion/advent-of-code-2020 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/greenonion/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/greenonion/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/greenonion/advent-of-code-2020 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/greenonion/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e045a493eeafad469cf0698acc83266006c3ed70e9c3863d7b4215366057fb9 [INFO] running `Command { std: "docker" "start" "-a" "4e045a493eeafad469cf0698acc83266006c3ed70e9c3863d7b4215366057fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e045a493eeafad469cf0698acc83266006c3ed70e9c3863d7b4215366057fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e045a493eeafad469cf0698acc83266006c3ed70e9c3863d7b4215366057fb9", kill_on_drop: false }` [INFO] [stdout] 4e045a493eeafad469cf0698acc83266006c3ed70e9c3863d7b4215366057fb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf08c8be73d42f063736fd5f9bf5e564e30981702f33fbab9c4d84066ab0ee1f [INFO] running `Command { std: "docker" "start" "-a" "cf08c8be73d42f063736fd5f9bf5e564e30981702f33fbab9c4d84066ab0ee1f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `part_a`, and `part_b` are never used [INFO] [stdout] --> src/day1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn part_a(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn part_b(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day2.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `minimum`, `maximum`, `character`, and `password` are never read [INFO] [stdout] --> src/day2.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct UserPassword { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | minimum: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | maximum: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | character: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/day2.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl UserPassword { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 40 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos1`, `pos2`, `character`, and `password` are never read [INFO] [stdout] --> src/day2.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct UserPassword2 { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 52 | pos1: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pos2: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | character: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/day2.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl UserPassword2 { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 81 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `part_a`, and `part_b` are never used [INFO] [stdout] --> src/day2.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 96 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn part_a(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn part_b(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/day3.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `squares` is never read [INFO] [stdout] --> src/day3.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Level { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 35 | squares: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Level` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day3.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day3.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn part_a(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn part_b(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn trees_at_slope(&mut self, right: usize, down: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn square_kind_at(&self, pos: &Point) -> &SquareKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn square(&self) -> &SquareKind { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn move_to(&mut self, direction: Direction) -> &SquareKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn move_right(&mut self) -> &SquareKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn move_down(&mut self) -> &SquareKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn is_at_bottom(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day3.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/day4.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | data: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day4.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Passport { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 34 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn is_valid_strict(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn is_valid_byr(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn is_valid_iyr(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn is_valid_eyr(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn is_valid_hgt(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn is_valid_hcl(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn is_valid_ecl(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn is_valid_pid(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day4.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `part_a`, and `part_b` are never used [INFO] [stdout] --> src/day4.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 158 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn part_a(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn part_b(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoardingPass` is never constructed [INFO] [stdout] --> src/day5.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct BoardingPass { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `seat_id`, `row`, and `column` are never used [INFO] [stdout] --> src/day5.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BoardingPass { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(ticket: &str) -> BoardingPass { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn seat_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn row(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn column(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day5.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `part_a`, and `part_b` are never used [INFO] [stdout] --> src/day5.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 86 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn part_a(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn part_b(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.23s [INFO] running `Command { std: "docker" "inspect" "cf08c8be73d42f063736fd5f9bf5e564e30981702f33fbab9c4d84066ab0ee1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf08c8be73d42f063736fd5f9bf5e564e30981702f33fbab9c4d84066ab0ee1f", kill_on_drop: false }` [INFO] [stdout] cf08c8be73d42f063736fd5f9bf5e564e30981702f33fbab9c4d84066ab0ee1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9dbb84611b239b0080319b5d0e14edb0852e5b5a295575b91206db8c7e00531 [INFO] running `Command { std: "docker" "start" "-a" "e9dbb84611b239b0080319b5d0e14edb0852e5b5a295575b91206db8c7e00531", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `part_a`, and `part_b` are never used [INFO] [stdout] --> src/day1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn part_a(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn part_b(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day2.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `minimum`, `maximum`, `character`, and `password` are never read [INFO] [stdout] --> src/day2.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct UserPassword { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | minimum: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | maximum: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | character: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/day2.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl UserPassword { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 40 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos1`, `pos2`, `character`, and `password` are never read [INFO] [stdout] --> src/day2.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct UserPassword2 { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 52 | pos1: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pos2: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | character: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/day2.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl UserPassword2 { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 81 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `part_a`, and `part_b` are never used [INFO] [stdout] --> src/day2.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 96 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn part_a(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn part_b(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/day3.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `squares` is never read [INFO] [stdout] --> src/day3.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Level { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 35 | squares: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Level` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day3.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day3.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn part_a(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn part_b(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn trees_at_slope(&mut self, right: usize, down: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn square_kind_at(&self, pos: &Point) -> &SquareKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn square(&self) -> &SquareKind { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn move_to(&mut self, direction: Direction) -> &SquareKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn move_right(&mut self) -> &SquareKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn move_down(&mut self) -> &SquareKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn is_at_bottom(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day3.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/day4.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | data: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day4.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Passport { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 34 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn is_valid_strict(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn is_valid_byr(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn is_valid_iyr(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn is_valid_eyr(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn is_valid_hgt(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn is_valid_hcl(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn is_valid_ecl(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn is_valid_pid(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day4.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `part_a`, and `part_b` are never used [INFO] [stdout] --> src/day4.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 158 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn part_a(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn part_b(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Problem` is never constructed [INFO] [stdout] --> src/day5.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Problem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `part_a`, and `part_b` are never used [INFO] [stdout] --> src/day5.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Problem { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 86 | pub fn new() -> Problem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn part_a(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn part_b(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "e9dbb84611b239b0080319b5d0e14edb0852e5b5a295575b91206db8c7e00531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9dbb84611b239b0080319b5d0e14edb0852e5b5a295575b91206db8c7e00531", kill_on_drop: false }` [INFO] [stdout] e9dbb84611b239b0080319b5d0e14edb0852e5b5a295575b91206db8c7e00531