[INFO] cloning repository https://github.com/opcon/aoc-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/opcon/aoc-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopcon%2Faoc-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopcon%2Faoc-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c10b2e21c22be777eaed8ecc1aba002625aa2946 [INFO] testing opcon/aoc-2020 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopcon%2Faoc-2020" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/opcon/aoc-2020 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/opcon/aoc-2020 [INFO] finished tweaking git repo https://github.com/opcon/aoc-2020 [INFO] tweaked toml for git repo https://github.com/opcon/aoc-2020 written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/opcon/aoc-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 539ac182791b6fea35558a973a62ac10416d62d3143f52c5a8851b933ff2ecaa [INFO] running `Command { std: "docker" "start" "-a" "539ac182791b6fea35558a973a62ac10416d62d3143f52c5a8851b933ff2ecaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "539ac182791b6fea35558a973a62ac10416d62d3143f52c5a8851b933ff2ecaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "539ac182791b6fea35558a973a62ac10416d62d3143f52c5a8851b933ff2ecaa", kill_on_drop: false }` [INFO] [stdout] 539ac182791b6fea35558a973a62ac10416d62d3143f52c5a8851b933ff2ecaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8191925dda2c7432780450d457c27334d0e4d6ab6f982a7dfbf25935c1dff1d3 [INFO] running `Command { std: "docker" "start" "-a" "8191925dda2c7432780450d457c27334d0e4d6ab6f982a7dfbf25935c1dff1d3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bag_collection_children` [INFO] [stdout] --> src/day07.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | let (bag_collection_parents, bag_collection_children) = parse_input_improved(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bag_collection_children` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day08.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn part1(input: 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/day08.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day01.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day01.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day02.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day02.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day03.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day03.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_direction` [INFO] [stdout] --> src/day03.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn check_direction(map: &Vec>, dir: (usize, usize)) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input_map` [INFO] [stdout] --> src/day03.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn parse_input_map<'a>(input: &'a String) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/day03.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day04.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day04.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/day04.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse_input(input: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input_strict` [INFO] [stdout] --> src/day04.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn parse_input_strict(input: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/day04.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cm` [INFO] [stdout] --> src/day04.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | Cm, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `HeightUnit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(PartialEq, Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `In` [INFO] [stdout] --> src/day04.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | In, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `HeightUnit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(PartialEq, Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Amber` [INFO] [stdout] --> src/day04.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | Amber, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blue` [INFO] [stdout] --> src/day04.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Brown` [INFO] [stdout] --> src/day04.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | Brown, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gray` [INFO] [stdout] --> src/day04.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | Gray, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green` [INFO] [stdout] --> src/day04.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hazel` [INFO] [stdout] --> src/day04.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | Hazel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/day04.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `byr` [INFO] [stdout] --> src/day04.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | byr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `iyr` [INFO] [stdout] --> src/day04.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | iyr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `eyr` [INFO] [stdout] --> src/day04.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | eyr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hgt` [INFO] [stdout] --> src/day04.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | hgt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hgt_unit` [INFO] [stdout] --> src/day04.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | hgt_unit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hcl` [INFO] [stdout] --> src/day04.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | hcl: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ecl` [INFO] [stdout] --> src/day04.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | ecl: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pid` [INFO] [stdout] --> src/day04.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | pid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cid` [INFO] [stdout] --> src/day04.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | cid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/day04.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day05.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day05.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/day05.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_input(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `row` [INFO] [stdout] --> src/day05.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | row: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Seat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day05.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `column` [INFO] [stdout] --> src/day05.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | column: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Seat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day05.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `seat_id` [INFO] [stdout] --> src/day05.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn seat_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day06.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day06.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_p1` [INFO] [stdout] --> src/day06.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn do_p1(input: String) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_p2` [INFO] [stdout] --> src/day06.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn do_p2(input: String) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_parents_recursive` [INFO] [stdout] --> src/day07.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_parents_recursive(child: String, map: &HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.48s [INFO] running `Command { std: "docker" "inspect" "8191925dda2c7432780450d457c27334d0e4d6ab6f982a7dfbf25935c1dff1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8191925dda2c7432780450d457c27334d0e4d6ab6f982a7dfbf25935c1dff1d3", kill_on_drop: false }` [INFO] [stdout] 8191925dda2c7432780450d457c27334d0e4d6ab6f982a7dfbf25935c1dff1d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d96914ab31f1b7561e27996bfdd29055c5c6e7feccc8e2ffdc47f48edd4aa4e [INFO] running `Command { std: "docker" "start" "-a" "5d96914ab31f1b7561e27996bfdd29055c5c6e7feccc8e2ffdc47f48edd4aa4e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `bag_collection_children` [INFO] [stdout] --> src/day07.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | let (bag_collection_parents, bag_collection_children) = parse_input_improved(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bag_collection_children` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day08.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn part1(input: 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/day08.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day01.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day01.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day02.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day02.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day03.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day03.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_direction` [INFO] [stdout] --> src/day03.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn check_direction(map: &Vec>, dir: (usize, usize)) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input_map` [INFO] [stdout] --> src/day03.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn parse_input_map<'a>(input: &'a String) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/day03.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day04.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day04.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/day04.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse_input(input: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input_strict` [INFO] [stdout] --> src/day04.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn parse_input_strict(input: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/day04.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cm` [INFO] [stdout] --> src/day04.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | Cm, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `HeightUnit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(PartialEq, Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `In` [INFO] [stdout] --> src/day04.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | In, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `HeightUnit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(PartialEq, Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Amber` [INFO] [stdout] --> src/day04.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | Amber, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blue` [INFO] [stdout] --> src/day04.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Brown` [INFO] [stdout] --> src/day04.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | Brown, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gray` [INFO] [stdout] --> src/day04.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | Gray, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green` [INFO] [stdout] --> src/day04.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hazel` [INFO] [stdout] --> src/day04.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | Hazel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/day04.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `byr` [INFO] [stdout] --> src/day04.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | byr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `iyr` [INFO] [stdout] --> src/day04.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | iyr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `eyr` [INFO] [stdout] --> src/day04.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | eyr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hgt` [INFO] [stdout] --> src/day04.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | hgt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hgt_unit` [INFO] [stdout] --> src/day04.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | hgt_unit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hcl` [INFO] [stdout] --> src/day04.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | hcl: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ecl` [INFO] [stdout] --> src/day04.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | ecl: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pid` [INFO] [stdout] --> src/day04.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | pid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cid` [INFO] [stdout] --> src/day04.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | cid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day04.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/day04.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day05.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day05.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_input` [INFO] [stdout] --> src/day05.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_input(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `row` [INFO] [stdout] --> src/day05.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | row: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Seat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day05.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `column` [INFO] [stdout] --> src/day05.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | column: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Seat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day05.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `seat_id` [INFO] [stdout] --> src/day05.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn seat_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day06.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part1(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day06.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part2(input: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_p1` [INFO] [stdout] --> src/day06.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn do_p1(input: String) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_p2` [INFO] [stdout] --> src/day06.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn do_p2(input: String) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_parents_recursive` [INFO] [stdout] --> src/day07.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_parents_recursive(child: String, map: &HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "5d96914ab31f1b7561e27996bfdd29055c5c6e7feccc8e2ffdc47f48edd4aa4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d96914ab31f1b7561e27996bfdd29055c5c6e7feccc8e2ffdc47f48edd4aa4e", kill_on_drop: false }` [INFO] [stdout] 5d96914ab31f1b7561e27996bfdd29055c5c6e7feccc8e2ffdc47f48edd4aa4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2eb4ae33d2f836156275f0d767418193e4450ea1fb0209accac1415070e1fb77 [INFO] running `Command { std: "docker" "start" "-a" "2eb4ae33d2f836156275f0d767418193e4450ea1fb0209accac1415070e1fb77", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `bag_collection_children` [INFO] [stderr] --> src/day07.rs:18:34 [INFO] [stderr] | [INFO] [stderr] 18 | let (bag_collection_parents, bag_collection_children) = parse_input_improved(input); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bag_collection_children` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day08.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn part1(input: String) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/day08.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn part2(input: String) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day01.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn part1(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day01.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn part2(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day02.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn part1(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day02.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn part2(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day03.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn part1(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day03.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn part2(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_direction` [INFO] [stderr] --> src/day03.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | fn check_direction(map: &Vec>, dir: (usize, usize)) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_input_map` [INFO] [stderr] --> src/day03.rs:57:4 [INFO] [stderr] | [INFO] [stderr] 57 | fn parse_input_map<'a>(input: &'a String) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Point` [INFO] [stderr] --> src/day03.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | struct Point { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day04.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn part1(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day04.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn part2(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_input` [INFO] [stderr] --> src/day04.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | fn parse_input(input: &String) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_input_strict` [INFO] [stderr] --> src/day04.rs:50:4 [INFO] [stderr] | [INFO] [stderr] 50 | fn parse_input_strict(input: &String) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_valid` [INFO] [stderr] --> src/day04.rs:165:8 [INFO] [stderr] | [INFO] [stderr] 165 | fn is_valid(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Cm` [INFO] [stderr] --> src/day04.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | Cm, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `HeightUnit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:176:21 [INFO] [stderr] | [INFO] [stderr] 176 | #[derive(PartialEq, Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `In` [INFO] [stderr] --> src/day04.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | In, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `HeightUnit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:176:21 [INFO] [stderr] | [INFO] [stderr] 176 | #[derive(PartialEq, Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Amber` [INFO] [stderr] --> src/day04.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | Amber, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:182:10 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Blue` [INFO] [stderr] --> src/day04.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | Blue, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:182:10 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Brown` [INFO] [stderr] --> src/day04.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | Brown, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:182:10 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Gray` [INFO] [stderr] --> src/day04.rs:187:5 [INFO] [stderr] | [INFO] [stderr] 187 | Gray, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:182:10 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Green` [INFO] [stderr] --> src/day04.rs:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | Green, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:182:10 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Hazel` [INFO] [stderr] --> src/day04.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | Hazel, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:182:10 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Other` [INFO] [stderr] --> src/day04.rs:190:5 [INFO] [stderr] | [INFO] [stderr] 190 | Other, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EyeColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:182:10 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `byr` [INFO] [stderr] --> src/day04.rs:195:5 [INFO] [stderr] | [INFO] [stderr] 195 | byr: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `iyr` [INFO] [stderr] --> src/day04.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 196 | iyr: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `eyr` [INFO] [stderr] --> src/day04.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | eyr: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hgt` [INFO] [stderr] --> src/day04.rs:198:5 [INFO] [stderr] | [INFO] [stderr] 198 | hgt: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hgt_unit` [INFO] [stderr] --> src/day04.rs:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | hgt_unit: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hcl` [INFO] [stderr] --> src/day04.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | hcl: Option<&'a str>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ecl` [INFO] [stderr] --> src/day04.rs:201:5 [INFO] [stderr] | [INFO] [stderr] 201 | ecl: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pid` [INFO] [stderr] --> src/day04.rs:202:5 [INFO] [stderr] | [INFO] [stderr] 202 | pid: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cid` [INFO] [stderr] --> src/day04.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | cid: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StrictPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day04.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_valid` [INFO] [stderr] --> src/day04.rs:213:8 [INFO] [stderr] | [INFO] [stderr] 213 | fn is_valid(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day05.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn part1(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day05.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn part2(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_input` [INFO] [stderr] --> src/day05.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn parse_input(input: String) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `row` [INFO] [stderr] --> src/day05.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | row: i32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Seat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day05.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `column` [INFO] [stderr] --> src/day05.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | column: i32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Seat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day05.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `seat_id` [INFO] [stderr] --> src/day05.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | fn seat_id(&self) -> i32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day06.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn part1(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day06.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn part2(input: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `do_p1` [INFO] [stderr] --> src/day06.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn do_p1(input: String) -> i32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `do_p2` [INFO] [stderr] --> src/day06.rs:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | fn do_p2(input: String) -> i32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_parents_recursive` [INFO] [stderr] --> src/day07.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn find_parents_recursive(child: String, map: &HashMap>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `aoc-2020` (bin "aoc-2020" test) generated 47 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc_2020-8bb5d53c747fd881) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2eb4ae33d2f836156275f0d767418193e4450ea1fb0209accac1415070e1fb77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eb4ae33d2f836156275f0d767418193e4450ea1fb0209accac1415070e1fb77", kill_on_drop: false }` [INFO] [stdout] 2eb4ae33d2f836156275f0d767418193e4450ea1fb0209accac1415070e1fb77