[INFO] cloning repository https://github.com/codicocodes/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codicocodes/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodicocodes%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodicocodes%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed5dcaa16d1bba18cc939ab6876f8a6cc454945e [INFO] checking codicocodes/advent-of-code-2022 against master#0fb279be1d96464c69209053ef0f97ad63088cda for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodicocodes%2Fadvent-of-code-2022" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/codicocodes/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/codicocodes/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/codicocodes/advent-of-code-2022 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codicocodes/advent-of-code-2022 on toolchain 0fb279be1d96464c69209053ef0f97ad63088cda [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codicocodes/advent-of-code-2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aef4fe75302083c6cb91c72db8d65e81b2626de8aaf34f4d4d2ea831d46e7dd6 [INFO] running `Command { std: "docker" "start" "-a" "aef4fe75302083c6cb91c72db8d65e81b2626de8aaf34f4d4d2ea831d46e7dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aef4fe75302083c6cb91c72db8d65e81b2626de8aaf34f4d4d2ea831d46e7dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef4fe75302083c6cb91c72db8d65e81b2626de8aaf34f4d4d2ea831d46e7dd6", kill_on_drop: false }` [INFO] [stdout] aef4fe75302083c6cb91c72db8d65e81b2626de8aaf34f4d4d2ea831d46e7dd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20aa7451b19010ab75f772f0ddb9371ab9382c69ee6d26dff925d0bfc779a070 [INFO] running `Command { std: "docker" "start" "-a" "20aa7451b19010ab75f772f0ddb9371ab9382c69ee6d26dff925d0bfc779a070", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `parse_calories_by_elf` is never used [INFO] [stdout] --> src/days/day01.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_calories_by_elf(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_max_calories` is never used [INFO] [stdout] --> src/days/day01.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn calculate_max_calories(calories: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_top3_calories` is never used [INFO] [stdout] --> src/days/day01.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn calculate_top3_calories(mut calories: Vec) -> i32 { calories.sort(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day01.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn solve_a(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day01.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn solve_b(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day01.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day02.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn solve_a(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day02.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn solve_b(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day02.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HandShape` is never used [INFO] [stdout] --> src/days/day02.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | enum HandShape { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value` and `beats` are never used [INFO] [stdout] --> src/days/day02.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl HandShape { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 27 | fn value(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn beats(&self) -> HandShape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MatchOutcome` is never used [INFO] [stdout] --> src/days/day02.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | enum MatchOutcome { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/days/day02.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl MatchOutcome { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 53 | fn value(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_match_outcome` is never used [INFO] [stdout] --> src/days/day02.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_match_outcome(my_hand: HandShape, opponents_hand: HandShape) -> MatchOutcome { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_hand` is never used [INFO] [stdout] --> src/days/day02.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn play_hand(my_hand: HandShape, opponents_hand: HandShape) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_all_hands` is never used [INFO] [stdout] --> src/days/day02.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn play_all_hands(hand_pairs: Vec<(HandShape, HandShape)>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hand` is never used [INFO] [stdout] --> src/days/day02.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_hand(code: &str) -> HandShape { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_expected_result` is never used [INFO] [stdout] --> src/days/day02.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_expected_result(code: &str) -> MatchOutcome { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hand_from_expected_result` is never used [INFO] [stdout] --> src/days/day02.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_hand_from_expected_result(opponents_hand: HandShape, outcome: MatchOutcome) -> HandShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_all_hands` is never used [INFO] [stdout] --> src/days/day02.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse_all_hands(input: &str) -> Vec<(HandShape, HandShape)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_all_hands_b` is never used [INFO] [stdout] --> src/days/day02.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn parse_all_hands_b(input: &str) -> Vec<(HandShape, HandShape)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day03.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Casing` is never used [INFO] [stdout] --> src/days/day03.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Casing { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offset` is never used [INFO] [stdout] --> src/days/day03.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Casing { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 17 | fn offset(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_item_priority` is never used [INFO] [stdout] --> src/days/day03.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_item_priority(item_code: char) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_suitcase` is never used [INFO] [stdout] --> src/days/day03.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn split_suitcase(suitcase: &str) -> (&str, &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_group_badge` is never used [INFO] [stdout] --> src/days/day03.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn get_group_badge(suitcases: Vec>) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_items_in_both_compartments` is never used [INFO] [stdout] --> src/days/day03.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_items_in_both_compartments(suitcase: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_suitcase_priority` is never used [INFO] [stdout] --> src/days/day03.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn calculate_suitcase_priority(suitcase: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_total_priority` is never used [INFO] [stdout] --> src/days/day03.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn calculate_total_priority(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_badge_priority_for_group` is never used [INFO] [stdout] --> src/days/day03.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn calculate_badge_priority_for_group(group_input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_total_badge_priority` is never used [INFO] [stdout] --> src/days/day03.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn calculate_total_badge_priority(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day04.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssignedSections` is never constructed [INFO] [stdout] --> src/days/day04.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct AssignedSections { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `overlaps` are never used [INFO] [stdout] --> src/days/day04.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl AssignedSections { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 15 | fn contains(&self, sections: AssignedSections) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn overlaps(&self, sections: AssignedSections) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_section_from_string` is never used [INFO] [stdout] --> src/days/day04.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn new_section_from_string(section_input: &str) -> AssignedSections { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_assignment_pair` is never used [INFO] [stdout] --> src/days/day04.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn compare_assignment_pair(section_input: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_assignment_pair_overlap` is never used [INFO] [stdout] --> src/days/day04.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn compare_assignment_pair_overlap(section_input: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_all_assignment_pair_overlap` is never used [INFO] [stdout] --> src/days/day04.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn compare_all_assignment_pair_overlap(pairs_input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_all_assignment_pairs` is never used [INFO] [stdout] --> src/days/day04.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn compare_all_assignment_pairs(pairs_input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day05.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve(input: &str){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/days/day05.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_instruction` is never used [INFO] [stdout] --> src/days/day05.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_instruction(instruction_input: &str) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_many_instructions` is never used [INFO] [stdout] --> src/days/day05.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_many_instructions(instruction_input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_print_stacks` is never used [INFO] [stdout] --> src/days/day05.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn debug_print_stacks(stacks: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_stacks` is never used [INFO] [stdout] --> src/days/day05.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_stacks(stacks_input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day06.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_message` is never used [INFO] [stdout] --> src/days/day06.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn find_message(codes: &[u8], unique_length: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day06.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn solve_a(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day06.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn solve_b(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day01.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn solve_a(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day01.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn solve_b(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day01.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day02.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn solve_a(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day02.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn solve_b(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day02.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day03.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day04.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day05.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve(input: &str){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/days/day05.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct Instruction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 33 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_many_instructions` is never used [INFO] [stdout] --> src/days/day05.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_many_instructions(instruction_input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/days/day06.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(input: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "20aa7451b19010ab75f772f0ddb9371ab9382c69ee6d26dff925d0bfc779a070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20aa7451b19010ab75f772f0ddb9371ab9382c69ee6d26dff925d0bfc779a070", kill_on_drop: false }` [INFO] [stdout] 20aa7451b19010ab75f772f0ddb9371ab9382c69ee6d26dff925d0bfc779a070