[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 try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishkujoy%2Faoc_2020" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashishkujoy/aoc_2020 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "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-18/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27c87c28bda666155e0faabce997d63ebbc48a0a710311fcb974a9f5df63b31e [INFO] running `Command { std: "docker" "start" "-a" "27c87c28bda666155e0faabce997d63ebbc48a0a710311fcb974a9f5df63b31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27c87c28bda666155e0faabce997d63ebbc48a0a710311fcb974a9f5df63b31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c87c28bda666155e0faabce997d63ebbc48a0a710311fcb974a9f5df63b31e", kill_on_drop: false }` [INFO] [stdout] 27c87c28bda666155e0faabce997d63ebbc48a0a710311fcb974a9f5df63b31e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14fef7e8e6c2100d5438e13944dd411245e7d967cce4da687b3712a9a9923dab [INFO] running `Command { std: "docker" "start" "-a" "14fef7e8e6c2100d5438e13944dd411245e7d967cce4da687b3712a9a9923dab", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [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: 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 is never used: `pair_having_sum_n` [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 is never used: `find_tuple_of_n_having_sum` [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: associated function is never used: `parse` [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 never used: `is_adhered_by` [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 never used: `is_adhered_by_v2` [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 is never used: `parse_password_and_policy` [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 is never used: `get_count_of_invalid_passwords` [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 is never used: `get_count_of_valid_passwords_v2` [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: function is never used: `find_tree_on_slop` [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 is never used: `find_product_of_trees` [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 never used: `is_valid_password_doc` [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 is never used: `count_valid_password_docs` [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 is never used: `count_valid_password_docs_v2` [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 is never used: `parse` [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 never used: `is_between_include_edges` [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 is never used: `parse` [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 never used: `is_valid` [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 never used: `is_valid_hair_color` [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 never used: `is_valid_eye_color` [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 never used: `is_valid` [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 is never used: `parse` [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 never used: `is_valid` [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 is never used: `get_get_id_for_code` [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 is never used: `get_seat_id` [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 is never used: `mid_of` [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 is never used: `get_largest_seat_id` [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 is never used: `get_all_seat_ids` [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 is never used: `seat_ids_having_diff_2` [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 is never used: `find_element_having_given_diff_with` [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 is never used: `count_unique_questions` [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 is never used: `sum_of_of_unique_questions_per_group` [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 is never used: `question_count_to_which_we_all_yes_answer` [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 is never used: `all_contains` [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 is never used: `sum_of_questions_to_which_every_one_answered_yes_in_group` [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: associated function is never used: `parse` [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 is never used: `execute` [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: field is never read: `instruction_pointer` [INFO] [stdout] --> src/problems/day_8.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | instruction_pointer: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `accumulator` [INFO] [stdout] --> src/problems/day_8.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | accumulator: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shift_instruction_pointer_by` [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 is never used: `update_accumulator_by` [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: function is never used: `accumulator_before_hang` [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 is never used: `accumulator_after_machine_completes` [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: function is never used: `get_count_of_valid_passwords_v2` [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 is never used: `find_tree_on_slop` [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 is never used: `find_product_of_trees` [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 never used: `count_valid_password_docs_v2` [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 is never used: `get_largest_seat_id` [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 is never used: `find_element_having_given_diff_with` [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 is never used: `sum_of_questions_to_which_every_one_answered_yes_in_group` [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: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.34s [INFO] running `Command { std: "docker" "inspect" "14fef7e8e6c2100d5438e13944dd411245e7d967cce4da687b3712a9a9923dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14fef7e8e6c2100d5438e13944dd411245e7d967cce4da687b3712a9a9923dab", kill_on_drop: false }` [INFO] [stdout] 14fef7e8e6c2100d5438e13944dd411245e7d967cce4da687b3712a9a9923dab