[INFO] cloning repository https://github.com/shrav-k/aoc_2022
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shrav-k/aoc_2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshrav-k%2Faoc_2022", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshrav-k%2Faoc_2022'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9243928403dc7872ff5fac4a0d69ed6cdd37b23
[INFO] checking shrav-k/aoc_2022 against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshrav-k%2Faoc_2022" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shrav-k/aoc_2022
[INFO] finished tweaking git repo https://github.com/shrav-k/aoc_2022
[INFO] tweaked toml for git repo https://github.com/shrav-k/aoc_2022 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shrav-k/aoc_2022 on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shrav-k/aoc_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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6b1943a289b861eeee6565a29eaafe5fed369557a4d45778852f147e48923524
[INFO] running `Command { std: "docker" "start" "6b1943a289b861eeee6565a29eaafe5fed369557a4d45778852f147e48923524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b1943a289b861eeee6565a29eaafe5fed369557a4d45778852f147e48923524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6b1943a289b861eeee6565a29eaafe5fed369557a4d45778852f147e48923524" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b1943a289b861eeee6565a29eaafe5fed369557a4d45778852f147e48923524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6b1943a289b861eeee6565a29eaafe5fed369557a4d45778852f147e48923524" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking min-max-heap v1.3.0
[INFO] [stderr]     Checking aoc_2022 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/solutions/expedition/snack.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/solutions/expedition/snack.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/solutions/directory.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let mut dir = dir_map.get_mut(&curr_dir).unwrap();
[INFO] [stdout]    |                     ----^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/solutions/directory.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut dir = dir_map.get_mut(curr_dir).unwrap();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Directory` is more private than the item `DirectoryMap`
[INFO] [stdout]   --> src/solutions/directory.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub type DirectoryMap = Arc<RwLock<HashMap<String, Directory>>>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ type alias `DirectoryMap` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Directory` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/solutions/directory.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Directory {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_cleanup` is never used
[INFO] [stdout]  --> src/solutions/cleanup.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_cleanup(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_cleanup_2` is never used
[INFO] [stdout]   --> src/solutions/cleanup.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn read_cleanup_2(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `overlap` is never used
[INFO] [stdout]   --> src/solutions/cleanup.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn overlap(ranges: Vec<u64>) -> bool {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `contained` is never used
[INFO] [stdout]   --> src/solutions/cleanup.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn contained(ranges: Vec<u64>) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ranges` is never used
[INFO] [stdout]   --> src/solutions/cleanup.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn get_ranges(sections: String) -> Vec<u64> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_crates` is never used
[INFO] [stdout]  --> src/solutions/crates.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_crates(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index_map` is never used
[INFO] [stdout]   --> src/solutions/crates.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn index_map(index: &str, original: &str) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `addr_of` is never used
[INFO] [stdout]   --> src/solutions/crates.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn addr_of(s: &str) -> usize {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_datastream` is never used
[INFO] [stdout]  --> src/solutions/datastream.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_datastream(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `non_repeating` is never used
[INFO] [stdout]  --> src/solutions/datastream.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn non_repeating(line: String) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DirectoryMap` is never used
[INFO] [stdout]  --> src/solutions/directory.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type DirectoryMap = Arc<RwLock<HashMap<String, Directory>>>;
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Directory` is never constructed
[INFO] [stdout]   --> src/solutions/directory.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Directory {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_directory` is never used
[INFO] [stdout]   --> src/solutions/directory.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn read_directory(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `small_sizes` is never used
[INFO] [stdout]    --> src/solutions/directory.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn small_sizes(dir_map_lock: DirectoryMap, curr_dir: &str) -> (u64, u64) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parent` is never used
[INFO] [stdout]    --> src/solutions/directory.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn parent(path: &str) -> &str {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Expedition` is never constructed
[INFO] [stdout]   --> src/solutions/expedition.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Expedition {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_elf`, `most_calories`, and `top_k_calories` are never used
[INFO] [stdout]   --> src/solutions/expedition.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Expedition {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 16 |     pub fn add_elf(&mut self, elf: Elf) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn most_calories(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn top_k_calories(&mut self, k: u64) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_expedition` is never used
[INFO] [stdout]   --> src/solutions/expedition.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn read_expedition(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Elf` is never constructed
[INFO] [stdout]  --> src/solutions/expedition/elf.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Elf {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_snack` and `add_snacks` are never used
[INFO] [stdout]   --> src/solutions/expedition/elf.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Elf {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 33 |     pub fn add_snack(&mut self, calories: u64) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn add_snacks(&mut self, cal_vec: &Vec<u64>) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snack` is never constructed
[INFO] [stdout]  --> src/solutions/expedition/snack.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Snack {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rope` is never used
[INFO] [stdout]  --> src/solutions/rope.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_rope(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rope_2` is never used
[INFO] [stdout]   --> src/solutions/rope.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn read_rope_2(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tail_move` is never used
[INFO] [stdout]    --> src/solutions/rope.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn tail_move(head: (i32, i32), tail: (i32, i32)) -> (i32, i32) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rps` is never used
[INFO] [stdout]  --> src/solutions/rps.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_rps(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rps_2` is never used
[INFO] [stdout]   --> src/solutions/rps.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn read_rps_2(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rucksack_2` is never used
[INFO] [stdout]  --> src/solutions/rucksack.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_rucksack_2(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_badge_value` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn get_badge_value(rucksacks: &Vec<String>) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_badge` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn get_badge(first: &str, second: &str, third: &str) -> char {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rucksack` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn read_rucksack(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_shared_priority` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn get_shared_priority(items: String) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_shared_char` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn get_shared_char(first: &str, second: &str) -> char {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_priority` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn get_priority(c: char) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_signal` is never used
[INFO] [stdout]  --> src/solutions/signal.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_signal(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_trees` is never used
[INFO] [stdout]  --> src/solutions/trees.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_trees(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `visible_trees` is never used
[INFO] [stdout]   --> src/solutions/trees.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn visible_trees(trees: Vec<Vec<u32>>) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_scenic_score` is never used
[INFO] [stdout]   --> src/solutions/trees.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn max_scenic_score(trees: Vec<Vec<u32>>) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/solutions/directory.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let mut dir = dir_map.get_mut(&curr_dir).unwrap();
[INFO] [stdout]    |                     ----^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/solutions/directory.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut dir = dir_map.get_mut(curr_dir).unwrap();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Directory` is more private than the item `DirectoryMap`
[INFO] [stdout]   --> src/solutions/directory.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub type DirectoryMap = Arc<RwLock<HashMap<String, Directory>>>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ type alias `DirectoryMap` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Directory` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/solutions/directory.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Directory {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_cleanup` is never used
[INFO] [stdout]  --> src/solutions/cleanup.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_cleanup(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_cleanup_2` is never used
[INFO] [stdout]   --> src/solutions/cleanup.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn read_cleanup_2(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `overlap` is never used
[INFO] [stdout]   --> src/solutions/cleanup.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn overlap(ranges: Vec<u64>) -> bool {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `contained` is never used
[INFO] [stdout]   --> src/solutions/cleanup.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn contained(ranges: Vec<u64>) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ranges` is never used
[INFO] [stdout]   --> src/solutions/cleanup.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn get_ranges(sections: String) -> Vec<u64> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_crates` is never used
[INFO] [stdout]  --> src/solutions/crates.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_crates(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index_map` is never used
[INFO] [stdout]   --> src/solutions/crates.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn index_map(index: &str, original: &str) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `addr_of` is never used
[INFO] [stdout]   --> src/solutions/crates.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn addr_of(s: &str) -> usize {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_datastream` is never used
[INFO] [stdout]  --> src/solutions/datastream.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_datastream(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `non_repeating` is never used
[INFO] [stdout]  --> src/solutions/datastream.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn non_repeating(line: String) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DirectoryMap` is never used
[INFO] [stdout]  --> src/solutions/directory.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type DirectoryMap = Arc<RwLock<HashMap<String, Directory>>>;
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Directory` is never constructed
[INFO] [stdout]   --> src/solutions/directory.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Directory {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_directory` is never used
[INFO] [stdout]   --> src/solutions/directory.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn read_directory(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `small_sizes` is never used
[INFO] [stdout]    --> src/solutions/directory.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn small_sizes(dir_map_lock: DirectoryMap, curr_dir: &str) -> (u64, u64) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parent` is never used
[INFO] [stdout]    --> src/solutions/directory.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn parent(path: &str) -> &str {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Expedition` is never constructed
[INFO] [stdout]   --> src/solutions/expedition.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Expedition {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_elf`, `most_calories`, and `top_k_calories` are never used
[INFO] [stdout]   --> src/solutions/expedition.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Expedition {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 16 |     pub fn add_elf(&mut self, elf: Elf) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn most_calories(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn top_k_calories(&mut self, k: u64) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_expedition` is never used
[INFO] [stdout]   --> src/solutions/expedition.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn read_expedition(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Elf` is never constructed
[INFO] [stdout]  --> src/solutions/expedition/elf.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Elf {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_snack` and `add_snacks` are never used
[INFO] [stdout]   --> src/solutions/expedition/elf.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Elf {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 33 |     pub fn add_snack(&mut self, calories: u64) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn add_snacks(&mut self, cal_vec: &Vec<u64>) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snack` is never constructed
[INFO] [stdout]  --> src/solutions/expedition/snack.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Snack {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rope` is never used
[INFO] [stdout]  --> src/solutions/rope.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_rope(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rope_2` is never used
[INFO] [stdout]   --> src/solutions/rope.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn read_rope_2(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tail_move` is never used
[INFO] [stdout]    --> src/solutions/rope.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn tail_move(head: (i32, i32), tail: (i32, i32)) -> (i32, i32) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rps` is never used
[INFO] [stdout]  --> src/solutions/rps.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_rps(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rps_2` is never used
[INFO] [stdout]   --> src/solutions/rps.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn read_rps_2(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rucksack_2` is never used
[INFO] [stdout]  --> src/solutions/rucksack.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn read_rucksack_2(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_badge_value` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn get_badge_value(rucksacks: &Vec<String>) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_badge` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn get_badge(first: &str, second: &str, third: &str) -> char {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_rucksack` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn read_rucksack(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_shared_priority` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn get_shared_priority(items: String) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_shared_char` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn get_shared_char(first: &str, second: &str) -> char {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_priority` is never used
[INFO] [stdout]   --> src/solutions/rucksack.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn get_priority(c: char) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_signal` is never used
[INFO] [stdout]  --> src/solutions/signal.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_signal(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_trees` is never used
[INFO] [stdout]  --> src/solutions/trees.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_trees(path: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `visible_trees` is never used
[INFO] [stdout]   --> src/solutions/trees.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn visible_trees(trees: Vec<Vec<u32>>) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_scenic_score` is never used
[INFO] [stdout]   --> src/solutions/trees.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn max_scenic_score(trees: Vec<Vec<u32>>) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s
[INFO] running `Command { std: "docker" "inspect" "6b1943a289b861eeee6565a29eaafe5fed369557a4d45778852f147e48923524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b1943a289b861eeee6565a29eaafe5fed369557a4d45778852f147e48923524", kill_on_drop: false }`
[INFO] [stdout] 6b1943a289b861eeee6565a29eaafe5fed369557a4d45778852f147e48923524
