[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRahul-khandelwal%2Fadvent-of-code" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rahul-khandelwal/advent-of-code on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d891932dd930ee4cb519458c4fa1ddb6f8cbfd63de40abddc653e4c6d4d270dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d891932dd930ee4cb519458c4fa1ddb6f8cbfd63de40abddc653e4c6d4d270dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d891932dd930ee4cb519458c4fa1ddb6f8cbfd63de40abddc653e4c6d4d270dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d891932dd930ee4cb519458c4fa1ddb6f8cbfd63de40abddc653e4c6d4d270dd", kill_on_drop: false }` [INFO] [stdout] d891932dd930ee4cb519458c4fa1ddb6f8cbfd63de40abddc653e4c6d4d270dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82356adfabf8b15c5d219ac90d26e6f763d7460672b2dc523feb40c69ba55581 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "82356adfabf8b15c5d219ac90d26e6f763d7460672b2dc523feb40c69ba55581", 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:13 [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:13 [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: unused variable: `noun` [INFO] [stdout] --> src/advent_of_code_day_two.rs:18:13 [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:13 [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 is never used: `get_required_fuel` [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 is never used: `input` [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 is never used: `get_required_fuel` [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 is never used: `get_required_fuel_rec` [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 is never used: `input` [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 is never used: `restore_1202_program_alarm` [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 is never used: `input` [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 is never used: `expected_outcome` [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 is never used: `find_pair_id_for_expected_outcome` [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 is never used: `process_array` [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 is never used: `input` [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 is never used: `get_minimum_collision_distance` [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 is never used: `parse_route` [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 is never used: `convert_instruction_to_steps` [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 is never used: `compute_distance_to_center` [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 is never used: `compute_coord_distance` [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: associated function is never used: `from_i32` [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 is never used: `increment_one` [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 is never used: `is_2_digit_same` [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 never used: `is_2_digit_same_advanced` [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 never used: `is_increase` [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 is never used: `input` [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 is never used: `get_number_of_passwords` [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: function is never used: `input` [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 is never used: `input_value` [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 is never used: `input_value_part_2` [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 is never used: `diagnostic_code_for_ac` [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 is never used: `diagnostic_code_for_ac_part_2` [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: variant is never constructed: `Position` [INFO] [stdout] --> src/advent_of_code_day_five.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Immediate` [INFO] [stdout] --> src/advent_of_code_day_five.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | Immediate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_i32` [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: variant is never constructed: `Halt` [INFO] [stdout] --> src/advent_of_code_day_five.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | Halt, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> src/advent_of_code_day_five.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | Input(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Output` [INFO] [stdout] --> src/advent_of_code_day_five.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | Output(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/advent_of_code_day_five.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | Add(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mul` [INFO] [stdout] --> src/advent_of_code_day_five.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | Mul(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpTrue` [INFO] [stdout] --> src/advent_of_code_day_five.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | JumpTrue(i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpFalse` [INFO] [stdout] --> src/advent_of_code_day_five.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | JumpFalse(i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/advent_of_code_day_five.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | LessThan(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equals` [INFO] [stdout] --> src/advent_of_code_day_five.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | Equals(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [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 never used: `is_halt` [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: variant is never constructed: `Running` [INFO] [stdout] --> src/advent_of_code_day_five.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | Running, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Halted` [INFO] [stdout] --> src/advent_of_code_day_five.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | Halted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CPU` [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: associated function is never used: `new` [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 is never used: `tick` [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 is never used: `run` [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 is never used: `process` [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 is never used: `get_value` [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 is never used: `decode_opcode` [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 is never used: `decode` [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 is never used: `format_output` [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 is never used: `main` [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: function is never used: `get_total_orbits` [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 is never used: `get_distance_between_you_and_santa` [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 is never used: `parse_orbit` [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 is never used: `max_possible_power_to_thrusters` [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: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_required_fuel` [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 is never used: `input` [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 is never used: `get_required_fuel` [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 is never used: `get_required_fuel_rec` [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 is never used: `input` [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 is never used: `restore_1202_program_alarm` [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 is never used: `input` [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 is never used: `expected_outcome` [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 is never used: `find_pair_id_for_expected_outcome` [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 is never used: `process_array` [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 is never used: `input` [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 is never used: `get_minimum_collision_distance` [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 is never used: `parse_route` [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 is never used: `convert_instruction_to_steps` [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 is never used: `compute_distance_to_center` [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 is never used: `compute_coord_distance` [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: associated function is never used: `from_i32` [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 is never used: `increment_one` [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 is never used: `is_2_digit_same` [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 never used: `is_2_digit_same_advanced` [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 never used: `is_increase` [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 is never used: `input` [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 is never used: `get_number_of_passwords` [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: function is never used: `input` [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 is never used: `input_value` [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 is never used: `input_value_part_2` [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 is never used: `diagnostic_code_for_ac` [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 is never used: `diagnostic_code_for_ac_part_2` [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: variant is never constructed: `Position` [INFO] [stdout] --> src/advent_of_code_day_five.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Immediate` [INFO] [stdout] --> src/advent_of_code_day_five.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | Immediate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_i32` [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: variant is never constructed: `Halt` [INFO] [stdout] --> src/advent_of_code_day_five.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | Halt, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> src/advent_of_code_day_five.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | Input(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Output` [INFO] [stdout] --> src/advent_of_code_day_five.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | Output(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/advent_of_code_day_five.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | Add(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mul` [INFO] [stdout] --> src/advent_of_code_day_five.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | Mul(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpTrue` [INFO] [stdout] --> src/advent_of_code_day_five.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | JumpTrue(i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpFalse` [INFO] [stdout] --> src/advent_of_code_day_five.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | JumpFalse(i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/advent_of_code_day_five.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | LessThan(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equals` [INFO] [stdout] --> src/advent_of_code_day_five.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | Equals(i32, i32, i32, ModeSet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [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 never used: `is_halt` [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: variant is never constructed: `Running` [INFO] [stdout] --> src/advent_of_code_day_five.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | Running, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Halted` [INFO] [stdout] --> src/advent_of_code_day_five.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | Halted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CPU` [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: associated function is never used: `new` [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 is never used: `tick` [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 is never used: `run` [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 is never used: `process` [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 is never used: `get_value` [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 is never used: `decode_opcode` [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 is never used: `decode` [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 is never used: `format_output` [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 is never used: `main` [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: function is never used: `get_total_orbits` [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 is never used: `get_distance_between_you_and_santa` [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 is never used: `parse_orbit` [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 is never used: `max_possible_power_to_thrusters` [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: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "82356adfabf8b15c5d219ac90d26e6f763d7460672b2dc523feb40c69ba55581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82356adfabf8b15c5d219ac90d26e6f763d7460672b2dc523feb40c69ba55581", kill_on_drop: false }` [INFO] [stdout] 82356adfabf8b15c5d219ac90d26e6f763d7460672b2dc523feb40c69ba55581