[INFO] cloning repository https://github.com/Rahul-khandelwal/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/Rahul-khandelwal/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRahul-khandelwal%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRahul-khandelwal%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e308f3f6134bca6fadce4c7db6aa994ee3cb844c [INFO] checking Rahul-khandelwal/advent-of-code against master#8c6ce6b91b172f77c795a74bfeaf74b865146b3f for pr-101345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRahul-khandelwal%2Fadvent-of-code" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rahul-khandelwal/advent-of-code on toolchain 8c6ce6b91b172f77c795a74bfeaf74b865146b3f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rahul-khandelwal/advent-of-code [INFO] finished tweaking git repo https://github.com/Rahul-khandelwal/advent-of-code [INFO] tweaked toml for git repo https://github.com/Rahul-khandelwal/advent-of-code written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Rahul-khandelwal/advent-of-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded permute v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee7c920d74bd1bae59c54ae5a2583743dc00b5ac9b900dac7b71836d7bb9d67f [INFO] running `Command { std: "docker" "start" "-a" "ee7c920d74bd1bae59c54ae5a2583743dc00b5ac9b900dac7b71836d7bb9d67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee7c920d74bd1bae59c54ae5a2583743dc00b5ac9b900dac7b71836d7bb9d67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee7c920d74bd1bae59c54ae5a2583743dc00b5ac9b900dac7b71836d7bb9d67f", kill_on_drop: false }` [INFO] [stdout] ee7c920d74bd1bae59c54ae5a2583743dc00b5ac9b900dac7b71836d7bb9d67f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 412a288fb1f58df5ad1b837a009548d11c3a225c34b4672b47aba99d6b0f6669 [INFO] running `Command { std: "docker" "start" "-a" "412a288fb1f58df5ad1b837a009548d11c3a225c34b4672b47aba99d6b0f6669", kill_on_drop: false }` [INFO] [stderr] Checking permute v0.1.0 [INFO] [stderr] Checking learn-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `noun` [INFO] [stdout] --> src/advent_of_code_day_two.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut noun = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_noun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verb` [INFO] [stdout] --> src/advent_of_code_day_two.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut verb = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_verb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closest_point` [INFO] [stdout] --> src/advent_of_code_day_three.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let closest_point = collisions.clone().map(compute_distance_to_center).min(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closest_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent_of_code_day_two.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut noun = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent_of_code_day_two.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut verb = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_required_fuel` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn get_required_fuel(module_mass: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn input() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_required_fuel` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_required_fuel(module_mass: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_required_fuel_rec` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_required_fuel_rec(mass: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn input() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restore_1202_program_alarm` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn restore_1202_program_alarm(mut input: [i32; 137]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn input() -> [i32; 137] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expected_outcome` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn expected_outcome() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_pair_id_for_expected_outcome` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn find_pair_id_for_expected_outcome(expected_outcome: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_array` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn process_array(mut input: [i32; 137]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn input() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_minimum_collision_distance` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_minimum_collision_distance() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_route` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_route(route: &str) -> Vec<(isize, isize)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_instruction_to_steps` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn convert_instruction_to_steps(route: &str) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_distance_to_center` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn compute_distance_to_center(pos: &(isize, isize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_coord_distance` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute_coord_distance(coord: (isize, isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_2_digit_same` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn is_2_digit_same(input : &Num) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_2_digit_same_advanced` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn is_2_digit_same_advanced(input: &Num) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_increase` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn is_increase(input : &Num) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn input() -> (i32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_number_of_passwords` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_number_of_passwords() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_i32` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_i32(val : i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `increment_one` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn increment_one(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | fn input() -> [i32; 678] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_value` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn input_value() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_value_part_2` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn input_value_part_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diagnostic_code_for_ac` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn diagnostic_code_for_ac() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diagnostic_code_for_ac_part_2` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn diagnostic_code_for_ac_part_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Position` and `Immediate` are never constructed [INFO] [stdout] --> src/advent_of_code_day_five.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 142 | Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 143 | Immediate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/advent_of_code_day_five.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 159 | enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 160 | Halt, [INFO] [stdout] | ^^^^ [INFO] [stdout] 161 | Input(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 162 | Output(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 163 | Add(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^ [INFO] [stdout] 164 | Mul(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^ [INFO] [stdout] 165 | JumpTrue(i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 166 | JumpFalse(i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 167 | LessThan(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 168 | Equals(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Running` and `Halted` are never constructed [INFO] [stdout] --> src/advent_of_code_day_five.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 195 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 196 | Running, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 197 | Halted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/advent_of_code_day_five.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_opcode` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | fn decode_opcode(input: i32) -> (i32, ModeSet) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | fn decode(mem: &[i32]) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_output` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | fn format_output(output: &[i32]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_i32` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | fn from_i32(input: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `size` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_halt` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | fn is_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | fn new(programm: Vec, input: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `tick` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | fn tick(&mut self) -> State { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `process` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | fn process(&mut self, command: &Command) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_value` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_value(&self, x: &i32, mode_x: &Mode) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_total_orbits` is never used [INFO] [stdout] --> src/advent_of_code_day_six.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_total_orbits() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_distance_between_you_and_santa` is never used [INFO] [stdout] --> src/advent_of_code_day_six.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_distance_between_you_and_santa() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_orbit` is never used [INFO] [stdout] --> src/advent_of_code_day_six.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_orbit(s: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_possible_power_to_thrusters` is never used [INFO] [stdout] --> src/advent_of_code_day_seven.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn max_possible_power_to_thrusters() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SolutionOptimized` should have a snake case name [INFO] [stdout] --> src/advent_of_code_day_five.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | mod SolutionOptimized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `solution_optimized` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noun` [INFO] [stdout] --> src/advent_of_code_day_two.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut noun = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_noun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verb` [INFO] [stdout] --> src/advent_of_code_day_two.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut verb = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_verb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closest_point` [INFO] [stdout] --> src/advent_of_code_day_three.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let closest_point = collisions.clone().map(compute_distance_to_center).min(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closest_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent_of_code_day_two.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut noun = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/advent_of_code_day_two.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut verb = 0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_required_fuel` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn get_required_fuel(module_mass: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn input() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_required_fuel` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_required_fuel(module_mass: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_required_fuel_rec` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_required_fuel_rec(mass: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_one.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn input() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restore_1202_program_alarm` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn restore_1202_program_alarm(mut input: [i32; 137]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn input() -> [i32; 137] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expected_outcome` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn expected_outcome() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_pair_id_for_expected_outcome` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn find_pair_id_for_expected_outcome(expected_outcome: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_array` is never used [INFO] [stdout] --> src/advent_of_code_day_two.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn process_array(mut input: [i32; 137]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn input() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_minimum_collision_distance` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_minimum_collision_distance() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_route` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_route(route: &str) -> Vec<(isize, isize)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_instruction_to_steps` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn convert_instruction_to_steps(route: &str) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_distance_to_center` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn compute_distance_to_center(pos: &(isize, isize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_coord_distance` is never used [INFO] [stdout] --> src/advent_of_code_day_three.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute_coord_distance(coord: (isize, isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_2_digit_same` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn is_2_digit_same(input : &Num) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_2_digit_same_advanced` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn is_2_digit_same_advanced(input: &Num) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_increase` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn is_increase(input : &Num) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn input() -> (i32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_number_of_passwords` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_number_of_passwords() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_i32` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_i32(val : i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `increment_one` is never used [INFO] [stdout] --> src/advent_of_code_day_four.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn increment_one(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | fn input() -> [i32; 678] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_value` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn input_value() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_value_part_2` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn input_value_part_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diagnostic_code_for_ac` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn diagnostic_code_for_ac() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diagnostic_code_for_ac_part_2` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn diagnostic_code_for_ac_part_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Position` and `Immediate` are never constructed [INFO] [stdout] --> src/advent_of_code_day_five.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 142 | Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 143 | Immediate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/advent_of_code_day_five.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 159 | enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 160 | Halt, [INFO] [stdout] | ^^^^ [INFO] [stdout] 161 | Input(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 162 | Output(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 163 | Add(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^ [INFO] [stdout] 164 | Mul(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^ [INFO] [stdout] 165 | JumpTrue(i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 166 | JumpFalse(i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 167 | LessThan(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 168 | Equals(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Running` and `Halted` are never constructed [INFO] [stdout] --> src/advent_of_code_day_five.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 195 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 196 | Running, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 197 | Halted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/advent_of_code_day_five.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_opcode` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | fn decode_opcode(input: i32) -> (i32, ModeSet) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | fn decode(mem: &[i32]) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_output` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | fn format_output(output: &[i32]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_i32` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | fn from_i32(input: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `size` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_halt` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | fn is_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | fn new(programm: Vec, input: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `tick` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | fn tick(&mut self) -> State { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `process` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | fn process(&mut self, command: &Command) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_value` is never used [INFO] [stdout] --> src/advent_of_code_day_five.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_value(&self, x: &i32, mode_x: &Mode) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_total_orbits` is never used [INFO] [stdout] --> src/advent_of_code_day_six.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_total_orbits() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_distance_between_you_and_santa` is never used [INFO] [stdout] --> src/advent_of_code_day_six.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_distance_between_you_and_santa() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_orbit` is never used [INFO] [stdout] --> src/advent_of_code_day_six.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_orbit(s: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_possible_power_to_thrusters` is never used [INFO] [stdout] --> src/advent_of_code_day_seven.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn max_possible_power_to_thrusters() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SolutionOptimized` should have a snake case name [INFO] [stdout] --> src/advent_of_code_day_five.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | mod SolutionOptimized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `solution_optimized` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "412a288fb1f58df5ad1b837a009548d11c3a225c34b4672b47aba99d6b0f6669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "412a288fb1f58df5ad1b837a009548d11c3a225c34b4672b47aba99d6b0f6669", kill_on_drop: false }` [INFO] [stdout] 412a288fb1f58df5ad1b837a009548d11c3a225c34b4672b47aba99d6b0f6669