[INFO] cloning repository https://github.com/prudywsh/advent_of_code_2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prudywsh/advent_of_code_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprudywsh%2Fadvent_of_code_2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprudywsh%2Fadvent_of_code_2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a5482cbd7222a6a7f875f6a9b3e06950edbf3f6 [INFO] checking prudywsh/advent_of_code_2020 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprudywsh%2Fadvent_of_code_2020" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prudywsh/advent_of_code_2020 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/prudywsh/advent_of_code_2020 [INFO] finished tweaking git repo https://github.com/prudywsh/advent_of_code_2020 [INFO] tweaked toml for git repo https://github.com/prudywsh/advent_of_code_2020 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/prudywsh/advent_of_code_2020 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 37fde0e0aa019bc66b59b70c06d073595af98943baa99ed9dbbcce88f38c0aa8 [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" "37fde0e0aa019bc66b59b70c06d073595af98943baa99ed9dbbcce88f38c0aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37fde0e0aa019bc66b59b70c06d073595af98943baa99ed9dbbcce88f38c0aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37fde0e0aa019bc66b59b70c06d073595af98943baa99ed9dbbcce88f38c0aa8", kill_on_drop: false }` [INFO] [stdout] 37fde0e0aa019bc66b59b70c06d073595af98943baa99ed9dbbcce88f38c0aa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] bfe5404fd46c943b4cb45486fac5514dff4b1f3f55e5484c4f11871634983508 [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" "bfe5404fd46c943b4cb45486fac5514dff4b1f3f55e5484c4f11871634983508", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking adventofcode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/day_9_2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/day_9_2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/day_12_1.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let mut i: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/day_12_1.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let mut i: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_ratings` [INFO] [stdout] --> src/day_10_1.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_ratings() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_1_jolt_diff` [INFO] [stdout] --> src/day_10_1.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn count_1_jolt_diff(ratings: &mut Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_3_jolt_diff` [INFO] [stdout] --> src/day_10_1.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn count_3_jolt_diff(ratings: &mut Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adapter_array` [INFO] [stdout] --> src/day_10_1.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn adapter_array() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_ratings` [INFO] [stdout] --> src/day_10_2.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_ratings() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_arrangements` [INFO] [stdout] --> src/day_10_2.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn count_arrangements(ratings: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adapter_array` [INFO] [stdout] --> src/day_10_2.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn adapter_array() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLOOR` [INFO] [stdout] --> src/day_11_1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const FLOOR: char = '.'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCCUPIED_SEAT` [INFO] [stdout] --> src/day_11_1.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const OCCUPIED_SEAT: char = '#'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY_SEAT` [INFO] [stdout] --> src/day_11_1.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const EMPTY_SEAT: char = 'L'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_seat_layout` [INFO] [stdout] --> src/day_11_1.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_seat_layout() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_occupied_adjacent_seats` [INFO] [stdout] --> src/day_11_1.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn count_occupied_adjacent_seats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_rules_to_seat_layout` [INFO] [stdout] --> src/day_11_1.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn apply_rules_to_seat_layout(seat_layout: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_seat_layout_changed` [INFO] [stdout] --> src/day_11_1.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn has_seat_layout_changed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_occupied_seats` [INFO] [stdout] --> src/day_11_1.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn count_occupied_seats(seat_layout: &Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `seating_system` [INFO] [stdout] --> src/day_11_1.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn seating_system() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLOOR` [INFO] [stdout] --> src/day_11_2.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const FLOOR: char = '.'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCCUPIED_SEAT` [INFO] [stdout] --> src/day_11_2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const OCCUPIED_SEAT: char = '#'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY_SEAT` [INFO] [stdout] --> src/day_11_2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const EMPTY_SEAT: char = 'L'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_seat_layout` [INFO] [stdout] --> src/day_11_2.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_seat_layout() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_top_left_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn is_closest_top_left_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_top_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn is_closest_top_seat_occupied(seat_layout: &Vec>, line_i: usize, col_i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_top_right_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn is_closest_top_right_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_left_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn is_closest_left_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_right_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn is_closest_right_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_bottom_left_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn is_closest_bottom_left_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_bottom_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn is_closest_bottom_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_bottom_right_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn is_closest_bottom_right_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_occupied_adjacent_seats` [INFO] [stdout] --> src/day_11_2.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn count_occupied_adjacent_seats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_rules_to_seat_layout` [INFO] [stdout] --> src/day_11_2.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn apply_rules_to_seat_layout(seat_layout: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_seat_layout_changed` [INFO] [stdout] --> src/day_11_2.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn has_seat_layout_changed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_occupied_seats` [INFO] [stdout] --> src/day_11_2.rs:303:4 [INFO] [stdout] | [INFO] [stdout] 303 | fn count_occupied_seats(seat_layout: &Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `seating_system` [INFO] [stdout] --> src/day_11_2.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn seating_system() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instruction` [INFO] [stdout] --> src/day_12_1.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instructions` [INFO] [stdout] --> src/day_12_1.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn read_instructions() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_new_direction` [INFO] [stdout] --> src/day_12_1.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn compute_new_direction(current_direction: char, degrees: isize) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_instructions` [INFO] [stdout] --> src/day_12_1.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn process_instructions(instructions: &Vec) -> (isize, isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rain_risk` [INFO] [stdout] --> src/day_12_1.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn rain_risk() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instruction` [INFO] [stdout] --> src/day_12_2.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instructions` [INFO] [stdout] --> src/day_12_2.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn read_instructions() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_new_waypoint` [INFO] [stdout] --> src/day_12_2.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn compute_new_waypoint((x, y): (isize, isize), degrees: isize) -> (isize, isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_instructions` [INFO] [stdout] --> src/day_12_2.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn process_instructions(instructions: &Vec) -> (isize, isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rain_risk` [INFO] [stdout] --> src/day_12_2.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn rain_risk() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_1_1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_entries() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `report_repair` [INFO] [stdout] --> src/day_1_1.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn report_repair() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_1_2.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_entries() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `report_repair_2` [INFO] [stdout] --> src/day_1_2.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn report_repair_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_2_1.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn read_entries() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `password_philosophy` [INFO] [stdout] --> src/day_2_1.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn password_philosophy() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_2_2.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn read_entries() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `password_philosophy` [INFO] [stdout] --> src/day_2_2.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn password_philosophy() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_3_1.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_entries() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `toboggan_trajectory` [INFO] [stdout] --> src/day_3_1.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn toboggan_trajectory() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_3_2.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_entries() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_trees` [INFO] [stdout] --> src/day_3_2.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn count_trees(map: &Vec>, right_step: usize, bottom_step: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `toboggan_trajectory` [INFO] [stdout] --> src/day_3_2.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn toboggan_trajectory() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_4_1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_entries() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_passport_valid` [INFO] [stdout] --> src/day_4_1.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn is_passport_valid(passport: &HashMap) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `passport_processing` [INFO] [stdout] --> src/day_4_1.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn passport_processing() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_4_2.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_entries() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_date_value_between_dates` [INFO] [stdout] --> src/day_4_2.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn is_date_value_between_dates(date_value_option: Option<&String>, from: usize, to: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_height_valid` [INFO] [stdout] --> src/day_4_2.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn is_height_valid(height_option: Option<&String>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_hair_color_valid` [INFO] [stdout] --> src/day_4_2.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn is_hair_color_valid(hair_color_option: Option<&String>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_eye_color_valid` [INFO] [stdout] --> src/day_4_2.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn is_eye_color_valid(eye_color_option: Option<&String>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_passport_id_valid` [INFO] [stdout] --> src/day_4_2.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn is_passport_id_valid(passport_id_option: Option<&String>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_passport_valid` [INFO] [stdout] --> src/day_4_2.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn is_passport_valid(passport: &HashMap) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `passport_processing` [INFO] [stdout] --> src/day_4_2.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn passport_processing() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_5_1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_entries() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_col` [INFO] [stdout] --> src/day_5_1.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn compute_col(boarding_pass: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_row` [INFO] [stdout] --> src/day_5_1.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn compute_row(boarding_pass: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_seat_id` [INFO] [stdout] --> src/day_5_1.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn compute_seat_id(boarding_pass: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_boarding` [INFO] [stdout] --> src/day_5_1.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn binary_boarding() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_5_2.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_entries() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_col` [INFO] [stdout] --> src/day_5_2.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn compute_col(boarding_pass: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_row` [INFO] [stdout] --> src/day_5_2.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn compute_row(boarding_pass: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_seat_id` [INFO] [stdout] --> src/day_5_2.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn compute_seat_id(boarding_pass: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_boarding` [INFO] [stdout] --> src/day_5_2.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn binary_boarding() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_yes_answers_set_of_groups` [INFO] [stdout] --> src/day_6_1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_yes_answers_set_of_groups() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `custom_customs` [INFO] [stdout] --> src/day_6_1.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn custom_customs() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_yes_answers_count_of_groups` [INFO] [stdout] --> src/day_6_2.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn read_yes_answers_count_of_groups() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `custom_customs` [INFO] [stdout] --> src/day_6_2.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn custom_customs() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_contained_in_line` [INFO] [stdout] --> src/day_7_1.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn parse_contained_in_line(line: &String) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_contained_in` [INFO] [stdout] --> src/day_7_1.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn read_contained_in() -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_color_containers` [INFO] [stdout] --> src/day_7_1.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn count_color_containers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handy_haversacks` [INFO] [stdout] --> src/day_7_1.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn handy_haversacks() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_line` [INFO] [stdout] --> src/day_7_2.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn parse_line(line: &String) -> (String, Vec<(String, usize)>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_contained_in` [INFO] [stdout] --> src/day_7_2.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn read_contained_in() -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_internal_bags` [INFO] [stdout] --> src/day_7_2.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn count_internal_bags( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handy_haversacks` [INFO] [stdout] --> src/day_7_2.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn handy_haversacks() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instructions` [INFO] [stdout] --> src/day_8_1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_instructions() -> Vec<(String, isize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_accumulator_value` [INFO] [stdout] --> src/day_8_1.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn find_accumulator_value(instructions: &Vec<(String, isize)>) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handheld_halting` [INFO] [stdout] --> src/day_8_1.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn handheld_halting() -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instructions` [INFO] [stdout] --> src/day_8_2.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_instructions() -> Vec<(String, isize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_infinite_loop` [INFO] [stdout] --> src/day_8_2.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_infinite_loop(instructions: &Vec<(String, isize)>) -> (bool, isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fix_instructions` [INFO] [stdout] --> src/day_8_2.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn fix_instructions(instructions: &Vec<(String, isize)>) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handheld_halting` [INFO] [stdout] --> src/day_8_2.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn handheld_halting() -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_9_1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_entries() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_number_valid` [INFO] [stdout] --> src/day_9_1.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_number_valid( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_first_wrong_number` [INFO] [stdout] --> src/day_9_1.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn find_first_wrong_number(numbers: &Vec, options_size: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encoding_error` [INFO] [stdout] --> src/day_9_1.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn encoding_error() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_9_2.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_entries() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_number_valid` [INFO] [stdout] --> src/day_9_2.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn is_number_valid( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_encryption_weakness` [INFO] [stdout] --> src/day_9_2.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn find_encryption_weakness(numbers: &Vec, expected_sum: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_first_wrong_number` [INFO] [stdout] --> src/day_9_2.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn find_first_wrong_number(numbers: &Vec, options_size: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encoding_error` [INFO] [stdout] --> src/day_9_2.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn encoding_error() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 107 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_ratings` [INFO] [stdout] --> src/day_10_1.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_ratings() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adapter_array` [INFO] [stdout] --> src/day_10_1.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn adapter_array() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_ratings` [INFO] [stdout] --> src/day_10_2.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_ratings() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adapter_array` [INFO] [stdout] --> src/day_10_2.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn adapter_array() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLOOR` [INFO] [stdout] --> src/day_11_1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const FLOOR: char = '.'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCCUPIED_SEAT` [INFO] [stdout] --> src/day_11_1.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const OCCUPIED_SEAT: char = '#'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY_SEAT` [INFO] [stdout] --> src/day_11_1.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const EMPTY_SEAT: char = 'L'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_seat_layout` [INFO] [stdout] --> src/day_11_1.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_seat_layout() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_occupied_adjacent_seats` [INFO] [stdout] --> src/day_11_1.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn count_occupied_adjacent_seats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_rules_to_seat_layout` [INFO] [stdout] --> src/day_11_1.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn apply_rules_to_seat_layout(seat_layout: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_seat_layout_changed` [INFO] [stdout] --> src/day_11_1.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn has_seat_layout_changed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_occupied_seats` [INFO] [stdout] --> src/day_11_1.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn count_occupied_seats(seat_layout: &Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `seating_system` [INFO] [stdout] --> src/day_11_1.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn seating_system() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLOOR` [INFO] [stdout] --> src/day_11_2.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const FLOOR: char = '.'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OCCUPIED_SEAT` [INFO] [stdout] --> src/day_11_2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const OCCUPIED_SEAT: char = '#'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY_SEAT` [INFO] [stdout] --> src/day_11_2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const EMPTY_SEAT: char = 'L'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_seat_layout` [INFO] [stdout] --> src/day_11_2.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_seat_layout() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_top_left_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn is_closest_top_left_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_top_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn is_closest_top_seat_occupied(seat_layout: &Vec>, line_i: usize, col_i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_top_right_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn is_closest_top_right_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_left_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn is_closest_left_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_right_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn is_closest_right_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_bottom_left_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn is_closest_bottom_left_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_bottom_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn is_closest_bottom_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_closest_bottom_right_seat_occupied` [INFO] [stdout] --> src/day_11_2.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn is_closest_bottom_right_seat_occupied( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_occupied_adjacent_seats` [INFO] [stdout] --> src/day_11_2.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn count_occupied_adjacent_seats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_rules_to_seat_layout` [INFO] [stdout] --> src/day_11_2.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn apply_rules_to_seat_layout(seat_layout: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_seat_layout_changed` [INFO] [stdout] --> src/day_11_2.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn has_seat_layout_changed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_occupied_seats` [INFO] [stdout] --> src/day_11_2.rs:303:4 [INFO] [stdout] | [INFO] [stdout] 303 | fn count_occupied_seats(seat_layout: &Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `seating_system` [INFO] [stdout] --> src/day_11_2.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn seating_system() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instructions` [INFO] [stdout] --> src/day_12_1.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn read_instructions() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rain_risk` [INFO] [stdout] --> src/day_12_1.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn rain_risk() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instructions` [INFO] [stdout] --> src/day_12_2.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn read_instructions() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rain_risk` [INFO] [stdout] --> src/day_12_2.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn rain_risk() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_5_1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_entries() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_boarding` [INFO] [stdout] --> src/day_5_1.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn binary_boarding() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entries` [INFO] [stdout] --> src/day_5_2.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_entries() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_boarding` [INFO] [stdout] --> src/day_5_2.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn binary_boarding() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_contained_in` [INFO] [stdout] --> src/day_7_2.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn read_contained_in() -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handy_haversacks` [INFO] [stdout] --> src/day_7_2.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn handy_haversacks() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instructions` [INFO] [stdout] --> src/day_8_1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_instructions() -> Vec<(String, isize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handheld_halting` [INFO] [stdout] --> src/day_8_1.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn handheld_halting() -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "bfe5404fd46c943b4cb45486fac5514dff4b1f3f55e5484c4f11871634983508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe5404fd46c943b4cb45486fac5514dff4b1f3f55e5484c4f11871634983508", kill_on_drop: false }` [INFO] [stdout] bfe5404fd46c943b4cb45486fac5514dff4b1f3f55e5484c4f11871634983508