[INFO] cloning repository https://github.com/kvnvelasco/aoc-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kvnvelasco/aoc-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvnvelasco%2Faoc-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvnvelasco%2Faoc-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63ff9627097c00a7606ea4e3d4008e5f5823b0a4 [INFO] building kvnvelasco/aoc-2023 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvnvelasco%2Faoc-2023" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kvnvelasco/aoc-2023 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kvnvelasco/aoc-2023 [INFO] finished tweaking git repo https://github.com/kvnvelasco/aoc-2023 [INFO] tweaked toml for git repo https://github.com/kvnvelasco/aoc-2023 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kvnvelasco/aoc-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 733acfc5d1b384bfa8a0a18cd7498fd7219b7fc216418a1e96ef97091c82e2a4 [INFO] running `Command { std: "docker" "start" "-a" "733acfc5d1b384bfa8a0a18cd7498fd7219b7fc216418a1e96ef97091c82e2a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "733acfc5d1b384bfa8a0a18cd7498fd7219b7fc216418a1e96ef97091c82e2a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "733acfc5d1b384bfa8a0a18cd7498fd7219b7fc216418a1e96ef97091c82e2a4", kill_on_drop: false }` [INFO] [stdout] 733acfc5d1b384bfa8a0a18cd7498fd7219b7fc216418a1e96ef97091c82e2a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac6e6240ea52ad2b8234bbadfbaa011b0d4cfabaa3fdd8920f7b147078409304 [INFO] running `Command { std: "docker" "start" "-a" "ac6e6240ea52ad2b8234bbadfbaa011b0d4cfabaa3fdd8920f7b147078409304", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling eyre v0.6.9 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling AOC-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Debug`, `Display`, and `Write` [INFO] [stdout] --> src/day_3/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Display, Write}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/day_3/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day_3/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_3/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 72 | None => flush!(), [INFO] [stdout] | -------- in this macro invocation [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 #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flush` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day_5/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroUsize` [INFO] [stdout] --> src/day_5/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/day_5/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `available_parallelism`, `scope`, and `spawn` [INFO] [stdout] --> src/day_5/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::{available_parallelism, scope, spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/day_5/input_data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `rule_line` [INFO] [stdout] --> src/day_5/input_data.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! rule_line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FINAL`, `FULL`, and `TEST` [INFO] [stdout] --> src/day_6/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::day_6::input::{Race, FINAL, FULL, TEST}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroUsize` [INFO] [stdout] --> src/day_6/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day_6/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | if (zero_1.ceil() == zero_1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if (zero_1.ceil() == zero_1) { [INFO] [stdout] 17 + if zero_1.ceil() == zero_1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_flush` is never read [INFO] [stdout] --> src/day_3/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | should_flush = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | flush!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flush` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day_5/input_data.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] ... [INFO] [stdout] 54 | / parser![ [INFO] [stdout] 55 | | seed-to-soil map: [INFO] [stdout] 56 | | 50 98 2 [INFO] [stdout] 57 | | 52 50 48 [INFO] [stdout] ... | [INFO] [stdout] 85 | | 56 93 4 [INFO] [stdout] 86 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k1` [INFO] [stdout] --> src/day_5/input_data.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k1` [INFO] [stdout] ... [INFO] [stdout] 54 | / parser![ [INFO] [stdout] 55 | | seed-to-soil map: [INFO] [stdout] 56 | | 50 98 2 [INFO] [stdout] 57 | | 52 50 48 [INFO] [stdout] ... | [INFO] [stdout] 85 | | 56 93 4 [INFO] [stdout] 86 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day_5/input_data.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] ... [INFO] [stdout] 98 | / parser! [ [INFO] [stdout] 99 | | seed-to-soil map: [INFO] [stdout] 100 | | 2025334497 3876763368 16729580 [INFO] [stdout] 101 | | 1877945250 2032519622 95086460 [INFO] [stdout] ... | [INFO] [stdout] 379 | | 3193297949 4153156612 106313175 [INFO] [stdout] 380 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k1` [INFO] [stdout] --> src/day_5/input_data.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k1` [INFO] [stdout] ... [INFO] [stdout] 98 | / parser! [ [INFO] [stdout] 99 | | seed-to-soil map: [INFO] [stdout] 100 | | 2025334497 3876763368 16729580 [INFO] [stdout] 101 | | 1877945250 2032519622 95086460 [INFO] [stdout] ... | [INFO] [stdout] 379 | | 3193297949 4153156612 106313175 [INFO] [stdout] 380 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/day_5/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | .binary_search_by(|(id, c)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INPUT_1` is never used [INFO] [stdout] --> src/day_1/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static INPUT_1: &'static str = include_str!("./input_1.txt"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_1` is never used [INFO] [stdout] --> src/day_1/mod.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn solve_1(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_2` is never used [INFO] [stdout] --> src/day_1/mod.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn solve_2(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `attempts` are never read [INFO] [stdout] --> src/day_2/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 65 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | attempts: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` 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 `compute_valid_games` is never used [INFO] [stdout] --> src/day_2/mod.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn compute_valid_games(games: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_powers` is never used [INFO] [stdout] --> src/day_2/mod.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn compute_powers(games: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_model_numbers` is never used [INFO] [stdout] --> src/day_3/mod.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_model_numbers(grid: Grid) -> eyre::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gears` is never used [INFO] [stdout] --> src/day_3/mod.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_gears(grid: Grid) -> eyre::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitfield_to_vectorfield` is never used [INFO] [stdout] --> src/day_3/mod.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn bitfield_to_vectorfield(bitfield: [u32; 3]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_number_in_grid_from` is never used [INFO] [stdout] --> src/day_3/mod.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn find_number_in_grid_from(grid: &Grid, pos: Coordinate) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `create_bitfield_around` are never used [INFO] [stdout] --> src/day_3/model.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 13 | pub(super) fn get(&self, index: Coordinate) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(super) fn create_bitfield_around(&self, coordinate: Coordinate) -> [u32; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_neighbors` and `distance` are never used [INFO] [stdout] --> src/day_3/model.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 126 | impl Coordinate { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 127 | pub(super) fn get_neighbors(self) -> [Option; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn distance(&self, _rhs: &Self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Card` is never constructed [INFO] [stdout] --> src/day_4/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Card { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_sum_of_cards` is never used [INFO] [stdout] --> src/day_4/mod.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn compute_sum_of_cards(cards: &[Card]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_outrageous_things` is never used [INFO] [stdout] --> src/day_4/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn do_outrageous_things(cards: &[Card]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TEST_DATA` is never used [INFO] [stdout] --> src/day_4/test_source.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(super) static TEST_DATA: &'static [CardStruct] = parser![ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PROBLEM_DATA` is never used [INFO] [stdout] --> src/day_4/test_source.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) static PROBLEM_DATA: &'static [CardStruct] = parser![ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_key_chain` is never used [INFO] [stdout] --> src/day_5/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn build_key_chain(maps: &Maps) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_location_for_seed` is never used [INFO] [stdout] --> src/day_5/mod.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn find_location_for_seed(seed: usize, lookup_chain: &[Key], maps: &Maps) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Key` is never used [INFO] [stdout] --> src/day_5/input_data.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Key = (&'static str, &'static str); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Maps` is never used [INFO] [stdout] --> src/day_5/input_data.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Maps = HashMap)>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEEDS` is never used [INFO] [stdout] --> src/day_5/input_data.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub static SEEDS: &'static [usize] = &[$($id), *]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | / parser![ [INFO] [stdout] 47 | | seeds: 79 14 55 13 [INFO] [stdout] 48 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEED_RANGE` is never used [INFO] [stdout] --> src/day_5/input_data.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub static SEED_RANGE: &'static [Range] = &[$($start..($start + $end)), *]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | / seed_ranges![ [INFO] [stdout] 51 | | seeds: 79 14 55 13 [INFO] [stdout] 52 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `seed_ranges` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_maps` is never used [INFO] [stdout] --> src/day_5/input_data.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_maps() -> Maps { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | / parser![ [INFO] [stdout] 55 | | seed-to-soil map: [INFO] [stdout] 56 | | 50 98 2 [INFO] [stdout] 57 | | 52 50 48 [INFO] [stdout] ... | [INFO] [stdout] 85 | | 56 93 4 [INFO] [stdout] 86 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEEDS` is never used [INFO] [stdout] --> src/day_5/input_data.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub static SEEDS: &'static [usize] = &[$($id), *]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / parser! [ [INFO] [stdout] 91 | | seeds: 515785082 87905039 2104518691 503149843 720333403 385234193 1357904101 283386167 93533455 128569683 2844655470 24994629 393451... [INFO] [stdout] 92 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEED_RANGE` is never used [INFO] [stdout] --> src/day_5/input_data.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub static SEED_RANGE: &'static [Range] = &[$($start..($start + $end)), *]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | / seed_ranges! [ [INFO] [stdout] 95 | | seeds: 515785082 87905039 2104518691 503149843 720333403 385234193 1357904101 283386167 93533455 128569683 2844655470 24994629 393451... [INFO] [stdout] 96 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `seed_ranges` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_maps` is never used [INFO] [stdout] --> src/day_5/input_data.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_maps() -> Maps { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | / parser! [ [INFO] [stdout] 99 | | seed-to-soil map: [INFO] [stdout] 100 | | 2025334497 3876763368 16729580 [INFO] [stdout] 101 | | 1877945250 2032519622 95086460 [INFO] [stdout] ... | [INFO] [stdout] 379 | | 3193297949 4153156612 106313175 [INFO] [stdout] 380 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_max_ways_to_win` is never used [INFO] [stdout] --> src/day_6/mod.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn compute_max_ways_to_win(race: &Race) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Race` is never constructed [INFO] [stdout] --> src/day_6/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Race { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FINAL` is never used [INFO] [stdout] --> src/day_6/input.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub static FINAL: Race = Race { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FULL` is never used [INFO] [stdout] --> src/day_6/input.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub static FULL: &'static [Race] = &[ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TEST` is never used [INFO] [stdout] --> src/day_6/input.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub static TEST: &'static [Race] = &[ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `AOC_rs` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `aoc_rs` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: AOC-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ac6e6240ea52ad2b8234bbadfbaa011b0d4cfabaa3fdd8920f7b147078409304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6e6240ea52ad2b8234bbadfbaa011b0d4cfabaa3fdd8920f7b147078409304", kill_on_drop: false }` [INFO] [stdout] ac6e6240ea52ad2b8234bbadfbaa011b0d4cfabaa3fdd8920f7b147078409304 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2f49bad1933ee149cbc1ad9f5f0d34ef106f45077a2c2cf6ef3fc517f0f0570 [INFO] running `Command { std: "docker" "start" "-a" "d2f49bad1933ee149cbc1ad9f5f0d34ef106f45077a2c2cf6ef3fc517f0f0570", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Debug`, `Display`, and `Write` [INFO] [stdout] --> src/day_3/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Display, Write}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/day_3/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day_3/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_3/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 72 | None => flush!(), [INFO] [stdout] | -------- in this macro invocation [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 #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flush` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day_5/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroUsize` [INFO] [stdout] --> src/day_5/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/day_5/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `available_parallelism`, `scope`, and `spawn` [INFO] [stdout] --> src/day_5/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::{available_parallelism, scope, spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/day_5/input_data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `rule_line` [INFO] [stdout] --> src/day_5/input_data.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! rule_line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FINAL`, `FULL`, and `TEST` [INFO] [stdout] --> src/day_6/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::day_6::input::{Race, FINAL, FULL, TEST}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroUsize` [INFO] [stdout] --> src/day_6/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day_6/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | if (zero_1.ceil() == zero_1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if (zero_1.ceil() == zero_1) { [INFO] [stdout] 17 + if zero_1.ceil() == zero_1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_flush` is never read [INFO] [stdout] --> src/day_3/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | should_flush = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | flush!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flush` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day_5/input_data.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] ... [INFO] [stdout] 54 | / parser![ [INFO] [stdout] 55 | | seed-to-soil map: [INFO] [stdout] 56 | | 50 98 2 [INFO] [stdout] 57 | | 52 50 48 [INFO] [stdout] ... | [INFO] [stdout] 85 | | 56 93 4 [INFO] [stdout] 86 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k1` [INFO] [stdout] --> src/day_5/input_data.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k1` [INFO] [stdout] ... [INFO] [stdout] 54 | / parser![ [INFO] [stdout] 55 | | seed-to-soil map: [INFO] [stdout] 56 | | 50 98 2 [INFO] [stdout] 57 | | 52 50 48 [INFO] [stdout] ... | [INFO] [stdout] 85 | | 56 93 4 [INFO] [stdout] 86 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day_5/input_data.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] ... [INFO] [stdout] 98 | / parser! [ [INFO] [stdout] 99 | | seed-to-soil map: [INFO] [stdout] 100 | | 2025334497 3876763368 16729580 [INFO] [stdout] 101 | | 1877945250 2032519622 95086460 [INFO] [stdout] ... | [INFO] [stdout] 379 | | 3193297949 4153156612 106313175 [INFO] [stdout] 380 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k1` [INFO] [stdout] --> src/day_5/input_data.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k1` [INFO] [stdout] ... [INFO] [stdout] 98 | / parser! [ [INFO] [stdout] 99 | | seed-to-soil map: [INFO] [stdout] 100 | | 2025334497 3876763368 16729580 [INFO] [stdout] 101 | | 1877945250 2032519622 95086460 [INFO] [stdout] ... | [INFO] [stdout] 379 | | 3193297949 4153156612 106313175 [INFO] [stdout] 380 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/day_5/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | .binary_search_by(|(id, c)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INPUT_1` is never used [INFO] [stdout] --> src/day_1/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static INPUT_1: &'static str = include_str!("./input_1.txt"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_1` is never used [INFO] [stdout] --> src/day_1/mod.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn solve_1(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_2` is never used [INFO] [stdout] --> src/day_1/mod.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn solve_2(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `attempts` are never read [INFO] [stdout] --> src/day_2/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 65 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | attempts: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` 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 `compute_valid_games` is never used [INFO] [stdout] --> src/day_2/mod.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn compute_valid_games(games: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_powers` is never used [INFO] [stdout] --> src/day_2/mod.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn compute_powers(games: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_model_numbers` is never used [INFO] [stdout] --> src/day_3/mod.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_model_numbers(grid: Grid) -> eyre::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gears` is never used [INFO] [stdout] --> src/day_3/mod.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_gears(grid: Grid) -> eyre::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitfield_to_vectorfield` is never used [INFO] [stdout] --> src/day_3/mod.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn bitfield_to_vectorfield(bitfield: [u32; 3]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_number_in_grid_from` is never used [INFO] [stdout] --> src/day_3/mod.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn find_number_in_grid_from(grid: &Grid, pos: Coordinate) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `create_bitfield_around` are never used [INFO] [stdout] --> src/day_3/model.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 13 | pub(super) fn get(&self, index: Coordinate) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(super) fn create_bitfield_around(&self, coordinate: Coordinate) -> [u32; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_neighbors` and `distance` are never used [INFO] [stdout] --> src/day_3/model.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 126 | impl Coordinate { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 127 | pub(super) fn get_neighbors(self) -> [Option; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn distance(&self, _rhs: &Self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Card` is never constructed [INFO] [stdout] --> src/day_4/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Card { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_sum_of_cards` is never used [INFO] [stdout] --> src/day_4/mod.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn compute_sum_of_cards(cards: &[Card]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_outrageous_things` is never used [INFO] [stdout] --> src/day_4/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn do_outrageous_things(cards: &[Card]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TEST_DATA` is never used [INFO] [stdout] --> src/day_4/test_source.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(super) static TEST_DATA: &'static [CardStruct] = parser![ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PROBLEM_DATA` is never used [INFO] [stdout] --> src/day_4/test_source.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) static PROBLEM_DATA: &'static [CardStruct] = parser![ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_key_chain` is never used [INFO] [stdout] --> src/day_5/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn build_key_chain(maps: &Maps) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_location_for_seed` is never used [INFO] [stdout] --> src/day_5/mod.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn find_location_for_seed(seed: usize, lookup_chain: &[Key], maps: &Maps) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Key` is never used [INFO] [stdout] --> src/day_5/input_data.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Key = (&'static str, &'static str); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Maps` is never used [INFO] [stdout] --> src/day_5/input_data.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Maps = HashMap)>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEEDS` is never used [INFO] [stdout] --> src/day_5/input_data.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub static SEEDS: &'static [usize] = &[$($id), *]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | / parser![ [INFO] [stdout] 47 | | seeds: 79 14 55 13 [INFO] [stdout] 48 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEED_RANGE` is never used [INFO] [stdout] --> src/day_5/input_data.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub static SEED_RANGE: &'static [Range] = &[$($start..($start + $end)), *]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | / seed_ranges![ [INFO] [stdout] 51 | | seeds: 79 14 55 13 [INFO] [stdout] 52 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `seed_ranges` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_maps` is never used [INFO] [stdout] --> src/day_5/input_data.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_maps() -> Maps { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | / parser![ [INFO] [stdout] 55 | | seed-to-soil map: [INFO] [stdout] 56 | | 50 98 2 [INFO] [stdout] 57 | | 52 50 48 [INFO] [stdout] ... | [INFO] [stdout] 85 | | 56 93 4 [INFO] [stdout] 86 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEEDS` is never used [INFO] [stdout] --> src/day_5/input_data.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub static SEEDS: &'static [usize] = &[$($id), *]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / parser! [ [INFO] [stdout] 91 | | seeds: 515785082 87905039 2104518691 503149843 720333403 385234193 1357904101 283386167 93533455 128569683 2844655470 24994629 393451... [INFO] [stdout] 92 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEED_RANGE` is never used [INFO] [stdout] --> src/day_5/input_data.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub static SEED_RANGE: &'static [Range] = &[$($start..($start + $end)), *]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | / seed_ranges! [ [INFO] [stdout] 95 | | seeds: 515785082 87905039 2104518691 503149843 720333403 385234193 1357904101 283386167 93533455 128569683 2844655470 24994629 393451... [INFO] [stdout] 96 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `seed_ranges` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_maps` is never used [INFO] [stdout] --> src/day_5/input_data.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_maps() -> Maps { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | / parser! [ [INFO] [stdout] 99 | | seed-to-soil map: [INFO] [stdout] 100 | | 2025334497 3876763368 16729580 [INFO] [stdout] 101 | | 1877945250 2032519622 95086460 [INFO] [stdout] ... | [INFO] [stdout] 379 | | 3193297949 4153156612 106313175 [INFO] [stdout] 380 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_max_ways_to_win` is never used [INFO] [stdout] --> src/day_6/mod.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn compute_max_ways_to_win(race: &Race) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Race` is never constructed [INFO] [stdout] --> src/day_6/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Race { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling AOC-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: static `FINAL` is never used [INFO] [stdout] --> src/day_6/input.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub static FINAL: Race = Race { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FULL` is never used [INFO] [stdout] --> src/day_6/input.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub static FULL: &'static [Race] = &[ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TEST` is never used [INFO] [stdout] --> src/day_6/input.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub static TEST: &'static [Race] = &[ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `AOC_rs` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `aoc_rs` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug`, `Display`, and `Write` [INFO] [stdout] --> src/day_3/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Display, Write}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/day_3/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day_3/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/day_3/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 72 | None => flush!(), [INFO] [stdout] | -------- in this macro invocation [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 #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flush` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day_5/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroUsize` [INFO] [stdout] --> src/day_5/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/day_5/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `available_parallelism`, `scope`, and `spawn` [INFO] [stdout] --> src/day_5/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::{available_parallelism, scope, spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/day_5/input_data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `rule_line` [INFO] [stdout] --> src/day_5/input_data.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! rule_line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroUsize` [INFO] [stdout] --> src/day_6/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day_6/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | if (zero_1.ceil() == zero_1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if (zero_1.ceil() == zero_1) { [INFO] [stdout] 17 + if zero_1.ceil() == zero_1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_flush` is never read [INFO] [stdout] --> src/day_3/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | should_flush = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | flush!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flush` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day_3/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | &[$t, $m, $b] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 152 | splat!() | bit!(0, 5, 0) | bit!(5, 0, 0) | bit!(0, 0, 5) => { [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bit` which comes from the expansion of the macro `splat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day_5/input_data.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] ... [INFO] [stdout] 54 | / parser![ [INFO] [stdout] 55 | | seed-to-soil map: [INFO] [stdout] 56 | | 50 98 2 [INFO] [stdout] 57 | | 52 50 48 [INFO] [stdout] ... | [INFO] [stdout] 85 | | 56 93 4 [INFO] [stdout] 86 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k1` [INFO] [stdout] --> src/day_5/input_data.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k1` [INFO] [stdout] ... [INFO] [stdout] 54 | / parser![ [INFO] [stdout] 55 | | seed-to-soil map: [INFO] [stdout] 56 | | 50 98 2 [INFO] [stdout] 57 | | 52 50 48 [INFO] [stdout] ... | [INFO] [stdout] 85 | | 56 93 4 [INFO] [stdout] 86 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day_5/input_data.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] ... [INFO] [stdout] 98 | / parser! [ [INFO] [stdout] 99 | | seed-to-soil map: [INFO] [stdout] 100 | | 2025334497 3876763368 16729580 [INFO] [stdout] 101 | | 1877945250 2032519622 95086460 [INFO] [stdout] ... | [INFO] [stdout] 379 | | 3193297949 4153156612 106313175 [INFO] [stdout] 380 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k1` [INFO] [stdout] --> src/day_5/input_data.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | content.sort_by(|(k, v), (k1, v1)| v.start.cmp(&v1.start)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k1` [INFO] [stdout] ... [INFO] [stdout] 98 | / parser! [ [INFO] [stdout] 99 | | seed-to-soil map: [INFO] [stdout] 100 | | 2025334497 3876763368 16729580 [INFO] [stdout] 101 | | 1877945250 2032519622 95086460 [INFO] [stdout] ... | [INFO] [stdout] 379 | | 3193297949 4153156612 106313175 [INFO] [stdout] 380 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/day_5/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | .binary_search_by(|(id, c)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance` is never used [INFO] [stdout] --> src/day_3/model.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl Coordinate { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn distance(&self, _rhs: &Self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/day_4/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEEDS` is never used [INFO] [stdout] --> src/day_5/input_data.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub static SEEDS: &'static [usize] = &[$($id), *]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | / parser![ [INFO] [stdout] 47 | | seeds: 79 14 55 13 [INFO] [stdout] 48 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SEED_RANGE` is never used [INFO] [stdout] --> src/day_5/input_data.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub static SEED_RANGE: &'static [Range] = &[$($start..($start + $end)), *]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | / seed_ranges![ [INFO] [stdout] 51 | | seeds: 79 14 55 13 [INFO] [stdout] 52 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `seed_ranges` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: AOC-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d2f49bad1933ee149cbc1ad9f5f0d34ef106f45077a2c2cf6ef3fc517f0f0570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f49bad1933ee149cbc1ad9f5f0d34ef106f45077a2c2cf6ef3fc517f0f0570", kill_on_drop: false }` [INFO] [stdout] d2f49bad1933ee149cbc1ad9f5f0d34ef106f45077a2c2cf6ef3fc517f0f0570