[INFO] cloning repository https://github.com/ashishkujoy/aoc_2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashishkujoy/aoc_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishkujoy%2Faoc_2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishkujoy%2Faoc_2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 274581b1fbd046e9578a5d09e083b0a8f06fbe82 [INFO] checking ashishkujoy/aoc_2020 against master#8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 for pr-102474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishkujoy%2Faoc_2020" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashishkujoy/aoc_2020 on toolchain 8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ashishkujoy/aoc_2020 [INFO] finished tweaking git repo https://github.com/ashishkujoy/aoc_2020 [INFO] tweaked toml for git repo https://github.com/ashishkujoy/aoc_2020 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ashishkujoy/aoc_2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75e10912577b5493427519e6467b5533fb2245e30bc3ebe2024ace20a4d664fb [INFO] running `Command { std: "docker" "start" "-a" "75e10912577b5493427519e6467b5533fb2245e30bc3ebe2024ace20a4d664fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75e10912577b5493427519e6467b5533fb2245e30bc3ebe2024ace20a4d664fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e10912577b5493427519e6467b5533fb2245e30bc3ebe2024ace20a4d664fb", kill_on_drop: false }` [INFO] [stdout] 75e10912577b5493427519e6467b5533fb2245e30bc3ebe2024ace20a4d664fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc3f0b103b75435d04844890635eca75b4036145b0130b5a5b784cac31c54701 [INFO] running `Command { std: "docker" "start" "-a" "fc3f0b103b75435d04844890635eca75b4036145b0130b5a5b784cac31c54701", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/problems/day_5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/problems/day_6.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/problems/day_8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/problems/day_5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/problems/day_6.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/problems/day_8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problems/day_4.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut tokens = input.split_ascii_whitespace(); [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: function `pair_having_sum_n` is never used [INFO] [stdout] --> src/problems/day_1.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn pair_having_sum_n(n: i64, inputs: &Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_tuple_of_n_having_sum` is never used [INFO] [stdout] --> src/problems/day_1.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn find_tuple_of_n_having_sum(size_of_tuple: u64, sum: i64, inputs: &Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_password_and_policy` is never used [INFO] [stdout] --> src/problems/day_2.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_password_and_policy(input: &str) -> (&str, PasswordPolicy) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_count_of_invalid_passwords` is never used [INFO] [stdout] --> src/problems/day_2.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_count_of_invalid_passwords(inputs: &Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_count_of_valid_passwords_v2` is never used [INFO] [stdout] --> src/problems/day_2.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_count_of_valid_passwords_v2(inputs: &Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/problems/day_2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn parse(input: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_adhered_by` is never used [INFO] [stdout] --> src/problems/day_2.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_adhered_by(&self, password: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_adhered_by_v2` is never used [INFO] [stdout] --> src/problems/day_2.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn is_adhered_by_v2(&self, password: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_tree_on_slop` is never used [INFO] [stdout] --> src/problems/day_3.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_tree_on_slop(input: &Vec>, down_by: usize, shift_right_by: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_product_of_trees` is never used [INFO] [stdout] --> src/problems/day_3.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn find_product_of_trees(input: &Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_password_doc` is never used [INFO] [stdout] --> src/problems/day_4.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_valid_password_doc(doc: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_valid_password_docs` is never used [INFO] [stdout] --> src/problems/day_4.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn count_valid_password_docs(docs: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_valid_password_docs_v2` is never used [INFO] [stdout] --> src/problems/day_4.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn count_valid_password_docs_v2(docs: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/problems/day_4.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse(input: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_between_include_edges` is never used [INFO] [stdout] --> src/problems/day_4.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_between_include_edges(&self, min: usize, max: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/problems/day_4.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse(input: &'i str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_valid` is never used [INFO] [stdout] --> src/problems/day_4.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_valid_hair_color` is never used [INFO] [stdout] --> src/problems/day_4.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn is_valid_hair_color(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_valid_eye_color` is never used [INFO] [stdout] --> src/problems/day_4.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn is_valid_eye_color(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_valid` is never used [INFO] [stdout] --> src/problems/day_4.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/problems/day_4.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn parse(input: &'i str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_valid` is never used [INFO] [stdout] --> src/problems/day_4.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_get_id_for_code` is never used [INFO] [stdout] --> src/problems/day_5.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn get_get_id_for_code(code: &str, lower_bond: usize, upper_bond: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seat_id` is never used [INFO] [stdout] --> src/problems/day_5.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_seat_id(ticket_number: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mid_of` is never used [INFO] [stdout] --> src/problems/day_5.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn mid_of(tuple: (usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_largest_seat_id` is never used [INFO] [stdout] --> src/problems/day_5.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_largest_seat_id(tickets: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_seat_ids` is never used [INFO] [stdout] --> src/problems/day_5.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_all_seat_ids(tickets: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seat_ids_having_diff_2` is never used [INFO] [stdout] --> src/problems/day_5.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn seat_ids_having_diff_2(tickets: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_element_having_given_diff_with` is never used [INFO] [stdout] --> src/problems/day_5.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn find_element_having_given_diff_with( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_unique_questions` is never used [INFO] [stdout] --> src/problems/day_6.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn count_unique_questions(questions: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_of_of_unique_questions_per_group` is never used [INFO] [stdout] --> src/problems/day_6.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn sum_of_of_unique_questions_per_group(questions_per_group: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_count_to_which_we_all_yes_answer` is never used [INFO] [stdout] --> src/problems/day_6.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn question_count_to_which_we_all_yes_answer(questions: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_contains` is never used [INFO] [stdout] --> src/problems/day_6.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn all_contains(vec: &Vec<&str>, character: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_of_questions_to_which_every_one_answered_yes_in_group` is never used [INFO] [stdout] --> src/problems/day_6.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn sum_of_questions_to_which_every_one_answered_yes_in_group(question_per_group: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instruction_pointer` and `accumulator` are never read [INFO] [stdout] --> src/problems/day_8.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct OptMachineState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 43 | instruction_pointer: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | accumulator: isize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptMachineState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accumulator_before_hang` is never used [INFO] [stdout] --> src/problems/day_8.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn accumulator_before_hang(instructions: &str) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accumulator_after_machine_completes` is never used [INFO] [stdout] --> src/problems/day_8.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn accumulator_after_machine_completes(instructions: &str) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/problems/day_8.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse(input: &'s str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute` is never used [INFO] [stdout] --> src/problems/day_8.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn execute(&mut self, opt_machine_state: &OptMachineState) -> OptMachineState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `shift_instruction_pointer_by` is never used [INFO] [stdout] --> src/problems/day_8.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn shift_instruction_pointer_by(&self, shift: isize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_accumulator_by` is never used [INFO] [stdout] --> src/problems/day_8.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn update_accumulator_by(&self, amount: isize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problems/day_4.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut tokens = input.split_ascii_whitespace(); [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: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_count_of_valid_passwords_v2` is never used [INFO] [stdout] --> src/problems/day_2.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_count_of_valid_passwords_v2(inputs: &Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_tree_on_slop` is never used [INFO] [stdout] --> src/problems/day_3.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_tree_on_slop(input: &Vec>, down_by: usize, shift_right_by: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_product_of_trees` is never used [INFO] [stdout] --> src/problems/day_3.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn find_product_of_trees(input: &Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_valid_password_docs_v2` is never used [INFO] [stdout] --> src/problems/day_4.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn count_valid_password_docs_v2(docs: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_largest_seat_id` is never used [INFO] [stdout] --> src/problems/day_5.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_largest_seat_id(tickets: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_element_having_given_diff_with` is never used [INFO] [stdout] --> src/problems/day_5.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn find_element_having_given_diff_with( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_of_questions_to_which_every_one_answered_yes_in_group` is never used [INFO] [stdout] --> src/problems/day_6.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn sum_of_questions_to_which_every_one_answered_yes_in_group(question_per_group: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.41s [INFO] running `Command { std: "docker" "inspect" "fc3f0b103b75435d04844890635eca75b4036145b0130b5a5b784cac31c54701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc3f0b103b75435d04844890635eca75b4036145b0130b5a5b784cac31c54701", kill_on_drop: false }` [INFO] [stdout] fc3f0b103b75435d04844890635eca75b4036145b0130b5a5b784cac31c54701