[INFO] cloning repository https://github.com/abdavis/advent_of_code_2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abdavis/advent_of_code_2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdavis%2Fadvent_of_code_2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdavis%2Fadvent_of_code_2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db54db1578029fd7add37f9eaa1809589b88c766 [INFO] checking abdavis/advent_of_code_2023 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdavis%2Fadvent_of_code_2023" "/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/abdavis/advent_of_code_2023 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abdavis/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/abdavis/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/abdavis/advent_of_code_2023 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/abdavis/advent_of_code_2023 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef8da92b33fee2e6dd5f8706f21e33d7b1b903d4c94bfa21be44dd86ae49b015 [INFO] running `Command { std: "docker" "start" "-a" "ef8da92b33fee2e6dd5f8706f21e33d7b1b903d4c94bfa21be44dd86ae49b015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef8da92b33fee2e6dd5f8706f21e33d7b1b903d4c94bfa21be44dd86ae49b015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef8da92b33fee2e6dd5f8706f21e33d7b1b903d4c94bfa21be44dd86ae49b015", kill_on_drop: false }` [INFO] [stdout] ef8da92b33fee2e6dd5f8706f21e33d7b1b903d4c94bfa21be44dd86ae49b015 [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c0e18f757962f3a97c2ef66c54a33d0281bd7ecb8f9fa01c9838e2bdcca2a20 [INFO] running `Command { std: "docker" "start" "-a" "2c0e18f757962f3a97c2ef66c54a33d0281bd7ecb8f9fa01c9838e2bdcca2a20", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking advent_of_code_2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `schematic` [INFO] [stdout] --> src/day03.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let schematic: Schematic<100> = INPUT.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schematic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schematic` [INFO] [stdout] --> src/day03.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let schematic: Schematic<100> = INPUT.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schematic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/day03.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | Value::Symbol(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/day03.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | Value::Symbol(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day03.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | .filter_map(move |(c, value)| match value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day03.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | .filter_map(move |(c, value)| match value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day01.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const TEST: &str = "two1nine [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day03.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Part` is never constructed [INFO] [stdout] --> src/day03.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day01.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const TEST: &str = "two1nine [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/day03.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Schematic { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | grid: [[Value; N]; N], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day03.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Part` is never constructed [INFO] [stdout] --> src/day03.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parts`, `extract_number`, `extract_left`, and `extract_right` are never used [INFO] [stdout] --> src/day03.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Schematic { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 16 | fn parts(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/day03.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Schematic { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | grid: [[Value; N]; N], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Num(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 | Num(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parts`, `extract_number`, `extract_left`, and `extract_right` are never used [INFO] [stdout] --> src/day03.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Schematic { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 16 | fn parts(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Num(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 | Num(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day03.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | const INPUT: &str = include_str!("inputs/day03.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day05.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day03.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | const INPUT: &str = include_str!("inputs/day03.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seeds` and `maps` are never read [INFO] [stdout] --> src/day05.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Almanac { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | seeds: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | maps: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Almanac` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day05.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lowest_location`, `seed_map`, and `actual_lowest_location` are never used [INFO] [stdout] --> src/day05.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Almanac { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 17 | fn lowest_location(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn seed_map(&self, seed: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn actual_lowest_location(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seeds` and `maps` are never read [INFO] [stdout] --> src/day05.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Almanac { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | seeds: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | maps: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Almanac` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day05.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | struct Map(Vec); [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Map` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | struct Map(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lowest_location`, `seed_map`, and `actual_lowest_location` are never used [INFO] [stdout] --> src/day05.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Almanac { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 17 | fn lowest_location(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn seed_map(&self, seed: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn actual_lowest_location(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day05.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | struct Map(Vec); [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Map` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | struct Map(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `destination`, `source`, and `length` are never read [INFO] [stdout] --> src/day05.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct Range { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 67 | destination: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | source: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Range` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day05.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | const INPUT: &str = include_str!("inputs/day05.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `destination`, `source`, and `length` are never read [INFO] [stdout] --> src/day05.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct Range { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 67 | destination: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | source: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Range` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day05.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | const TEST: &str = "seeds: 79 14 55 13 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day05.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | const INPUT: &str = include_str!("inputs/day05.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day06.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const TEST: &str = "Time: 7 15 30 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day05.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | const TEST: &str = "seeds: 79 14 55 13 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day07.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const TEST: &str = "32T3K 765 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day06.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const TEST: &str = "Time: 7 15 30 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CycleInfo` is never constructed [INFO] [stdout] --> src/day08.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct CycleInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day07.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const TEST: &str = "32T3K 765 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day08.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const TEST: &str = "LLR [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CycleInfo` is never constructed [INFO] [stdout] --> src/day08.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct CycleInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day08.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const TEST: &str = "LLR [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day09.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const TEST: &str = "0 3 6 9 12 15 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day09.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const TEST: &str = "0 3 6 9 12 15 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.85s [INFO] running `Command { std: "docker" "inspect" "2c0e18f757962f3a97c2ef66c54a33d0281bd7ecb8f9fa01c9838e2bdcca2a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c0e18f757962f3a97c2ef66c54a33d0281bd7ecb8f9fa01c9838e2bdcca2a20", kill_on_drop: false }` [INFO] [stdout] 2c0e18f757962f3a97c2ef66c54a33d0281bd7ecb8f9fa01c9838e2bdcca2a20 [INFO] checking abdavis/advent_of_code_2023 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdavis%2Fadvent_of_code_2023" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abdavis/advent_of_code_2023 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abdavis/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/abdavis/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/abdavis/advent_of_code_2023 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/abdavis/advent_of_code_2023 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35cf8a7b5740608a334ea0e8148617f35d108f8b0ed4eaf7ec8130039ff04540 [INFO] running `Command { std: "docker" "start" "-a" "35cf8a7b5740608a334ea0e8148617f35d108f8b0ed4eaf7ec8130039ff04540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35cf8a7b5740608a334ea0e8148617f35d108f8b0ed4eaf7ec8130039ff04540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35cf8a7b5740608a334ea0e8148617f35d108f8b0ed4eaf7ec8130039ff04540", kill_on_drop: false }` [INFO] [stdout] 35cf8a7b5740608a334ea0e8148617f35d108f8b0ed4eaf7ec8130039ff04540 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 659761c82ad3c09884663f3e81f6da76b3ec35a149dcb91d48926defe0929777 [INFO] running `Command { std: "docker" "start" "-a" "659761c82ad3c09884663f3e81f6da76b3ec35a149dcb91d48926defe0929777", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking advent_of_code_2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `schematic` [INFO] [stdout] --> src/day03.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let schematic: Schematic<100> = INPUT.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schematic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/day03.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | Value::Symbol(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day03.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | .filter_map(move |(c, value)| match value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schematic` [INFO] [stdout] --> src/day03.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let schematic: Schematic<100> = INPUT.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schematic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/day03.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | Value::Symbol(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day03.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | .filter_map(move |(c, value)| match value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/day03.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/day03.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day01.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const TEST: &str = "two1nine [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day03.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Part` is never constructed [INFO] [stdout] --> src/day03.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/day03.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Schematic { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | grid: [[Value; N]; N], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parts`, `extract_number`, `extract_left`, and `extract_right` are never used [INFO] [stdout] --> src/day03.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Schematic { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 16 | fn parts(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Num(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 | Num(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day03.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | const INPUT: &str = include_str!("inputs/day03.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day05.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seeds` and `maps` are never read [INFO] [stdout] --> src/day05.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Almanac { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | seeds: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | maps: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Almanac` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lowest_location`, `seed_map`, and `actual_lowest_location` are never used [INFO] [stdout] --> src/day05.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Almanac { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 17 | fn lowest_location(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn seed_map(&self, seed: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn actual_lowest_location(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day05.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | struct Map(Vec); [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Map` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | struct Map(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `destination`, `source`, and `length` are never read [INFO] [stdout] --> src/day05.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct Range { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 67 | destination: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | source: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Range` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day05.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | const INPUT: &str = include_str!("inputs/day05.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day05.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | const TEST: &str = "seeds: 79 14 55 13 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day06.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const TEST: &str = "Time: 7 15 30 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day07.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const TEST: &str = "32T3K 765 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CycleInfo` is never constructed [INFO] [stdout] --> src/day08.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct CycleInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day08.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const TEST: &str = "LLR [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day09.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const TEST: &str = "0 3 6 9 12 15 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day01.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const TEST: &str = "two1nine [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day03.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Part` is never constructed [INFO] [stdout] --> src/day03.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/day03.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Schematic { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | grid: [[Value; N]; N], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parts`, `extract_number`, `extract_left`, and `extract_right` are never used [INFO] [stdout] --> src/day03.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Schematic { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 16 | fn parts(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn extract_number(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn extract_left(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn extract_right(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Num(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 | Num(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day03.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day03.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | const INPUT: &str = include_str!("inputs/day03.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day05.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seeds` and `maps` are never read [INFO] [stdout] --> src/day05.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Almanac { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | seeds: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | maps: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Almanac` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lowest_location`, `seed_map`, and `actual_lowest_location` are never used [INFO] [stdout] --> src/day05.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Almanac { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 17 | fn lowest_location(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn seed_map(&self, seed: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn actual_lowest_location(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day05.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | struct Map(Vec); [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Map` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | struct Map(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `destination`, `source`, and `length` are never read [INFO] [stdout] --> src/day05.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct Range { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 67 | destination: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | source: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Range` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day05.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | const INPUT: &str = include_str!("inputs/day05.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day05.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | const TEST: &str = "seeds: 79 14 55 13 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day06.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const TEST: &str = "Time: 7 15 30 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day07.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const TEST: &str = "32T3K 765 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CycleInfo` is never constructed [INFO] [stdout] --> src/day08.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct CycleInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day08.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const TEST: &str = "LLR [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST` is never used [INFO] [stdout] --> src/day09.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const TEST: &str = "0 3 6 9 12 15 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.27s [INFO] running `Command { std: "docker" "inspect" "659761c82ad3c09884663f3e81f6da76b3ec35a149dcb91d48926defe0929777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659761c82ad3c09884663f3e81f6da76b3ec35a149dcb91d48926defe0929777", kill_on_drop: false }` [INFO] [stdout] 659761c82ad3c09884663f3e81f6da76b3ec35a149dcb91d48926defe0929777