[INFO] cloning repository https://github.com/ryanshappell/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/ryanshappell/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanshappell%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanshappell%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db12d9c439cf99f81f1cbdcbe3987c2025884704 [INFO] building ryanshappell/advent-of-code-2020 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanshappell%2Fadvent-of-code-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/ryanshappell/advent-of-code-2020 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryanshappell/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/ryanshappell/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/ryanshappell/advent-of-code-2020 written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/ryanshappell/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d2131bac95c2806529f4ebce6aa2ec059a46e46dfe86691e6f6128f81c4723d [INFO] running `Command { std: "docker" "start" "-a" "1d2131bac95c2806529f4ebce6aa2ec059a46e46dfe86691e6f6128f81c4723d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d2131bac95c2806529f4ebce6aa2ec059a46e46dfe86691e6f6128f81c4723d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2131bac95c2806529f4ebce6aa2ec059a46e46dfe86691e6f6128f81c4723d", kill_on_drop: false }` [INFO] [stdout] 1d2131bac95c2806529f4ebce6aa2ec059a46e46dfe86691e6f6128f81c4723d [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=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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8951e76b4925d68af1ee0746593361584784ad97cac6a362ddace6bef3b6eaee [INFO] running `Command { std: "docker" "start" "-a" "8951e76b4925d68af1ee0746593361584784ad97cac6a362ddace6bef3b6eaee", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [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: unused variable: `e` [INFO] [stdout] --> src/days/day04.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | ... Err(e) => {passports[curr_passport].valid = false; 123456789}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/day04.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ... Err(e) => {passports[curr_passport].valid = false; 123456789}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/day04.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | ... Err(e) => {passports[curr_passport].valid = false; 123456789}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/day04.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | ... Err(e) => {passports[curr_passport].valid = false; 123456789}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day01.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day02.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day03.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_trees` [INFO] [stdout] --> src/days/day03.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn count_trees(data: &Vec<&str>, dx: usize, dy:usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Sled` [INFO] [stdout] --> src/days/day03.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Sled { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day04.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `byr` [INFO] [stdout] --> src/days/day04.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | byr: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `iyr` [INFO] [stdout] --> src/days/day04.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | iyr: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `eyr` [INFO] [stdout] --> src/days/day04.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | eyr: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `hgt` [INFO] [stdout] --> src/days/day04.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | hgt: String, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `hcl` [INFO] [stdout] --> src/days/day04.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | hcl: String, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `ecl` [INFO] [stdout] --> src/days/day04.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | ecl: String, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `pid` [INFO] [stdout] --> src/days/day04.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | pid: String, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `cid` [INFO] [stdout] --> src/days/day04.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | cid: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `valid` [INFO] [stdout] --> src/days/day04.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | valid: bool, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `field_count` [INFO] [stdout] --> src/days/day04.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | field_count: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `blank` [INFO] [stdout] --> src/days/day04.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn blank() -> Passport { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_byr` [INFO] [stdout] --> src/days/day04.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn check_byr(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_iyr` [INFO] [stdout] --> src/days/day04.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn check_iyr(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_eyr` [INFO] [stdout] --> src/days/day04.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn check_eyr(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_hgt` [INFO] [stdout] --> src/days/day04.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn check_hgt(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_hcl` [INFO] [stdout] --> src/days/day04.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | fn check_hcl(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_ecl` [INFO] [stdout] --> src/days/day04.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn check_ecl(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_pid` [INFO] [stdout] --> src/days/day04.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn check_pid(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day05.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_seat` [INFO] [stdout] --> src/days/day05.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn find_seat(bp: &str) -> Seat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `row_l` [INFO] [stdout] --> src/days/day05.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | row_l: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: `row_u` [INFO] [stdout] --> src/days/day05.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | row_u: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: `col_l` [INFO] [stdout] --> src/days/day05.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | col_l: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: `col_u` [INFO] [stdout] --> src/days/day05.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | col_u: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: `id` [INFO] [stdout] --> src/days/day05.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | id: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: function is never used: `run` [INFO] [stdout] --> src/days/day06.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day07.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_bag` [INFO] [stdout] --> src/days/day07.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn find_bag(bags: &HashMap>, key: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_bags` [INFO] [stdout] --> src/days/day07.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn count_bags(bags: &HashMap>, key: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_bag` [INFO] [stdout] --> src/days/day07.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_bag(line: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_rule` [INFO] [stdout] --> src/days/day07.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_rule(line: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day08.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/days/day08.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn p1(lines: &Vec<&str>) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/days/day08.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn p2(lines: &Vec<&str>) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `acc` [INFO] [stdout] --> src/days/day08.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn acc(sign: &str, arg: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jmp` [INFO] [stdout] --> src/days/day08.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn jmp(sign: &str, arg: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day09.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_invalid_num` [INFO] [stdout] --> src/days/day09.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn find_invalid_num(lines: &Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preamble_vals` [INFO] [stdout] --> src/days/day09.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn preamble_vals(pre: usize, i: usize, lines: &Vec) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_set` [INFO] [stdout] --> src/days/day09.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn find_set(num: u64, lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_arrangements` [INFO] [stdout] --> src/days/day10.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn find_arrangements(adapters: &Vec) -> HashSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_remove` [INFO] [stdout] --> src/days/day10.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn find_remove(adapters: &Vec, i: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.47s [INFO] running `Command { std: "docker" "inspect" "8951e76b4925d68af1ee0746593361584784ad97cac6a362ddace6bef3b6eaee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8951e76b4925d68af1ee0746593361584784ad97cac6a362ddace6bef3b6eaee", kill_on_drop: false }` [INFO] [stdout] 8951e76b4925d68af1ee0746593361584784ad97cac6a362ddace6bef3b6eaee [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=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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc029fee12c86362f28f2aa8dfad921d46c909a15c02c91d41f24ffa01260870 [INFO] running `Command { std: "docker" "start" "-a" "dc029fee12c86362f28f2aa8dfad921d46c909a15c02c91d41f24ffa01260870", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/day04.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | ... Err(e) => {passports[curr_passport].valid = false; 123456789}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/day04.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ... Err(e) => {passports[curr_passport].valid = false; 123456789}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/day04.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | ... Err(e) => {passports[curr_passport].valid = false; 123456789}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/day04.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | ... Err(e) => {passports[curr_passport].valid = false; 123456789}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day01.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day02.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day03.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_trees` [INFO] [stdout] --> src/days/day03.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn count_trees(data: &Vec<&str>, dx: usize, dy:usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Sled` [INFO] [stdout] --> src/days/day03.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Sled { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day04.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `byr` [INFO] [stdout] --> src/days/day04.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | byr: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `iyr` [INFO] [stdout] --> src/days/day04.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | iyr: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `eyr` [INFO] [stdout] --> src/days/day04.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | eyr: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `hgt` [INFO] [stdout] --> src/days/day04.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | hgt: String, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `hcl` [INFO] [stdout] --> src/days/day04.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | hcl: String, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `ecl` [INFO] [stdout] --> src/days/day04.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | ecl: String, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `pid` [INFO] [stdout] --> src/days/day04.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | pid: String, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `cid` [INFO] [stdout] --> src/days/day04.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | cid: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `valid` [INFO] [stdout] --> src/days/day04.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | valid: bool, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `field_count` [INFO] [stdout] --> src/days/day04.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | field_count: u32, [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] --> src/days/day04.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[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: `blank` [INFO] [stdout] --> src/days/day04.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn blank() -> Passport { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_byr` [INFO] [stdout] --> src/days/day04.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn check_byr(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_iyr` [INFO] [stdout] --> src/days/day04.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn check_iyr(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_eyr` [INFO] [stdout] --> src/days/day04.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn check_eyr(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_hgt` [INFO] [stdout] --> src/days/day04.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn check_hgt(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_hcl` [INFO] [stdout] --> src/days/day04.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | fn check_hcl(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_ecl` [INFO] [stdout] --> src/days/day04.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn check_ecl(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_pid` [INFO] [stdout] --> src/days/day04.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn check_pid(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day05.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_seat` [INFO] [stdout] --> src/days/day05.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn find_seat(bp: &str) -> Seat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `row_l` [INFO] [stdout] --> src/days/day05.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | row_l: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: `row_u` [INFO] [stdout] --> src/days/day05.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | row_u: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: `col_l` [INFO] [stdout] --> src/days/day05.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | col_l: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: `col_u` [INFO] [stdout] --> src/days/day05.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | col_u: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: `id` [INFO] [stdout] --> src/days/day05.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | id: u32, [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/days/day05.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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: function is never used: `run` [INFO] [stdout] --> src/days/day06.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day07.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_bag` [INFO] [stdout] --> src/days/day07.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn find_bag(bags: &HashMap>, key: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_bags` [INFO] [stdout] --> src/days/day07.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn count_bags(bags: &HashMap>, key: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_bag` [INFO] [stdout] --> src/days/day07.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_bag(line: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_rule` [INFO] [stdout] --> src/days/day07.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_rule(line: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day08.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p1` [INFO] [stdout] --> src/days/day08.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn p1(lines: &Vec<&str>) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `p2` [INFO] [stdout] --> src/days/day08.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn p2(lines: &Vec<&str>) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `acc` [INFO] [stdout] --> src/days/day08.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn acc(sign: &str, arg: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jmp` [INFO] [stdout] --> src/days/day08.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn jmp(sign: &str, arg: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/days/day09.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_invalid_num` [INFO] [stdout] --> src/days/day09.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn find_invalid_num(lines: &Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preamble_vals` [INFO] [stdout] --> src/days/day09.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn preamble_vals(pre: usize, i: usize, lines: &Vec) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_set` [INFO] [stdout] --> src/days/day09.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn find_set(num: u64, lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_arrangements` [INFO] [stdout] --> src/days/day10.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn find_arrangements(adapters: &Vec) -> HashSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_remove` [INFO] [stdout] --> src/days/day10.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn find_remove(adapters: &Vec, i: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code_2020-a014048cfa25fa6a) [INFO] running `Command { std: "docker" "inspect" "dc029fee12c86362f28f2aa8dfad921d46c909a15c02c91d41f24ffa01260870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc029fee12c86362f28f2aa8dfad921d46c909a15c02c91d41f24ffa01260870", kill_on_drop: false }` [INFO] [stdout] dc029fee12c86362f28f2aa8dfad921d46c909a15c02c91d41f24ffa01260870