[INFO] cloning repository https://github.com/mdacach/advent_of_code_2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdacach/advent_of_code_2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdacach%2Fadvent_of_code_2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdacach%2Fadvent_of_code_2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fdad19c6de316afad283c93f55977f94848a56f [INFO] checking mdacach/advent_of_code_2022 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdacach%2Fadvent_of_code_2022" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdacach/advent_of_code_2022 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdacach/advent_of_code_2022 [INFO] finished tweaking git repo https://github.com/mdacach/advent_of_code_2022 [INFO] tweaked toml for git repo https://github.com/mdacach/advent_of_code_2022 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mdacach/advent_of_code_2022 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6394dea9d71242860f0b3c0143c14b9bef7d2225efc6e8a45980ca176372418f [INFO] running `Command { std: "docker" "start" "-a" "6394dea9d71242860f0b3c0143c14b9bef7d2225efc6e8a45980ca176372418f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6394dea9d71242860f0b3c0143c14b9bef7d2225efc6e8a45980ca176372418f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6394dea9d71242860f0b3c0143c14b9bef7d2225efc6e8a45980ca176372418f", kill_on_drop: false }` [INFO] [stdout] 6394dea9d71242860f0b3c0143c14b9bef7d2225efc6e8a45980ca176372418f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c7ed542758bf6a659c7953a8128019ecbf69b38b6fb1c1b9365996eb96f258f [INFO] running `Command { std: "docker" "start" "-a" "4c7ed542758bf6a659c7953a8128019ecbf69b38b6fb1c1b9365996eb96f258f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking gimli v0.27.1 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking object v0.30.3 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Checking day_01 v0.1.0 (/opt/rustwide/workdir/day_01) [INFO] [stderr] Checking day_06 v0.1.0 (/opt/rustwide/workdir/day_06) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> day_06/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> day_06/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking day_02 v0.1.0 (/opt/rustwide/workdir/day_02) [INFO] [stderr] Checking day_05 v0.1.0 (/opt/rustwide/workdir/day_05) [INFO] [stderr] Checking day_03 v0.1.0 (/opt/rustwide/workdir/day_03) [INFO] [stderr] Checking day_04 v0.1.0 (/opt/rustwide/workdir/day_04) [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> day_05/src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::{IResult, Parser}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> day_05/src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::{IResult, Parser}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_for_group` is never used [INFO] [stdout] --> day_03/src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn solve_for_group(group: &[&str]) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lower` and `upper` are never read [INFO] [stdout] --> day_04/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Range { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 6 | lower: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | upper: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Range` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `is_contained` and `overlap` are never used [INFO] [stdout] --> day_04/src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Range { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 23 | fn is_contained(first: Range, second: Range) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn overlap(first: Range, second: Range) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `second` are never read [INFO] [stdout] --> day_04/src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Assignment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 35 | first: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | second: Range, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_contained_ranges` and `has_overlapping_ranges` are never used [INFO] [stdout] --> day_04/src/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl Assignment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 40 | fn has_contained_ranges(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn has_overlapping_ranges(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lower` and `upper` are never read [INFO] [stdout] --> day_04/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Range { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 6 | lower: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | upper: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Range` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_range` and `contains_or_is_contained` are never used [INFO] [stdout] --> day_04/src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 61 | trait RangeInclusiveExt { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 62 | fn contains_range(&self, other: &Self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | [INFO] [stdout] 64 | fn contains_or_is_contained(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine` is never used [INFO] [stdout] --> day_04/src/main.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn mine() -> color_eyre::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `is_contained` and `overlap` are never used [INFO] [stdout] --> day_04/src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Range { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 23 | fn is_contained(first: Range, second: Range) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn overlap(first: Range, second: Range) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `second` are never read [INFO] [stdout] --> day_04/src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Assignment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 35 | first: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | second: Range, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_contained_ranges` and `has_overlapping_ranges` are never used [INFO] [stdout] --> day_04/src/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl Assignment { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 40 | fn has_contained_ranges(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn has_overlapping_ranges(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_range` and `contains_or_is_contained` are never used [INFO] [stdout] --> day_04/src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 61 | trait RangeInclusiveExt { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 62 | fn contains_range(&self, other: &Self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | [INFO] [stdout] 64 | fn contains_or_is_contained(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mine` is never used [INFO] [stdout] --> day_04/src/main.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn mine() -> color_eyre::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day_05/src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut parser = delimited(tag("["), take(1_usize), tag("]")); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day_05/src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut parser = delimited(tag("["), take(1_usize), tag("]")); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_for_group` is never used [INFO] [stdout] --> day_03/src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn solve_for_group(group: &[&str]) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> day_04/src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | dbg!(answer); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> day_04/src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | dbg!(answer); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day_05/src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | struct Crate(char); [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Crate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quantity`, `source`, and `destination` are never read [INFO] [stdout] --> day_05/src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | struct Move { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 77 | quantity: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 78 | source: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | destination: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Move` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> day_05/src/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_to_front_of_stack`, `perform_move`, `perform_batch_move`, and `get_topmost_crates` are never used [INFO] [stdout] --> day_05/src/main.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 108 | fn new(number_stacks: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn add_to_front_of_stack(&mut self, stack_number: usize, to_add: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn perform_move(&mut self, m: Move) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn perform_batch_move(&mut self, m: Move) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn get_topmost_crates(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day_05/src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | struct Crate(char); [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Crate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> day_05/src/main.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn main() -> color_eyre::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quantity`, `source`, and `destination` are never read [INFO] [stdout] --> day_05/src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | struct Move { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 77 | quantity: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 78 | source: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | destination: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Move` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> day_05/src/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_to_front_of_stack`, `perform_move`, `perform_batch_move`, and `get_topmost_crates` are never used [INFO] [stdout] --> day_05/src/main.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 108 | fn new(number_stacks: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn add_to_front_of_stack(&mut self, stack_number: usize, to_add: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn perform_move(&mut self, m: Move) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn perform_batch_move(&mut self, m: Move) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn get_topmost_crates(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> day_05/src/main.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn main() -> color_eyre::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.71s [INFO] running `Command { std: "docker" "inspect" "4c7ed542758bf6a659c7953a8128019ecbf69b38b6fb1c1b9365996eb96f258f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7ed542758bf6a659c7953a8128019ecbf69b38b6fb1c1b9365996eb96f258f", kill_on_drop: false }` [INFO] [stdout] 4c7ed542758bf6a659c7953a8128019ecbf69b38b6fb1c1b9365996eb96f258f