[INFO] cloning repository https://github.com/metime00/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/metime00/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetime00%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetime00%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3231a1235f96e7f9eb19cb2e66116ec5b4aa8359 [INFO] checking metime00/advent-of-code against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetime00%2Fadvent-of-code" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/metime00/advent-of-code [INFO] finished tweaking git repo https://github.com/metime00/advent-of-code [INFO] tweaked toml for git repo https://github.com/metime00/advent-of-code written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/metime00/advent-of-code on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/metime00/advent-of-code 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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bdb7dbc56be91d9c9fae4856dda093d7c6562487371a699e0ed7f16e84df98c [INFO] running `Command { std: "docker" "start" "-a" "1bdb7dbc56be91d9c9fae4856dda093d7c6562487371a699e0ed7f16e84df98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bdb7dbc56be91d9c9fae4856dda093d7c6562487371a699e0ed7f16e84df98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bdb7dbc56be91d9c9fae4856dda093d7c6562487371a699e0ed7f16e84df98c", kill_on_drop: false }` [INFO] [stdout] 1bdb7dbc56be91d9c9fae4856dda093d7c6562487371a699e0ed7f16e84df98c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5879bb4fb99bafbde89ee21a9097a8824e3c4983cee76416cf66c5363a03985 [INFO] running `Command { std: "docker" "start" "-a" "f5879bb4fb99bafbde89ee21a9097a8824e3c4983cee76416cf66c5363a03985", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::{self, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::swap` [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{cmp::Reverse, collections::BinaryHeap, mem::swap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::{self, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::swap` [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{cmp::Reverse, collections::BinaryHeap, mem::swap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | fn calculate_joker_hand_type(cards: [i32; 5]) -> HandType { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand_type` [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let hand_type = calculate_joker_hand_type(cards); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hand_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | &BlockRun::File(length, id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_solve` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn simple_solve(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn solve_complex(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_board_load` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn calculate_board_load(input: &Board) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_row_load` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn calculate_row_load(input: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roll_board` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn roll_board(input: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roll_row` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn roll_row(input: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_board` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn rotate_board(input: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn process_input(input: &str) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct Board(Vec>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Space` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:169:6 [INFO] [stdout] | [INFO] [stdout] 169 | enum Space { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:311:7 [INFO] [stdout] | [INFO] [stdout] 311 | const INPUT_1: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:324:7 [INFO] [stdout] | [INFO] [stdout] 324 | const INPUT_2: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_complex(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn process_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Play` is never constructed [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct Play { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_hand_type` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn calculate_hand_type(cards: [i32; 5]) -> HandType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_joker_hand_type` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn calculate_joker_hand_type(cards: [i32; 5]) -> HandType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HandType` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 111 | enum HandType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hand` is never constructed [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | struct Hand { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `jokerfy` are never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl Hand { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 128 | fn new(cards: [i32; 5]) -> Hand { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn jokerfy(cards: [i32; 5]) -> Hand { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_card` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn value_card(c: char) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_hand` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn convert_hand(v: Vec) -> [i32; 5] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:278:7 [INFO] [stdout] | [INFO] [stdout] 278 | const INPUT_1: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:286:7 [INFO] [stdout] | [INFO] [stdout] 286 | const INPUT_2: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_1.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_1.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn solve_complex(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_1.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn process_input(input: &str) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_1.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | const INPUT_1: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_1.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | const INPUT_2: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Report` is never constructed [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Report<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Report<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(contents: &'a Vec) -> Report<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_inner` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn simple_inner(input: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsafe_level` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn unsafe_level(&(left, right): &(i32, i32), decreasing: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_decreasing` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_decreasing(input: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn solve_complex(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complex_inner` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn complex_inner(input: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn process_input(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | const INPUT_1: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | const INPUT_2: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_mul` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_mul(input: &str) -> Command { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_command` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_command(input: &str) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn process_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn solve_complex(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | const INPUT_1: &str = r#"xmul(2,4)%&mul[3,7]!@^do_not_mul(5,5)+mul(32,64]then(mul(11,8)mul(8,5))"#; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | const INPUT_2: &str = r#"'{}mul(339,896)>^+!)^mul(799,303)don't()>mul(188,763)'<};who()select()%;+mul(924,355)mul(492,757) what()mul(582,... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_3` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | const INPUT_3: &str = [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLOPES` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SLOPES: [(i32, i32); 8] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATTERN` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const PATTERN: [char; 4] = ['X', 'M', 'A', 'S']; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Grid` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type Grid = Vec>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const INPUT_1: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const INPUT_2: &str = r#""#; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_5.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn process_input(input: &str) -> (HashMap>, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_update` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_5.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn process_update(update: &Vec, rules: &HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_5.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reorder_update` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_5.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn reorder_update(mut update: Vec, rules: &HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_5.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn solve_complex(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_5.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_5.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | const INPUT_1: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_5.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | const INPUT_2: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Grid` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Grid = Vec>; // [row][column] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `X` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type X = isize; // where leftmost char is x = 0. [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Y` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type Y = isize; // where top row is y = 0. [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coord` is never constructed [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Coord(X, Y); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Griderator` is never constructed [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Griderator<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIRECTION` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DIRECTION: [Coord; 4] = [Coord(0, -1), Coord(1, 0), Coord(0, 1), Coord(-1, 0)]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_usize` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn try_usize(coord: Coord) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_map` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn on_map(coord: Coord, grid: &Grid, direction_index: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn process_input(input: &str) -> Grid { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_guard` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn find_guard(grid: &Grid) -> Coord { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DirectionalSpace` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:121:6 [INFO] [stdout] | [INFO] [stdout] 121 | type DirectionalSpace = [bool; 4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LoopGrid` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:122:6 [INFO] [stdout] | [INFO] [stdout] 122 | type LoopGrid = Vec>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_loop` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn detect_loop(grid: &Grid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn solve_complex(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:303:7 [INFO] [stdout] | [INFO] [stdout] 303 | const INPUT_1: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 316 | const INPUT_2: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entry` is never constructed [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn process_input(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operator_check` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn operator_check(entry: &Entry) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn solve_simple(input: &str) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_concat` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn num_concat(lhs: isize, rhs: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operator_check_complex` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn operator_check_complex(entry: &Entry) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn solve_complex(input: &str) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | const INPUT_1: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | const INPUT_2: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn solve_simple(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Length` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | type Length = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Id` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | type Id = usize; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockRun` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | enum BlockRun { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input_complex` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn process_input_complex(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fit_file` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn fit_file( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_checksum` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn calculate_checksum(offset: usize, size: usize, id: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn solve_complex(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:245:7 [INFO] [stdout] | [INFO] [stdout] 245 | const INPUT_2: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | fn calculate_joker_hand_type(cards: [i32; 5]) -> HandType { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand_type` [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let hand_type = calculate_joker_hand_type(cards); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hand_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/aoc_2024/aoc_2024_9.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | &BlockRun::File(length, id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_14.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_complex` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn solve_complex(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_joker_hand_type` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn calculate_joker_hand_type(cards: [i32; 5]) -> HandType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `jokerfy` is never used [INFO] [stdout] --> src/aoc_2023/aoc_2023_7.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl Hand { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | fn jokerfy(cards: [i32; 5]) -> Hand { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_3.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLOPES` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SLOPES: [(i32, i32); 8] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATTERN` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const PATTERN: [char; 4] = ['X', 'M', 'A', 'S']; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Grid` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type Grid = Vec>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_simple` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn solve_simple(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_1` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const INPUT_1: &str = r#" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_2` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_4.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const INPUT_2: &str = r#""#; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_5.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_6.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc_2024/aoc_2024_7.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.14s [INFO] running `Command { std: "docker" "inspect" "f5879bb4fb99bafbde89ee21a9097a8824e3c4983cee76416cf66c5363a03985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5879bb4fb99bafbde89ee21a9097a8824e3c4983cee76416cf66c5363a03985", kill_on_drop: false }` [INFO] [stdout] f5879bb4fb99bafbde89ee21a9097a8824e3c4983cee76416cf66c5363a03985