[INFO] cloning repository https://github.com/benmonty/advent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benmonty/advent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenmonty%2Fadvent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenmonty%2Fadvent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1118c23c10a778299bf2052ea48a726d78eaa6cc [INFO] checking benmonty/advent against try#0e1f5e292c80a395d02835ac656d141e992caf89 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenmonty%2Fadvent" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/benmonty/advent [INFO] finished tweaking git repo https://github.com/benmonty/advent [INFO] tweaked toml for git repo https://github.com/benmonty/advent written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/benmonty/advent on toolchain 0e1f5e292c80a395d02835ac656d141e992caf89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e1f5e292c80a395d02835ac656d141e992caf89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/benmonty/advent 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" "+0e1f5e292c80a395d02835ac656d141e992caf89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+0e1f5e292c80a395d02835ac656d141e992caf89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99f924e3a809a51e2972376c9057b6db0e5188f9a23a63f14e3fd4123d472929 [INFO] running `Command { std: "docker" "start" "-a" "99f924e3a809a51e2972376c9057b6db0e5188f9a23a63f14e3fd4123d472929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99f924e3a809a51e2972376c9057b6db0e5188f9a23a63f14e3fd4123d472929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f924e3a809a51e2972376c9057b6db0e5188f9a23a63f14e3fd4123d472929", kill_on_drop: false }` [INFO] [stdout] 99f924e3a809a51e2972376c9057b6db0e5188f9a23a63f14e3fd4123d472929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+0e1f5e292c80a395d02835ac656d141e992caf89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c98075298d623bfe8a2d980744c1b421a9c0adb171a3eea29fef5291490bea9d [INFO] running `Command { std: "docker" "start" "-a" "c98075298d623bfe8a2d980744c1b421a9c0adb171a3eea29fef5291490bea9d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking rustc-hash v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::write` [INFO] [stdout] --> src/day10.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/day14.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/day17.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FxHashMap` and `FxHashSet` [INFO] [stdout] --> src/day17.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_hash::{FxHashMap,FxHashSet}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/day19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/day19.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FxHashMap` [INFO] [stdout] --> src/day19.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_hash::{FxHashSet, FxHashMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::write` [INFO] [stdout] --> src/day23.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::write, fs}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::write` [INFO] [stdout] --> src/day10.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/day14.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/day17.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FxHashMap` and `FxHashSet` [INFO] [stdout] --> src/day17.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_hash::{FxHashMap,FxHashSet}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/day19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/day19.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FxHashMap` [INFO] [stdout] --> src/day19.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_hash::{FxHashSet, FxHashMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day19.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | use crate::common::{self, get_test_data_path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common` [INFO] [stdout] --> src/day21.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | use crate::common; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::write` [INFO] [stdout] --> src/day23.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::write, fs}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_press` [INFO] [stdout] --> src/day13.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | for b_press in 0..max_press_count { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_press` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_a_presses` [INFO] [stdout] --> src/day13.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | ... let num_a_presses = a_moves_x + k*(conf.b_offset.x/gcd_x); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_a_presses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_b_presses` [INFO] [stdout] --> src/day13.rs:292:33 [INFO] [stdout] | [INFO] [stdout] 292 | ... let num_b_presses = b_moves_x - k*(conf.a_offset.x/gcd_x); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_b_presses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report` [INFO] [stdout] --> src/day2.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | let report = Report::from(""); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/day2.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let graph = report.build_graph(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_entity` [INFO] [stdout] --> src/day15.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let src_entity = self.map.get(&src).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_press` [INFO] [stdout] --> src/day13.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | for b_press in 0..max_press_count { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_press` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_a_presses` [INFO] [stdout] --> src/day13.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | ... let num_a_presses = a_moves_x + k*(conf.b_offset.x/gcd_x); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_a_presses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_b_presses` [INFO] [stdout] --> src/day13.rs:292:33 [INFO] [stdout] | [INFO] [stdout] 292 | ... let num_b_presses = b_moves_x - k*(conf.a_offset.x/gcd_x); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_b_presses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_entity` [INFO] [stdout] --> src/day15.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let src_entity = self.map.get(&src).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/day24.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | fn rand_test(device: &Device, gate_overrides: &Vec, iterations: isize) -> isize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_fails` is assigned to, but never used [INFO] [stdout] --> src/day24.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut total_fails = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_fails` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_fails` is assigned to, but never used [INFO] [stdout] --> src/day24.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let mut total_fails = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_fails` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day25.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn _solution2(input: &String) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day2::Report` is more private than the item `count_reports` [INFO] [stdout] --> src/day2.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn count_reports bool>(file_path: PathBuf, filter: F) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `count_reports` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `day2::Report` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day2.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Report { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LocError` is never used [INFO] [stdout] --> src/day1.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum LocError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/day4.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl Query { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 82 | [INFO] [stdout] 83 | fn from(coord: &Coord, value: char) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_obstacle` and `count_tiles` are never used [INFO] [stdout] --> src/day6.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl LabMap { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | fn take_obstacle(&mut self, pos: Pos) -> Obstacle { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn count_tiles(&self, filter: Box bool>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_rows` and `num_cols` are never read [INFO] [stdout] --> src/day8.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct CityMap { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | num_rows: isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | num_cols: isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `step`, `build_children`, and `count_leaf_nodes` are never used [INFO] [stdout] --> src/day11.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl StoneTree { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn step(&mut self) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn build_children(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn count_leaf_nodes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plant_type` is never read [INFO] [stdout] --> src/day12.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Region { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | plant_type: PlantType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src_deer` is never read [INFO] [stdout] --> src/day16.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Move { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 158 | actions: Vec, [INFO] [stdout] 159 | src_deer: Deer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day17.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Ignored(isize); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunkiest_solution` is never used [INFO] [stdout] --> src/day19.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn chunkiest_solution<'a>(towels: &'a FxHashSet, design: &'a str, mut max_len: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/day20.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Dimensions { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | width: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | height: isize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dim` is never read [INFO] [stdout] --> src/day20.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Track { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | dim: Dimensions, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day5.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn iter(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn iter(&self) -> Iter<'_, Rc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day5.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter<'_, Update> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/day24.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | fn rand_test(device: &Device, gate_overrides: &Vec, iterations: isize) -> isize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_fails` is assigned to, but never used [INFO] [stdout] --> src/day24.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut total_fails = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_fails` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_fails` is assigned to, but never used [INFO] [stdout] --> src/day24.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let mut total_fails = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_fails` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day25.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn _solution2(input: &String) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day2::Report` is more private than the item `count_reports` [INFO] [stdout] --> src/day2.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn count_reports bool>(file_path: PathBuf, filter: F) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `count_reports` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `day2::Report` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day2.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Report { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LocError` is never used [INFO] [stdout] --> src/day1.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum LocError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/day4.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl Query { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 82 | [INFO] [stdout] 83 | fn from(coord: &Coord, value: char) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_obstacle` and `count_tiles` are never used [INFO] [stdout] --> src/day6.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl LabMap { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | fn take_obstacle(&mut self, pos: Pos) -> Obstacle { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn count_tiles(&self, filter: Box bool>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_rows` and `num_cols` are never read [INFO] [stdout] --> src/day8.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct CityMap { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | num_rows: isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | num_cols: isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `step`, `build_children`, and `count_leaf_nodes` are never used [INFO] [stdout] --> src/day11.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl StoneTree { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn step(&mut self) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn build_children(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn count_leaf_nodes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plant_type` is never read [INFO] [stdout] --> src/day12.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Region { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | plant_type: PlantType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src_deer` is never read [INFO] [stdout] --> src/day16.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Move { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 158 | actions: Vec, [INFO] [stdout] 159 | src_deer: Deer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day17.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Ignored(isize); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunkiest_solution` is never used [INFO] [stdout] --> src/day19.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn chunkiest_solution<'a>(towels: &'a FxHashSet, design: &'a str, mut max_len: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/day20.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Dimensions { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | width: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | height: isize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dim` is never read [INFO] [stdout] --> src/day20.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Track { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | dim: Dimensions, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day5.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn iter(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn iter(&self) -> Iter<'_, Rc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/day5.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn iter(&self) -> Iter<'_, Update> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.14s [INFO] running `Command { std: "docker" "inspect" "c98075298d623bfe8a2d980744c1b421a9c0adb171a3eea29fef5291490bea9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98075298d623bfe8a2d980744c1b421a9c0adb171a3eea29fef5291490bea9d", kill_on_drop: false }` [INFO] [stdout] c98075298d623bfe8a2d980744c1b421a9c0adb171a3eea29fef5291490bea9d