[INFO] cloning repository https://github.com/hdlproject/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hdlproject/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdlproject%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdlproject%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8454d5fb800db403470ddb94548a68be5a781ea [INFO] checking hdlproject/advent-of-code-2023 against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdlproject%2Fadvent-of-code-2023" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hdlproject/advent-of-code-2023 on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hdlproject/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/hdlproject/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/hdlproject/advent-of-code-2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hdlproject/advent-of-code-2023 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a3339ecd40368c2800b479db1bb021c3ba28ea20b32678b1f0a5d21c7a06d7f [INFO] running `Command { std: "docker" "start" "-a" "9a3339ecd40368c2800b479db1bb021c3ba28ea20b32678b1f0a5d21c7a06d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a3339ecd40368c2800b479db1bb021c3ba28ea20b32678b1f0a5d21c7a06d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3339ecd40368c2800b479db1bb021c3ba28ea20b32678b1f0a5d21c7a06d7f", kill_on_drop: false }` [INFO] [stdout] 9a3339ecd40368c2800b479db1bb021c3ba28ea20b32678b1f0a5d21c7a06d7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b043ee91d9882929db470908bc40f69edf3a3a1797967d9f12aa03a446452426 [INFO] running `Command { std: "docker" "start" "-a" "b043ee91d9882929db470908bc40f69edf3a3a1797967d9f12aa03a446452426", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day4/solution.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day5/solution.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day6/solution.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day7/solution.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day4/solution.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day5/solution.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day6/solution.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day7/solution.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/day2/solution.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | for (color, number) in color_max { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/day2/solution.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | for (color, number) in color_max { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_loc` is never read [INFO] [stdout] --> src/day5/solution.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut min_loc: i64 = Default::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_loc` is never read [INFO] [stdout] --> src/day5/solution.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut min_loc: i64 = Default::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_loc` is never read [INFO] [stdout] --> src/day5/solution.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut min_loc: i64 = Default::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_loc` is never read [INFO] [stdout] --> src/day5/solution.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut min_loc: i64 = Default::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_loc` is never read [INFO] [stdout] --> src/day5/solution.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut min_loc: i64 = Default::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_loc` is never read [INFO] [stdout] --> src/day5/solution.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut min_loc: i64 = Default::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total` is never read [INFO] [stdout] --> src/day6/solution.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut total: i64 = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total` is never read [INFO] [stdout] --> src/day6/solution.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut total: i64 = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/day8/solution.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | for (head, node) in &self.nodes { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/day8/solution.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | for (head, node) in &self.nodes { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/day8/solution.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | for (head, node) in &self.nodes { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/day8/solution.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | for (head, node) in &self.nodes { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos_and_dir` is never read [INFO] [stdout] --> src/day10/solution.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut pos_and_dir: ((i32, i32), char) = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos_and_dir` is never read [INFO] [stdout] --> src/day10/solution.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut pos_and_dir: ((i32, i32), char) = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/day24/solution.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let rows: Vec = Default::default(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/day24/solution.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let rows: Vec = Default::default(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day1/solution.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day1/solution.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day1/solution.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day2/solution.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day2/solution.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day3/solution.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day1/solution.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day2/solution.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day2/solution.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day3/solution.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day3/solution.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn check_symbol(&self, y: i32, x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn check_number(&self, y: i32, x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn check_gear(&self, item: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn get_north_gear_ratio(&self, y: i32, x: i32) -> (u64, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn get_south_gear_ratio(&self, y: i32, x: i32) -> (u64, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn get_west_gear_ratio(&self, y: i32, x: i32) -> (u64, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn get_east_gear_ratio(&self, y: i32, x: i32) -> (u64, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn get_gear_ratio(&self, y: i32, x: i32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day4/solution.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day4/solution.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn solve(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn solve2(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day5/solution.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `solve2_bruteforce`, `get_range`, `complete_range`, and `solve2` are never used [INFO] [stdout] --> src/day5/solution.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn solve(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn solve2_bruteforce(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn get_range(&self, loc_range: &Vec, stage_areas: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn complete_range(&self, ranges: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn solve2(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day6/solution.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day6/solution.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn solve(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn solve2(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day7/solution.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bid` is never read [INFO] [stdout] --> src/day7/solution.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Hand { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | bid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bid` is never read [INFO] [stdout] --> src/day7/solution.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Hand2 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | bid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hand2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day7/solution.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 117 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_score` is never used [INFO] [stdout] --> src/day7/solution.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_score(hand: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_score2` is never used [INFO] [stdout] --> src/day7/solution.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn get_score2(hand: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day8/solution.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/day8/solution.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `solve2_brute_force`, `solve2`, `gcd`, and `lcm` are never used [INFO] [stdout] --> src/day8/solution.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(input_file: &str) -> Day { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn solve2_brute_force(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn gcd(&self, mut a: u64, mut b: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn lcm(&self, a: u64, b: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day9/solution.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day9/solution.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(input_file: &str) -> Day { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day24/solution.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/day24/solution.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day24/solution.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day24/solution.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn get_determinant(&self, a: f64, b: f64, c: f64, d: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn get_intersect_point(&self, vec1: &Vector, vec2: &Vector) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn get_intersect_point2(&self, vec1: &Vector, vec2: &Vector) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn get_intersect_point3(&self, vec1: &Vector, vec2: &Vector) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn is_sign(&self, number: f64) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn is_future_crossed(&self, intersect: &Point, point: &Point, point_vel: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day1/solution.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | while right >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day1/solution.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | while right >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day3/solution.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn check_symbol(&self, y: i32, x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn check_number(&self, y: i32, x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn check_gear(&self, item: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn get_north_gear_ratio(&self, y: i32, x: i32) -> (u64, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn get_south_gear_ratio(&self, y: i32, x: i32) -> (u64, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn get_west_gear_ratio(&self, y: i32, x: i32) -> (u64, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn get_east_gear_ratio(&self, y: i32, x: i32) -> (u64, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn get_gear_ratio(&self, y: i32, x: i32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day4/solution.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day4/solution.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn solve(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn solve2(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day5/solution.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `solve2_bruteforce`, `get_range`, `complete_range`, and `solve2` are never used [INFO] [stdout] --> src/day5/solution.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn solve(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn solve2_bruteforce(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn get_range(&self, loc_range: &Vec, stage_areas: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn complete_range(&self, ranges: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn solve2(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day6/solution.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day6/solution.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn solve(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn solve2(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day7/solution.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bid` is never read [INFO] [stdout] --> src/day7/solution.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Hand { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | bid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bid` is never read [INFO] [stdout] --> src/day7/solution.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Hand2 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | bid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hand2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day7/solution.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 117 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_score` is never used [INFO] [stdout] --> src/day7/solution.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn get_score(hand: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_score2` is never used [INFO] [stdout] --> src/day7/solution.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn get_score2(hand: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day8/solution.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/day8/solution.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, `solve2_brute_force`, `solve2`, `gcd`, and `lcm` are never used [INFO] [stdout] --> src/day8/solution.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(input_file: &str) -> Day { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn solve2_brute_force(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn gcd(&self, mut a: u64, mut b: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn lcm(&self, a: u64, b: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day9/solution.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `solve2` are never used [INFO] [stdout] --> src/day9/solution.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(input_file: &str) -> Day { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn solve2(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day24/solution.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/day24/solution.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day` is never constructed [INFO] [stdout] --> src/day24/solution.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Day { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day24/solution.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Day { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(input_file: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn get_determinant(&self, a: f64, b: f64, c: f64, d: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn get_intersect_point(&self, vec1: &Vector, vec2: &Vector) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn get_intersect_point2(&self, vec1: &Vector, vec2: &Vector) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn get_intersect_point3(&self, vec1: &Vector, vec2: &Vector) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn is_sign(&self, number: f64) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn is_future_crossed(&self, intersect: &Point, point: &Point, point_vel: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn solve(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day1/solution.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | while right >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day1/solution.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | while right >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "b043ee91d9882929db470908bc40f69edf3a3a1797967d9f12aa03a446452426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b043ee91d9882929db470908bc40f69edf3a3a1797967d9f12aa03a446452426", kill_on_drop: false }` [INFO] [stdout] b043ee91d9882929db470908bc40f69edf3a3a1797967d9f12aa03a446452426