[INFO] cloning repository https://github.com/mnilsson/AdventOfCode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mnilsson/AdventOfCode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnilsson%2FAdventOfCode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnilsson%2FAdventOfCode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12ea8ecf346c85307bcc68ff5d43f60b31fa2ecd [INFO] testing mnilsson/AdventOfCode2020 against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnilsson%2FAdventOfCode2020" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mnilsson/AdventOfCode2020 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mnilsson/AdventOfCode2020 [INFO] finished tweaking git repo https://github.com/mnilsson/AdventOfCode2020 [INFO] tweaked toml for git repo https://github.com/mnilsson/AdventOfCode2020 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mnilsson/AdventOfCode2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1505c58be3f059bdc01ac68452f1af6deae06068c88def1a94e5d230c5cc848 [INFO] running `Command { std: "docker" "start" "-a" "d1505c58be3f059bdc01ac68452f1af6deae06068c88def1a94e5d230c5cc848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1505c58be3f059bdc01ac68452f1af6deae06068c88def1a94e5d230c5cc848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1505c58be3f059bdc01ac68452f1af6deae06068c88def1a94e5d230c5cc848", kill_on_drop: false }` [INFO] [stdout] d1505c58be3f059bdc01ac68452f1af6deae06068c88def1a94e5d230c5cc848 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1775d2a734def571f005419dd39a1afbd6a92823ca038fd58bc9a2e079d042bf [INFO] running `Command { std: "docker" "start" "-a" "1775d2a734def571f005419dd39a1afbd6a92823ca038fd58bc9a2e079d042bf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling minifb v0.11.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nom::lib::std::mem::take` [INFO] [stdout] --> src/aoc5.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::lib::std::mem::take; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::lib::std::collections::HashMap` [INFO] [stdout] --> src/aoc8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::lib::std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::lib::std::collections::HashMap` [INFO] [stdout] --> src/aoc9.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::lib::std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::lib::std::collections::BTreeMap` [INFO] [stdout] --> src/aoc10.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::lib::std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffers::RingBuffer` [INFO] [stdout] --> src/aoc10.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::buffers::RingBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::resume_unwind` [INFO] [stdout] --> src/aoc10.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::resume_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/aoc11.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `found` is assigned to, but never used [INFO] [stdout] --> src/aoc9.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut found = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_found` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found` is never read [INFO] [stdout] --> src/aoc9.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | found = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `yes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc6.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 23 | match yes.get(&q) { [INFO] [stdout] | ----------- immutable borrow occurs here [INFO] [stdout] 24 | None => yes.insert(q, 1), [INFO] [stdout] 25 | Some(v) => yes.insert(q, v + 1), [INFO] [stdout] | ^^^^^^^^^^^^^^-^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `nums` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc10.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | let last = nums.last().unwrap(); [INFO] [stdout] | ----------- immutable borrow occurs here [INFO] [stdout] 27 | let lastval = last + 3; [INFO] [stdout] 28 | nums.push(last + 3); [INFO] [stdout] | ^^^^^^^^^^----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc11.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut nums: Vec<&str> = input.split("\n").collect(); [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: field is never read: `write_pos` [INFO] [stdout] --> src/buffers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | write_pos: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/buffers.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(buffer_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/buffers.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_vec(input: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/buffers.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn push(&mut self, value: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data` [INFO] [stdout] --> src/buffers.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_data(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/aoc1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/aoc2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/aoc3.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trees` [INFO] [stdout] --> src/aoc3.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn trees(lines: &Vec>, y_inc: usize, x_inc: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/aoc4.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `byr` [INFO] [stdout] --> src/aoc4.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | byr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc4.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[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/aoc4.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | iyr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc4.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[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/aoc4.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | eyr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc4.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[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/aoc4.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | hgt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc4.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[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/aoc4.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | hcl: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc4.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[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/aoc4.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ecl: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc4.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[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/aoc4.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc4.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[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/aoc4.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | cid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc4.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | #[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: `from_string` [INFO] [stdout] --> src/aoc4.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn from_string(input: &str) -> Document { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_naive` [INFO] [stdout] --> src/aoc4.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn is_valid_naive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/aoc4.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_height` [INFO] [stdout] --> src/aoc4.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn validate_height(input: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_hair_color` [INFO] [stdout] --> src/aoc4.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn validate_hair_color(input: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/aoc5.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_row` [INFO] [stdout] --> src/aoc5.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn parse_row(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_and_get` [INFO] [stdout] --> src/aoc5.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn split_and_get(rows: &Vec, high: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/aoc6.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/aoc8.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mutate_memory` [INFO] [stdout] --> src/aoc8.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn mutate_memory(mem: &mut Vec, mutated: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nop` [INFO] [stdout] --> src/aoc8.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | Nop(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(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: `Acc` [INFO] [stdout] --> src/aoc8.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | Acc(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(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: `Jmp` [INFO] [stdout] --> src/aoc8.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Jmp(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(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: `Visit` [INFO] [stdout] --> src/aoc8.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Visit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HaltReason` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[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: `MemOverflow` [INFO] [stdout] --> src/aoc8.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | MemOverflow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HaltReason` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[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: `pc` [INFO] [stdout] --> src/aoc8.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | pc: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[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: `acc` [INFO] [stdout] --> src/aoc8.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | acc: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[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: `mem` [INFO] [stdout] --> src/aoc8.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | mem: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[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: `visited` [INFO] [stdout] --> src/aoc8.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | visited: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[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: `halt_reason` [INFO] [stdout] --> src/aoc8.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | halt_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc8.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[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: `tick` [INFO] [stdout] --> src/aoc8.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `running` [INFO] [stdout] --> src/aoc8.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn running(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/aoc9.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_sum_of_two` [INFO] [stdout] --> src/aoc9.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn is_sum_of_two(num: u64, v: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/aoc11.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/aoc11.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Chair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc11.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, 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: `Taken` [INFO] [stdout] --> src/aoc11.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Taken, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Chair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc11.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, 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: field is never read: `width` [INFO] [stdout] --> src/aoc11.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Floor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc11.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[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: `height` [INFO] [stdout] --> src/aoc11.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Floor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc11.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[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: `floor` [INFO] [stdout] --> src/aoc11.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | floor: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Floor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc11.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[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: `stopped` [INFO] [stdout] --> src/aoc11.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | stopped: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Floor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/aoc11.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[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: `print` [INFO] [stdout] --> src/aoc11.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mutate` [INFO] [stdout] --> src/aoc11.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn mutate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `taken_neighbors` [INFO] [stdout] --> src/aoc11.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn taken_neighbors(&self, y: usize, x: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `taken_neighbors_far` [INFO] [stdout] --> src/aoc11.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn taken_neighbors_far(&self, y: usize, x: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `out_of_bounds` [INFO] [stdout] --> src/aoc11.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn out_of_bounds(&self, y: i32, x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_taken` [INFO] [stdout] --> src/aoc11.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | fn count_taken(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc1.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc3.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc4.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc5.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc6.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc8.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc9.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc10.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/aoc11.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | file.read_to_string(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: erroneous constant used [INFO] [stdout] --> src/aoc10.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | println!("First: {}", ones * threes); [INFO] [stdout] | ^^^^^^^^^^^ referenced constant has errors [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_err)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #71800 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: erroneous constant used [INFO] [stdout] --> src/aoc10.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | paths.get(&(n - 1)).unwrap_or(&0) [INFO] [stdout] | ^^ referenced constant has errors [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #71800 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: erroneous constant used [INFO] [stdout] --> src/aoc10.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | + paths.get(&(n - 2)).unwrap_or(&0) [INFO] [stdout] | ^^ referenced constant has errors [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #71800 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: erroneous constant used [INFO] [stdout] --> src/aoc10.rs:57:49 [INFO] [stdout] | [INFO] [stdout] 57 | + paths.get(&(n - 3)).unwrap_or(&0), [INFO] [stdout] | ^^ referenced constant has errors [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #71800 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: erroneous constant used [INFO] [stdout] --> src/aoc10.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | println!("Second: {}", paths.get(&lastval).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ referenced constant has errors [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #71800 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/compiler/rustc_errors/src/lib.rs:1106:9 [INFO] [stdout] error: internal compiler error: /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/compiler/rustc_codegen_ssa/src/mir/constant.rs:42:20: encountered bad ConstKind after monomorphizing: Error(DelaySpanBugEmitted(())) [INFO] [stdout] --> src/aoc10.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | println!("First: {}", ones * threes); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fc78246984c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7fc78246984c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7fc78246984c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7fc78246984c - ::fmt::ha305a40dbc030444 [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7fc7824c92ec - core::fmt::write::hadd15acf4d6ce273 [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stderr] 5: 0x7fc782459a18 - std::io::Write::write_fmt::h0f87f6c0c21ec48a [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stderr] 6: 0x7fc78246d817 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7fc78246d817 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7fc78246d817 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7fc78246d4df - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7fc782bf9d01 - rustc_driver[6bef90fb01cd5c5b]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7fc78246e0e5 - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7fc782d2bd91 - std[f28d7f26b77e9927]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7fc782d2bb46 - std[f28d7f26b77e9927]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7fc782d5c7ef - std[f28d7f26b77e9927]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7fc782d72b6d - std[f28d7f26b77e9927]::panic::panic_any:: [INFO] [stderr] 16: 0x7fc782d6fca8 - ::span_bug:: [INFO] [stderr] 17: 0x7fc782d6f980 - ::span_bug:: [INFO] [stderr] 18: 0x7fc782d446e8 - rustc_middle[35226b2a2d959981]::ty::context::tls::with_opt::::{closure#0}, ()> [INFO] [stderr] 19: 0x7fc782d449a0 - rustc_middle[35226b2a2d959981]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 20: 0x7fc782d4496c - rustc_middle[35226b2a2d959981]::util::bug::span_bug_fmt:: [INFO] [stderr] 21: 0x7fc783e7e659 - >::codegen_rvalue_operand [INFO] [stderr] 22: 0x7fc783e86861 - rustc_codegen_ssa[97459cfbebab0e68]::mir::codegen_mir:: [INFO] [stderr] 23: 0x7fc783e431e2 - rustc_codegen_llvm[b55d4a142e2be4d5]::base::compile_codegen_unit::module_codegen [INFO] [stderr] 24: 0x7fc784acbaa6 - >::with_task::> [INFO] [stderr] 25: 0x7fc784ac92bf - rustc_codegen_llvm[b55d4a142e2be4d5]::base::compile_codegen_unit [INFO] [stderr] 26: 0x7fc784af7495 - rustc_codegen_ssa[97459cfbebab0e68]::base::codegen_crate:: [INFO] [stderr] 27: 0x7fc784ab807a - ::codegen_crate [INFO] [stderr] 28: 0x7fc784aa9de7 - ::time::, rustc_interface[b2fc20e59d639e2e]::passes::start_codegen::{closure#0}> [INFO] [stderr] 29: 0x7fc784a90336 - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[c37c5d1d9572cc31]::result::Result, rustc_errors[67cbba2d4402017b]::ErrorReported>> [INFO] [stderr] 30: 0x7fc784a866af - ::ongoing_codegen [INFO] [stderr] 31: 0x7fc784a5e183 - rustc_interface[b2fc20e59d639e2e]::interface::create_compiler_and_run::, rustc_driver[6bef90fb01cd5c5b]::run_compiler::{closure#1}> [INFO] [stderr] 32: 0x7fc784a43804 - std[f28d7f26b77e9927]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[6bef90fb01cd5c5b]::run_compiler::{closure#1}>::{closure#0}, core[c37c5d1d9572cc31]::result::Result<(), rustc_errors[67cbba2d4402017b]::ErrorReported>>::{closure#0}, core[c37c5d1d9572cc31]::result::Result<(), rustc_errors[67cbba2d4402017b]::ErrorReported>> [INFO] [stderr] 33: 0x7fc784a76a99 - <::spawn_unchecked_, rustc_driver[6bef90fb01cd5c5b]::run_compiler::{closure#1}>::{closure#0}, core[c37c5d1d9572cc31]::result::Result<(), rustc_errors[67cbba2d4402017b]::ErrorReported>>::{closure#0}, core[c37c5d1d9572cc31]::result::Result<(), rustc_errors[67cbba2d4402017b]::ErrorReported>>::{closure#1} as core[c37c5d1d9572cc31]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 34: 0x7fc782479bd3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stderr] 35: 0x7fc782479bd3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stderr] 36: 0x7fc782479bd3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stderr] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 37: 0x7fc78238b609 - start_thread [INFO] [stderr] 38: 0x7fc7822a5293 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.60.0-beta.1 (0a4f984a8 2022-02-22) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error; 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` due to previous error; 84 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1775d2a734def571f005419dd39a1afbd6a92823ca038fd58bc9a2e079d042bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1775d2a734def571f005419dd39a1afbd6a92823ca038fd58bc9a2e079d042bf", kill_on_drop: false }` [INFO] [stdout] 1775d2a734def571f005419dd39a1afbd6a92823ca038fd58bc9a2e079d042bf