[INFO] cloning repository https://github.com/Raina3266/advent_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Raina3266/advent_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaina3266%2Fadvent_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaina3266%2Fadvent_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcf068f634d8fcf80a9012ab955bad12448db10d [INFO] checking Raina3266/advent_2024 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaina3266%2Fadvent_2024" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Raina3266/advent_2024 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Raina3266/advent_2024 [INFO] finished tweaking git repo https://github.com/Raina3266/advent_2024 [INFO] tweaked toml for git repo https://github.com/Raina3266/advent_2024 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Raina3266/advent_2024 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36a6f220ae1de9f3ac5a7b7382916c0a4ac4efd17e1f35880c771633feae3e7c [INFO] running `Command { std: "docker" "start" "-a" "36a6f220ae1de9f3ac5a7b7382916c0a4ac4efd17e1f35880c771633feae3e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36a6f220ae1de9f3ac5a7b7382916c0a4ac4efd17e1f35880c771633feae3e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a6f220ae1de9f3ac5a7b7382916c0a4ac4efd17e1f35880c771633feae3e7c", kill_on_drop: false }` [INFO] [stdout] 36a6f220ae1de9f3ac5a7b7382916c0a4ac4efd17e1f35880c771633feae3e7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 445c097b7ec9ac3dc6017734b8677cd2433a3fe1d8a181fc71a54cf2bc1e0674 [INFO] running `Command { std: "docker" "start" "-a" "445c097b7ec9ac3dc6017734b8677cd2433a3fe1d8a181fc71a54cf2bc1e0674", kill_on_drop: false }` [INFO] [stderr] Checking advent_2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Part_One_Operation` should have an upper camel case name [INFO] [stdout] --> src/day_7/mod.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Part_One_Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PartOneOperation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Part_Two_Operation` should have an upper camel case name [INFO] [stdout] --> src/day_7/mod.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | enum Part_Two_Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PartTwoOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/day_14/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Part_One_Operation` should have an upper camel case name [INFO] [stdout] --> src/day_7/mod.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Part_One_Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PartOneOperation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Part_Two_Operation` should have an upper camel case name [INFO] [stdout] --> src/day_7/mod.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | enum Part_Two_Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PartTwoOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/day_14/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/day_12/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_14/mod.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut grid = Grid::new(0, 101, 103); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_1/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_1/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day_1/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn part_2(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_2/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_2/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_single_report_is_increase` is never used [INFO] [stdout] --> src/day_2/mod.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_single_report_is_increase(report: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day_2/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn part_2(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_problem_dampener` is never used [INFO] [stdout] --> src/day_2/mod.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn check_problem_dampener(report: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_3/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_3/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_sequence` is never used [INFO] [stdout] --> src/day_3/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn contains_sequence(vec: &Vec, seq: &[char]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day_3/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn part_2(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_4/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day_4/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Grid<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `check` are never used [INFO] [stdout] --> src/day_4/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Grid<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | fn new(string: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn get(&self, x: isize, y: isize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn check(&self, x: isize, y: isize, letter: char) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_4/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day_4/mod.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn part_2(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_5/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_5/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair_two_indice_for_one_update` is never used [INFO] [stdout] --> src/day_5/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn pair_two_indice_for_one_update(update: &[i32]) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_safety` is never used [INFO] [stdout] --> src/day_5/mod.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn check_safety(list: &[(i32, i32)], update: &[i32], pairs: Vec<(usize, usize)>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day_5/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn part_2(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_incorrect_pair` is never used [INFO] [stdout] --> src/day_5/mod.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn fix_incorrect_pair(mut wrong: Vec, list: &[(i32, i32)]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_6/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/day_6/mod.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `turn` is never used [INFO] [stdout] --> src/day_6/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 15 | fn turn(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day_6/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Grid { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_location`, `change_into_obstacle`, and `change_back` are never used [INFO] [stdout] --> src/day_6/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Grid { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 33 | fn new(string: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn get_location(&self, letter: char) -> Vec<(isize, isize)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn change_into_obstacle(&mut self, x: isize, y: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn change_back(&mut self, x: isize, y: isize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_6/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_forward` is never used [INFO] [stdout] --> src/day_6/mod.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn move_forward(current_facing: Direction, current_location: (isize, isize)) -> (isize, isize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_step_back` is never used [INFO] [stdout] --> src/day_6/mod.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn one_step_back(current_facing: &Direction, current_location: &(isize, isize)) -> (isize, isize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day_6/mod.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn part_2(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_loop` is never used [INFO] [stdout] --> src/day_6/mod.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn check_loop( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_7/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Part_One_Operation` is never used [INFO] [stdout] --> src/day_7/mod.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Part_One_Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next` and `calculate` are never used [INFO] [stdout] --> src/day_7/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Part_One_Operation { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 12 | fn next(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn calculate(&self, x: i64, y: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_7/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn part_1(string: &str) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_operations_part_1` is never used [INFO] [stdout] --> src/day_7/mod.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn create_operations_part_1(length: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_one_operation_part_1` is never used [INFO] [stdout] --> src/day_7/mod.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn create_one_operation_part_1(input: &mut [Part_One_Operation]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_part_1` is never used [INFO] [stdout] --> src/day_7/mod.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn compute_part_1(operations: Vec, nums: &[i64]) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_each_line_part_1` is never used [INFO] [stdout] --> src/day_7/mod.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_each_line_part_1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Part_Two_Operation` is never used [INFO] [stdout] --> src/day_7/mod.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | enum Part_Two_Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next` and `calculate` are never used [INFO] [stdout] --> src/day_7/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl Part_Two_Operation { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 101 | fn next(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn calculate(&self, x: i64, y: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concatenation` is never used [INFO] [stdout] --> src/day_7/mod.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn concatenation(x: i64, y: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day_7/mod.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn part_2(string: &str) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_operations_part_2` is never used [INFO] [stdout] --> src/day_7/mod.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn create_operations_part_2(length: usize) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_one_operation_part_2` is never used [INFO] [stdout] --> src/day_7/mod.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn create_one_operation_part_2(operations: &mut [Part_Two_Operation]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_each_line_part_2` is never used [INFO] [stdout] --> src/day_7/mod.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn check_each_line_part_2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_part_2` is never used [INFO] [stdout] --> src/day_7/mod.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn compute_part_2(operations: Vec, nums: &[i64]) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_8/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day_8/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Grid { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_location`, and `get` are never used [INFO] [stdout] --> src/day_8/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Grid { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | fn new(string: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_location(&self, letter: char) -> Vec<(isize, isize)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn get(&self, location: (isize, isize)) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_8/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_antennas` is never used [INFO] [stdout] --> src/day_8/mod.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_antennas(grid: &Grid) -> Vec<(isize, isize)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_antinodes` is never used [INFO] [stdout] --> src/day_8/mod.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn put_antinodes( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pair_two_antennas` is never used [INFO] [stdout] --> src/day_8/mod.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn pair_two_antennas(antenna: &[(isize, isize)]) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day_8/mod.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn part_2(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_antinodes_part2` is never used [INFO] [stdout] --> src/day_8/mod.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn put_antinodes_part2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_9/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_9/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_11/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Number` is never used [INFO] [stdout] --> src/day_11/mod.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Number = u64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Num` is never used [INFO] [stdout] --> src/day_11/mod.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Num = u64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1_and_2` is never used [INFO] [stdout] --> src/day_11/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn part_1_and_2 (string: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_list` is never used [INFO] [stdout] --> src/day_11/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve_list(nums: &[Num], blink_count: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day_11/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn solve(num: Num, blink_count: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_with_cache` is never used [INFO] [stdout] --> src/day_11/mod.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn solve_with_cache( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blink` is never used [INFO] [stdout] --> src/day_11/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn blink(nums: &mut Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_numbers` is never used [INFO] [stdout] --> src/day_11/mod.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_numbers(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_digits` is never used [INFO] [stdout] --> src/day_11/mod.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn count_digits(mut num: Num) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_num_into_digits` is never used [INFO] [stdout] --> src/day_11/mod.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn split_num_into_digits(num: Num) -> (Num, Num) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_12/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_12/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Number` is never used [INFO] [stdout] --> src/day_13/mod.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Number = i64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_13/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_13/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_1(string: &str) -> Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_machine_number` is never used [INFO] [stdout] --> src/day_13/mod.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_machine_number(string: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_machine_to_win` is never used [INFO] [stdout] --> src/day_13/mod.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn one_machine_to_win(nums: Vec) -> Vec<(Number, Number)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_cheapest` is never used [INFO] [stdout] --> src/day_13/mod.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn find_cheapest(win: Vec<(Number, Number)>) -> Number { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day_13/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn part_2(string: &str) -> Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_machine_to_win_part_two` is never used [INFO] [stdout] --> src/day_13/mod.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn one_machine_to_win_part_two(nums: Vec) -> Vec<(Number, Number)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Number` is never used [INFO] [stdout] --> src/day_14/mod.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Number = i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_data`, `change_back_data`, `print_cam`, and `print` are never used [INFO] [stdout] --> src/day_14/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | fn change_data(&mut self, location_x: i32, location_y: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn change_back_data(&mut self, location_x: i32, location_y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn print_cam(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn print(&self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day_14/mod.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn part_1(string: &str) -> Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculation` is never used [INFO] [stdout] --> src/day_14/mod.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn calculation(grid: Grid) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i64` to `i64` [INFO] [stdout] --> src/day_7/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | result.into() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_2024` (bin "advent_2024") due to 1 previous error; 91 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/day_12/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn part_1(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_14/mod.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut grid = Grid::new(0, 101, 103); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_1/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_2/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_3/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_4/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_5/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_6/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_7/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_8/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_location` is never used [INFO] [stdout] --> src/day_8/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_location(&self, letter: char) -> Vec<(isize, isize)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_9/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_11/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Number` is never used [INFO] [stdout] --> src/day_11/mod.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Number = u64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_12/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day_13/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INPUT: &str = include_str!("./input.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_back_data`, `print_cam`, and `print` are never used [INFO] [stdout] --> src/day_14/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn change_back_data(&mut self, location_x: i32, location_y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn print_cam(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn print(&self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i64` to `i64` [INFO] [stdout] --> src/day_7/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | result.into() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_2024` (bin "advent_2024" test) due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "445c097b7ec9ac3dc6017734b8677cd2433a3fe1d8a181fc71a54cf2bc1e0674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "445c097b7ec9ac3dc6017734b8677cd2433a3fe1d8a181fc71a54cf2bc1e0674", kill_on_drop: false }` [INFO] [stdout] 445c097b7ec9ac3dc6017734b8677cd2433a3fe1d8a181fc71a54cf2bc1e0674