[INFO] cloning repository https://github.com/fhdiaze/rustuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fhdiaze/rustuff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhdiaze%2Frustuff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhdiaze%2Frustuff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b303373a70d6a3080029e98a356744cbf84fae1 [INFO] checking fhdiaze/rustuff against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhdiaze%2Frustuff" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fhdiaze/rustuff on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fhdiaze/rustuff [INFO] finished tweaking git repo https://github.com/fhdiaze/rustuff [INFO] tweaked toml for git repo https://github.com/fhdiaze/rustuff written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fhdiaze/rustuff 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1bb76e5a37d6a58506732e20d444058d6e34665fce0524aea355e384a666cd2 [INFO] running `Command { std: "docker" "start" "-a" "a1bb76e5a37d6a58506732e20d444058d6e34665fce0524aea355e384a666cd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1bb76e5a37d6a58506732e20d444058d6e34665fce0524aea355e384a666cd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1bb76e5a37d6a58506732e20d444058d6e34665fce0524aea355e384a666cd2", kill_on_drop: false }` [INFO] [stdout] a1bb76e5a37d6a58506732e20d444058d6e34665fce0524aea355e384a666cd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 016a5170d9753df449da9a18b73ecfceccc0042983838d5fc36bfb30a0fba708 [INFO] running `Command { std: "docker" "start" "-a" "016a5170d9753df449da9a18b73ecfceccc0042983838d5fc36bfb30a0fba708", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking relative-path v1.8.0 [INFO] [stderr] Checking aho-corasick v1.0.3 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut t = &mut grid[row][c - 1]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut t = &mut grid[r - 1][column]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut t = &mut grid[row][c - 1]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut t = &mut grid[r - 1][column]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_three/one.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_three/one.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_visible` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn count_visible(grid: Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_column` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn update_column(grid: &mut [Vec], column: usize, height: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_row` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn update_row(grid: &mut [Vec], row: usize, height: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_column_max` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn add_column_max(columns_max: &mut Vec>, column: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `scenic_score`, and `correct_right_and_down` are never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 20 | fn new(height: u8, up: usize, left: usize, right: usize, down: usize) -> Tree { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn scenic_score(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn correct_right_and_down(&mut self, row: usize, column: usize, rows: usize, columns: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highest_scenic_score` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn highest_scenic_score(grid: Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_row` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn update_row(grid: &mut [Vec], current_tree: &mut Tree) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_column` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn update_column(grid: &mut [Vec], current_tree: &mut Tree) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ship` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/five.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct Ship { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `run_load`, `try_add_stack`, `run_move`, and `top` are never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl Ship { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 88 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn run(&mut self, tokens: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn run_load(&mut self, stack: usize, token: &Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn try_add_stack(&mut self, s: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn run_move(&mut self, m: &Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn top(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/five.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `push`, `push_many`, `pop`, and `top` are never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 135 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn insert(&mut self, mark: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn push(&mut self, mark: char) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn push_many(&mut self, mut marks: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn pop(&mut self, quantity: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn top(&self) -> char { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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_line` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_line(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_move` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn parse_move(text: &str) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_marks` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn parse_marks(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ship` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Ship { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `run_load`, `try_add_stack`, `run_move`, and `top` are never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl Ship { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 91 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn run(&mut self, tokens: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn run_load(&mut self, stack: usize, token: &Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn try_add_stack(&mut self, s: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn run_move(&mut self, m: &Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn top(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | struct Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `push`, `push_many`, `pop`, and `top` are never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 141 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 142 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn insert(&mut self, mark: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn push(&mut self, mark: char) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn push_many(&mut self, mut marks: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn pop(&mut self, quantity: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn top(&self) -> char { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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_line` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn parse_line(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_move` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn parse_move(text: &str) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_marks` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse_marks(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/four.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `fully_contained` are never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Pair { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 30 | fn parse(text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn fully_contained(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Range` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/four.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `diff` are never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Range { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 52 | fn parse(text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn diff(&self, other: &Range) -> Range { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `overlapped` are never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Pair { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 31 | fn parse(text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn overlapped(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Range` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse`, `diff`, and `size` are never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Range { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 58 | fn parse(text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn diff(&self, other: &Range) -> Range { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn size(&self) -> isize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/one.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/one.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn solve() -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/aoc/twenty_two/one.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn read_lines() -> io::Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileSystem` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileSystem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_pwd`, `get_child`, `add_child`, `cd`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl FileSystem { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 50 | fn new() -> FileSystem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_pwd(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn cd(&mut self, name: &str) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn accept(&mut self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Visitor` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `visit` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl Visitor { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 98 | fn new() -> Visitor { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn visit(&mut self, item: &Item) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `get_child`, `add_child`, `get_parent`, `size`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 120 | fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn get_parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn accept(&self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_child`, `get_child`, `get_parent`, `size`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl Directory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 171 | fn new(name: String, parent: Option>>) -> Directory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn get_parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn accept(&self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 238 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Output` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | pub enum Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` 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` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn parse(text: String) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | fn exp(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmd` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn cmd(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ls` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn ls(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cd` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn cd(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `out` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn out(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dir` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | fn dir(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn file(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | fn file_name(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `name` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | fn name(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | fn number(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileSystem` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct FileSystem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_pwd`, `get_child`, `add_child`, `cd`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl FileSystem { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 55 | fn new() -> FileSystem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_pwd(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn cd(&mut self, name: &str) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn accept(&mut self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Visitor` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `visit` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Visitor { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 105 | fn new(space_to_free: usize) -> Visitor { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn visit(&mut self, item: &Item) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `get_child`, `add_child`, `get_parent`, `size`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 132 | fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn get_parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn accept(&self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_child`, `get_child`, `get_parent`, `size`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 182 | impl Directory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 183 | fn new(name: String, parent: Option>>) -> Directory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn get_parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn accept(&self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:256:14 [INFO] [stdout] | [INFO] [stdout] 256 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Output` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | pub enum Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` 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` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse(text: String) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn exp(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmd` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | fn cmd(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ls` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | fn ls(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cd` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | fn cd(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `out` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn out(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dir` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | fn dir(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | fn file(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | fn file_name(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `name` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | fn name(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | fn number(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/six.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/six.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/six.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/six_plus.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/six_plus.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/six_plus.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_lines() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/three.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Item { } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rucksack` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/three.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Rucksack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `common` are never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Rucksack { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 35 | fn new(items: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn common(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `priority` is never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 56 | impl Item { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 57 | fn priority(item: char) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn read_lines() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priority` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn priority(item: char) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Set` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub type Set = [bool; 52]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FULL` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | pub const FULL: Set = [true; 52]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn intersect(one: &Set, other: &Set) -> Set { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_priorities` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sum_priorities(set: Set) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_items` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn from_items(items: String) -> Set { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Outcome` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum Outcome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Round` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/two.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Round { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn read_file() -> io::Lines> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_string` and `your_score` are never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 49 | impl Round { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 50 | fn from_string(string: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn your_score(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_char`, `defeated_by`, `against`, and `to_int` are never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 67 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 68 | fn from_char(c: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn defeated_by(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn against(&self, other: &Shape) -> Outcome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_int` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 106 | impl Outcome { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 107 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Outcome` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum Outcome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Round` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Round { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn read_file() -> io::Lines> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_string` and `your_score` are never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 49 | impl Round { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 50 | fn from_string(string: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn your_score(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_char`, `defeated_by`, `beats_to`, and `to_int` are never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 66 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 67 | fn from_char(c: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn defeated_by(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn beats_to(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_int`, `from_char`, and `what_to_play` are never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 100 | impl Outcome { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 101 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn from_char(c: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn what_to_play(&self, opponent: &Shape) -> Shape { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 84 | fn new(row: isize, column: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn smaller(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn bigger(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn from_index(index: &isize, n: isize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn add(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn rotate(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn rotate_many(&self, k: usize) -> Location { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn transform(&self, k: usize, transformer: &Location) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | struct Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `contains`, and `apply` are never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl Command { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 132 | fn new(first: Location, side: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn contains(&self, location: &Location) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn apply(&self, location: &Location) -> Location { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_richard_knights` is never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn king_richard_knights( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_inner_most_command` is never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn find_inner_most_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_three/one.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_three/one.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_visible` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn count_visible(grid: Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_column` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn update_column(grid: &mut [Vec], column: usize, height: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_row` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn update_row(grid: &mut [Vec], row: usize, height: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_column_max` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn add_column_max(columns_max: &mut Vec>, column: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `scenic_score`, and `correct_right_and_down` are never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 20 | fn new(height: u8, up: usize, left: usize, right: usize, down: usize) -> Tree { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn scenic_score(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn correct_right_and_down(&mut self, row: usize, column: usize, rows: usize, columns: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highest_scenic_score` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn highest_scenic_score(grid: Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_row` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn update_row(grid: &mut [Vec], current_tree: &mut Tree) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_column` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn update_column(grid: &mut [Vec], current_tree: &mut Tree) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/eight_plus.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ship` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/five.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct Ship { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `run_load`, `try_add_stack`, `run_move`, and `top` are never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl Ship { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 88 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn run(&mut self, tokens: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn run_load(&mut self, stack: usize, token: &Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn try_add_stack(&mut self, s: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn run_move(&mut self, m: &Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn top(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/five.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `push`, `push_many`, `pop`, and `top` are never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 135 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn insert(&mut self, mark: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn push(&mut self, mark: char) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn push_many(&mut self, mut marks: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn pop(&mut self, quantity: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn top(&self) -> char { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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_line` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_line(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_move` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn parse_move(text: &str) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_marks` is never used [INFO] [stdout] --> src/aoc/twenty_two/five.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn parse_marks(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ship` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Ship { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `run_load`, `try_add_stack`, `run_move`, and `top` are never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl Ship { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 91 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn run(&mut self, tokens: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn run_load(&mut self, stack: usize, token: &Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn try_add_stack(&mut self, s: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn run_move(&mut self, m: &Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn top(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | struct Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `push`, `push_many`, `pop`, and `top` are never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 141 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 142 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn insert(&mut self, mark: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn push(&mut self, mark: char) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn push_many(&mut self, mut marks: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn pop(&mut self, quantity: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn top(&self) -> char { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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_line` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn parse_line(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_move` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn parse_move(text: &str) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_marks` is never used [INFO] [stdout] --> src/aoc/twenty_two/five_plus.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse_marks(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/four.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `fully_contained` are never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Pair { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 30 | fn parse(text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn fully_contained(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Range` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/four.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `diff` are never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Range { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 52 | fn parse(text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn diff(&self, other: &Range) -> Range { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/four.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `overlapped` are never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Pair { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 31 | fn parse(text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn overlapped(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Range` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse`, `diff`, and `size` are never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Range { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 58 | fn parse(text: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn diff(&self, other: &Range) -> Range { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn size(&self) -> isize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/four_plus.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/one.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/one.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn solve() -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/aoc/twenty_two/one.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn read_lines() -> io::Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileSystem` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileSystem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_pwd`, `get_child`, `add_child`, `cd`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl FileSystem { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 50 | fn new() -> FileSystem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_pwd(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn cd(&mut self, name: &str) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn accept(&mut self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Visitor` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `visit` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl Visitor { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 98 | fn new() -> Visitor { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn visit(&mut self, item: &Item) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `get_child`, `add_child`, `get_parent`, `size`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 120 | fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn get_parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn accept(&self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_child`, `get_child`, `get_parent`, `size`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl Directory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 171 | fn new(name: String, parent: Option>>) -> Directory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn get_parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn accept(&self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 238 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Output` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | pub enum Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` 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` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn parse(text: String) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | fn exp(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmd` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn cmd(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ls` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn ls(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cd` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn cd(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `out` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn out(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dir` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | fn dir(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn file(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | fn file_name(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `name` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | fn name(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | fn number(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileSystem` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct FileSystem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_pwd`, `get_child`, `add_child`, `cd`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl FileSystem { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 55 | fn new() -> FileSystem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_pwd(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn cd(&mut self, name: &str) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn accept(&mut self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Visitor` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `visit` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Visitor { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 105 | fn new(space_to_free: usize) -> Visitor { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn visit(&mut self, item: &Item) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `get_child`, `add_child`, `get_parent`, `size`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 132 | fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn get_parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn accept(&self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_child`, `get_child`, `get_parent`, `size`, and `accept` are never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 182 | impl Directory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 183 | fn new(name: String, parent: Option>>) -> Directory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn add_child(&mut self, item: Item) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn get_parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn accept(&self, visitor: &mut Visitor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | fn read_input() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:256:14 [INFO] [stdout] | [INFO] [stdout] 256 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Output` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | pub enum Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` 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` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse(text: String) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn exp(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmd` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | fn cmd(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ls` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | fn ls(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cd` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | fn cd(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `out` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | fn out(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dir` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | fn dir(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | fn file(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | fn file_name(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `name` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | fn name(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number` is never used [INFO] [stdout] --> src/aoc/twenty_two/seven_plus.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | fn number(scanner: &mut Peekable) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/six.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/six.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/six.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/six_plus.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/six_plus.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/aoc/twenty_two/six_plus.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_lines() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/three.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Item { } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rucksack` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/three.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Rucksack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `common` are never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Rucksack { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 35 | fn new(items: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn common(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `priority` is never used [INFO] [stdout] --> src/aoc/twenty_two/three.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 56 | impl Item { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 57 | fn priority(item: char) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn read_lines() -> Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priority` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn priority(item: char) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Set` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub type Set = [bool; 52]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FULL` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | pub const FULL: Set = [true; 52]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn intersect(one: &Set, other: &Set) -> Set { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_priorities` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sum_priorities(set: Set) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_items` is never used [INFO] [stdout] --> src/aoc/twenty_two/three_plus.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn from_items(items: String) -> Set { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Outcome` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum Outcome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Round` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/two.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Round { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn read_file() -> io::Lines> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_string` and `your_score` are never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 49 | impl Round { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 50 | fn from_string(string: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn your_score(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_char`, `defeated_by`, `against`, and `to_int` are never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 67 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 68 | fn from_char(c: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn defeated_by(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn against(&self, other: &Shape) -> Outcome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_int` is never used [INFO] [stdout] --> src/aoc/twenty_two/two.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 106 | impl Outcome { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 107 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Shape` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Outcome` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum Outcome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Round` is never constructed [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Round { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn read_file() -> io::Lines> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_string` and `your_score` are never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 49 | impl Round { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 50 | fn from_string(string: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn your_score(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_char`, `defeated_by`, `beats_to`, and `to_int` are never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 66 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 67 | fn from_char(c: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn defeated_by(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn beats_to(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_int`, `from_char`, and `what_to_play` are never used [INFO] [stdout] --> src/aoc/twenty_two/two_plus.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 100 | impl Outcome { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 101 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn from_char(c: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn what_to_play(&self, opponent: &Shape) -> Shape { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 84 | fn new(row: isize, column: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn smaller(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn bigger(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn from_index(index: &isize, n: isize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn add(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn rotate(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn rotate_many(&self, k: usize) -> Location { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn transform(&self, k: usize, transformer: &Location) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | struct Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `contains`, and `apply` are never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl Command { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 132 | fn new(first: Location, side: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn contains(&self, location: &Location) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn apply(&self, location: &Location) -> Location { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_richard_knights` is never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn king_richard_knights( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_inner_most_command` is never used [INFO] [stdout] --> src/hacker_rank/king_richard_knights.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn find_inner_most_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.18s [INFO] running `Command { std: "docker" "inspect" "016a5170d9753df449da9a18b73ecfceccc0042983838d5fc36bfb30a0fba708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "016a5170d9753df449da9a18b73ecfceccc0042983838d5fc36bfb30a0fba708", kill_on_drop: false }` [INFO] [stdout] 016a5170d9753df449da9a18b73ecfceccc0042983838d5fc36bfb30a0fba708