[INFO] cloning repository https://github.com/johnny88/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnny88/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnny88%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnny88%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc8d9c12e1b4cb3593741acc137d7bf4cf296504 [INFO] building johnny88/aoc2020 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnny88%2Faoc2020" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnny88/aoc2020 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johnny88/aoc2020 [INFO] finished tweaking git repo https://github.com/johnny88/aoc2020 [INFO] tweaked toml for git repo https://github.com/johnny88/aoc2020 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/johnny88/aoc2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac1a0b3e4d957cae5584dd6da4eb320548dc5531c506cee3d891855bae091553 [INFO] running `Command { std: "docker" "start" "-a" "ac1a0b3e4d957cae5584dd6da4eb320548dc5531c506cee3d891855bae091553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac1a0b3e4d957cae5584dd6da4eb320548dc5531c506cee3d891855bae091553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac1a0b3e4d957cae5584dd6da4eb320548dc5531c506cee3d891855bae091553", kill_on_drop: false }` [INFO] [stdout] ac1a0b3e4d957cae5584dd6da4eb320548dc5531c506cee3d891855bae091553 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1b7a5e85bd6c2f3e58ab65b3ed961ecddd940eaa7671758b0f285030832a592 [INFO] running `Command { std: "docker" "start" "-a" "d1b7a5e85bd6c2f3e58ab65b3ed961ecddd940eaa7671758b0f285030832a592", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:142:48 [INFO] [stdout] | [INFO] [stdout] 142 | byr:1937 iyr:2017 cid:147 hgt:183cm\n\n\ [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 143 | | [INFO] [stdout] 144 | | iyr:2013 ecl:amb cid:350 eyr:2023 pid:028048884\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | hcl:#cfa07d byr:1929\n\n\ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 146 | | [INFO] [stdout] 147 | | hcl:#ae17e1 iyr:2013\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | hgt:179cm\n\n\ [INFO] [stdout] | ______________________^ [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | hcl:#cfa07d eyr:2025 pid:166559648\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:156:68 [INFO] [stdout] | [INFO] [stdout] 156 | hcl:#18171d ecl:amb hgt:170 pid:186cm iyr:2018 byr:1926\n\n\ [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 157 | | [INFO] [stdout] 158 | | iyr:2019\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | ecl:grn pid:012533040 byr:1946\n\n\ [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 161 | | [INFO] [stdout] 162 | | hcl:dab227 iyr:2012\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:163:70 [INFO] [stdout] | [INFO] [stdout] 163 | ecl:brn hgt:182cm pid:021572410 eyr:2020 byr:1992 cid:277\n\n\ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 164 | | [INFO] [stdout] 165 | | hgt:59cm ecl:zzz\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | hcl:#623a2f\n\n\ [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | [INFO] [stdout] 172 | | eyr:2029 ecl:blu cid:129 byr:1989\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:173:57 [INFO] [stdout] | [INFO] [stdout] 173 | iyr:2014 pid:896056539 hcl:#a97842 hgt:165cm\n\n\ [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 174 | | [INFO] [stdout] 175 | | hcl:#888785\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | eyr:2022\n\n\ [INFO] [stdout] | _____________________^ [INFO] [stdout] 179 | | [INFO] [stdout] 180 | | iyr:2010 hgt:158cm hcl:#b6652a ecl:blu byr:1944 eyr:2021 pid:093154719\n\n"; [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | const TEST_CASE_1: &str = "abc\n\n\ [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 48 | | [INFO] [stdout] 49 | | a\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | c\n\n\ [INFO] [stdout] | ______________^ [INFO] [stdout] 52 | | [INFO] [stdout] 53 | | ab\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | ac\n\n\ [INFO] [stdout] | _______________^ [INFO] [stdout] 55 | | [INFO] [stdout] 56 | | a\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | a\n\n\ [INFO] [stdout] | ______________^ [INFO] [stdout] 60 | | [INFO] [stdout] 61 | | b\n"; [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/day10.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | 1 => (acc += 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - 1 => (acc += 1), [INFO] [stdout] 52 + 1 => acc += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day11.rs:122:54 [INFO] [stdout] | [INFO] [stdout] 122 | let acc = h.iter_mut().fold(0, |mut acc, (_, mut v)| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day11.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | h.iter_mut().for_each(|(_, mut v)| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | if to_run.0 != noop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 66 | if !std::ptr::fn_addr_eq(to_run.0, noop as fn(String)) { [INFO] [stdout] | ++++++++++++++++++++++ ~ ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/main.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | if to_run.1 != noop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 74 | if !std::ptr::fn_addr_eq(to_run.1, noop as fn(String)) { [INFO] [stdout] | ++++++++++++++++++++++ ~ ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.34s [INFO] running `Command { std: "docker" "inspect" "d1b7a5e85bd6c2f3e58ab65b3ed961ecddd940eaa7671758b0f285030832a592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b7a5e85bd6c2f3e58ab65b3ed961ecddd940eaa7671758b0f285030832a592", kill_on_drop: false }` [INFO] [stdout] d1b7a5e85bd6c2f3e58ab65b3ed961ecddd940eaa7671758b0f285030832a592 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92c00595c13d228b3d31e63450e037dbe4c02567e9593ca722fa1d2a900d61d1 [INFO] running `Command { std: "docker" "start" "-a" "92c00595c13d228b3d31e63450e037dbe4c02567e9593ca722fa1d2a900d61d1", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:142:48 [INFO] [stdout] | [INFO] [stdout] 142 | byr:1937 iyr:2017 cid:147 hgt:183cm\n\n\ [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 143 | | [INFO] [stdout] 144 | | iyr:2013 ecl:amb cid:350 eyr:2023 pid:028048884\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | hcl:#cfa07d byr:1929\n\n\ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 146 | | [INFO] [stdout] 147 | | hcl:#ae17e1 iyr:2013\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | hgt:179cm\n\n\ [INFO] [stdout] | ______________________^ [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | hcl:#cfa07d eyr:2025 pid:166559648\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:156:68 [INFO] [stdout] | [INFO] [stdout] 156 | hcl:#18171d ecl:amb hgt:170 pid:186cm iyr:2018 byr:1926\n\n\ [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 157 | | [INFO] [stdout] 158 | | iyr:2019\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | ecl:grn pid:012533040 byr:1946\n\n\ [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 161 | | [INFO] [stdout] 162 | | hcl:dab227 iyr:2012\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:163:70 [INFO] [stdout] | [INFO] [stdout] 163 | ecl:brn hgt:182cm pid:021572410 eyr:2020 byr:1992 cid:277\n\n\ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 164 | | [INFO] [stdout] 165 | | hgt:59cm ecl:zzz\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | hcl:#623a2f\n\n\ [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | [INFO] [stdout] 172 | | eyr:2029 ecl:blu cid:129 byr:1989\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:173:57 [INFO] [stdout] | [INFO] [stdout] 173 | iyr:2014 pid:896056539 hcl:#a97842 hgt:165cm\n\n\ [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 174 | | [INFO] [stdout] 175 | | hcl:#888785\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | eyr:2022\n\n\ [INFO] [stdout] | _____________________^ [INFO] [stdout] 179 | | [INFO] [stdout] 180 | | iyr:2010 hgt:158cm hcl:#b6652a ecl:blu byr:1944 eyr:2021 pid:093154719\n\n"; [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | const TEST_CASE_1: &str = "abc\n\n\ [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 48 | | [INFO] [stdout] 49 | | a\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | c\n\n\ [INFO] [stdout] | ______________^ [INFO] [stdout] 52 | | [INFO] [stdout] 53 | | ab\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | ac\n\n\ [INFO] [stdout] | _______________^ [INFO] [stdout] 55 | | [INFO] [stdout] 56 | | a\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | a\n\n\ [INFO] [stdout] | ______________^ [INFO] [stdout] 60 | | [INFO] [stdout] 61 | | b\n"; [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/day10.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | 1 => (acc += 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - 1 => (acc += 1), [INFO] [stdout] 52 + 1 => acc += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day11.rs:122:54 [INFO] [stdout] | [INFO] [stdout] 122 | let acc = h.iter_mut().fold(0, |mut acc, (_, mut v)| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day11.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | h.iter_mut().for_each(|(_, mut v)| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:142:48 [INFO] [stdout] | [INFO] [stdout] 142 | byr:1937 iyr:2017 cid:147 hgt:183cm\n\n\ [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 143 | | [INFO] [stdout] 144 | | iyr:2013 ecl:amb cid:350 eyr:2023 pid:028048884\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | hcl:#cfa07d byr:1929\n\n\ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 146 | | [INFO] [stdout] 147 | | hcl:#ae17e1 iyr:2013\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | hgt:179cm\n\n\ [INFO] [stdout] | ______________________^ [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | hcl:#cfa07d eyr:2025 pid:166559648\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:156:68 [INFO] [stdout] | [INFO] [stdout] 156 | hcl:#18171d ecl:amb hgt:170 pid:186cm iyr:2018 byr:1926\n\n\ [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 157 | | [INFO] [stdout] 158 | | iyr:2019\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | ecl:grn pid:012533040 byr:1946\n\n\ [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 161 | | [INFO] [stdout] 162 | | hcl:dab227 iyr:2012\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:163:70 [INFO] [stdout] | [INFO] [stdout] 163 | ecl:brn hgt:182cm pid:021572410 eyr:2020 byr:1992 cid:277\n\n\ [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 164 | | [INFO] [stdout] 165 | | hgt:59cm ecl:zzz\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | hcl:#623a2f\n\n\ [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | [INFO] [stdout] 172 | | eyr:2029 ecl:blu cid:129 byr:1989\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:173:57 [INFO] [stdout] | [INFO] [stdout] 173 | iyr:2014 pid:896056539 hcl:#a97842 hgt:165cm\n\n\ [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 174 | | [INFO] [stdout] 175 | | hcl:#888785\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day04.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | eyr:2022\n\n\ [INFO] [stdout] | _____________________^ [INFO] [stdout] 179 | | [INFO] [stdout] 180 | | iyr:2010 hgt:158cm hcl:#b6652a ecl:blu byr:1944 eyr:2021 pid:093154719\n\n"; [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | const TEST_CASE_1: &str = "abc\n\n\ [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 48 | | [INFO] [stdout] 49 | | a\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | c\n\n\ [INFO] [stdout] | ______________^ [INFO] [stdout] 52 | | [INFO] [stdout] 53 | | ab\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | ac\n\n\ [INFO] [stdout] | _______________^ [INFO] [stdout] 55 | | [INFO] [stdout] 56 | | a\n\ [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/day06.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | a\n\n\ [INFO] [stdout] | ______________^ [INFO] [stdout] 60 | | [INFO] [stdout] 61 | | b\n"; [INFO] [stdout] | |________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/day10.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | 1 => (acc += 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - 1 => (acc += 1), [INFO] [stdout] 52 + 1 => acc += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | if to_run.0 != noop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 66 | if !std::ptr::fn_addr_eq(to_run.0, noop as fn(String)) { [INFO] [stdout] | ++++++++++++++++++++++ ~ ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/main.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | if to_run.1 != noop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 74 | if !std::ptr::fn_addr_eq(to_run.1, noop as fn(String)) { [INFO] [stdout] | ++++++++++++++++++++++ ~ ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day11.rs:122:54 [INFO] [stdout] | [INFO] [stdout] 122 | let acc = h.iter_mut().fold(0, |mut acc, (_, mut v)| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day11.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | h.iter_mut().for_each(|(_, mut v)| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "92c00595c13d228b3d31e63450e037dbe4c02567e9593ca722fa1d2a900d61d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c00595c13d228b3d31e63450e037dbe4c02567e9593ca722fa1d2a900d61d1", kill_on_drop: false }` [INFO] [stdout] 92c00595c13d228b3d31e63450e037dbe4c02567e9593ca722fa1d2a900d61d1