[INFO] cloning repository https://github.com/0xFloop/leet_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xFloop/leet_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xFloop%2Fleet_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xFloop%2Fleet_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b0ac90684cf8c9beff7dd02c56b9962b655e77a1
[INFO] checking 0xFloop/leet_rs against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xFloop%2Fleet_rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xFloop/leet_rs
[INFO] finished tweaking git repo https://github.com/0xFloop/leet_rs
[INFO] tweaked toml for git repo https://github.com/0xFloop/leet_rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xFloop/leet_rs on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xFloop/leet_rs 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 85db7d0774221ea5a3b52989e5efa4b5f0569b7fe56d0accf23c65b155a91b8a
[INFO] running `Command { std: "docker" "start" "-a" "85db7d0774221ea5a3b52989e5efa4b5f0569b7fe56d0accf23c65b155a91b8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "85db7d0774221ea5a3b52989e5efa4b5f0569b7fe56d0accf23c65b155a91b8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85db7d0774221ea5a3b52989e5efa4b5f0569b7fe56d0accf23c65b155a91b8a", kill_on_drop: false }`
[INFO] [stdout] 85db7d0774221ea5a3b52989e5efa4b5f0569b7fe56d0accf23c65b155a91b8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b0611527823a8e353d161745172a3b347e6a6e6d9a2b50b1c35343063d76a98
[INFO] running `Command { std: "docker" "start" "-a" "8b0611527823a8e353d161745172a3b347e6a6e6d9a2b50b1c35343063d76a98", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `slice::ChunksMut`
[INFO] [stdout]  --> src/problems/easy/inorder_traversal.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc, slice::ChunksMut};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/easy/majority_element.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/problems/easy/remove_elements.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/problems/easy/search_insert_position.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let left = (curr.is_none() || curr.unwrap() <= &target);
[INFO] [stdout]    |                    ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         let left = (curr.is_none() || curr.unwrap() <= &target);
[INFO] [stdout] 23 +         let left = curr.is_none() || curr.unwrap() <= &target ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/problems/easy/search_insert_position.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let right = (next.is_none() || next.unwrap() >= &target);
[INFO] [stdout]    |                     ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -         let right = (next.is_none() || next.unwrap() >= &target);
[INFO] [stdout] 24 +         let right = next.is_none() || next.unwrap() >= &target ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]  --> src/problems/medium/add_two_numbers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::panic;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]  --> src/problems/medium/add_two_numbers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/medium/longest_substring.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/problems/medium/next_permutation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/problems/medium/three_sum.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `HashSet`
[INFO] [stdout]  --> src/problems/medium/three_sum_closest.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/problems/easy/add_digits.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | /     loop {
[INFO] [stdout]  4 | |         let digits: Vec<u32> = num.to_string().chars().map(|c| c as u32 - 48).collect();
[INFO] [stdout]  5 | |         let mut curr_sum = 0;
[INFO] [stdout]  6 | |         for digit in &digits {
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         num = curr_sum;
[INFO] [stdout] 13 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 14 |       0
[INFO] [stdout]    |       ^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice::ChunksMut`
[INFO] [stdout]  --> src/problems/easy/inorder_traversal.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc, slice::ChunksMut};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/easy/majority_element.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/problems/easy/remove_elements.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/problems/easy/search_insert_position.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let left = (curr.is_none() || curr.unwrap() <= &target);
[INFO] [stdout]    |                    ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         let left = (curr.is_none() || curr.unwrap() <= &target);
[INFO] [stdout] 23 +         let left = curr.is_none() || curr.unwrap() <= &target ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/problems/easy/search_insert_position.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let right = (next.is_none() || next.unwrap() >= &target);
[INFO] [stdout]    |                     ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -         let right = (next.is_none() || next.unwrap() >= &target);
[INFO] [stdout] 24 +         let right = next.is_none() || next.unwrap() >= &target ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]  --> src/problems/medium/add_two_numbers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::panic;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]  --> src/problems/medium/add_two_numbers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/medium/longest_substring.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/problems/medium/next_permutation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/problems/medium/three_sum.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `HashSet`
[INFO] [stdout]  --> src/problems/medium/three_sum_closest.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/problems/easy/add_digits.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | /     loop {
[INFO] [stdout]  4 | |         let digits: Vec<u32> = num.to_string().chars().map(|c| c as u32 - 48).collect();
[INFO] [stdout]  5 | |         let mut curr_sum = 0;
[INFO] [stdout]  6 | |         for digit in &digits {
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         num = curr_sum;
[INFO] [stdout] 13 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 14 |       0
[INFO] [stdout]    |       ^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::Borrow`
[INFO] [stdout]  --> src/problems/easy/binary_tree_paths.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::Borrow, cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/minimum_depth_of_binary_tree.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/path_sum.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root_2`
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let root_2 = Some(Rc::new(RefCell::new(TreeNode {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/problems/easy/convert_to_title.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut column_number = 2147483647;
[INFO] [stdout]   |         ----^^^^^^^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/problems/easy/longest_common_prefix.rs:12:50
[INFO] [stdout]    |
[INFO] [stdout] 12 |     first_word.chars().enumerate().find_map(|(i, c)| {
[INFO] [stdout]    |                                                  ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/problems/easy/merge_sorted_arr.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let n = 5;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/problems/easy/plus_one.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     for (i, digit) in digits.iter_mut().rev().enumerate() {
[INFO] [stdout]   |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::Borrow`
[INFO] [stdout]  --> src/problems/easy/binary_tree_paths.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::Borrow, cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/minimum_depth_of_binary_tree.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/problems/easy/path_sum.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root_2`
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let root_2 = Some(Rc::new(RefCell::new(TreeNode {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/problems/easy/convert_to_title.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut column_number = 2147483647;
[INFO] [stdout]   |         ----^^^^^^^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/problems/easy/title_to_number.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut column_title = String::from("FXSHRXW");
[INFO] [stdout]   |         ----^^^^^^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/problems/easy/longest_common_prefix.rs:12:50
[INFO] [stdout]    |
[INFO] [stdout] 12 |     first_word.chars().enumerate().find_map(|(i, c)| {
[INFO] [stdout]    |                                                  ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/problems/easy/merge_sorted_arr.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let n = 5;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/add_binary.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/add_digits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/balanced_binary_tree.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn solve() -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_height` is never used
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn get_height(curr_node: &Option<Rc<RefCell<TreeNode>>>) -> Result<i32, &str> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/binary_tree_paths.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/binary_tree_paths.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/binary_tree_paths.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn solve() -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traverse` is never used
[INFO] [stdout]   --> src/problems/easy/binary_tree_paths.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn traverse(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/buy_and_sell_stocks.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/climbing_stairs.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `climb` is never used
[INFO] [stdout]  --> src/problems/easy/climbing_stairs.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn climb(steps_left: i32, memo: &mut HashMap<i32, i32>) -> i32 {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/contains_duplicates.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/contains_nearby_duplicates.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/convert_to_title.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/convert_to_title.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn recurse(val: u32, s: &mut String) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/count_nodes.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn solve() -> i32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_missing` is never used
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn count_missing(
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_height` is never used
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn get_height(node: &Option<Rc<RefCell<TreeNode>>>, height: &mut i32) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/delete_duplicates.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/delete_duplicates.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/delete_duplicates.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `naive_solve` is never used
[INFO] [stdout]   --> src/problems/easy/delete_duplicates.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn naive_solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/hamming_weight.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/inorder_traversal.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/inorder_traversal.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/inorder_traversal.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_node` is never used
[INFO] [stdout]   --> src/problems/easy/inorder_traversal.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn search_node(curr_node: &Rc<RefCell<TreeNode>>, tracker_vec: &mut Vec<i32>) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/invert_binary_tree.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn solve() -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse_reverse` is never used
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn recurse_reverse(node: &mut Option<Rc<RefCell<TreeNode>>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/is_happy.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/is_isomorphic.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/is_same_tree.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WrappedTreeNode` is never used
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | type WrappedTreeNode = Option<Rc<RefCell<TreeNode>>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn solve() -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_trees` is never used
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn compare_trees(p: &WrappedTreeNode, q: &WrappedTreeNode) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/is_symetric.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WrappedTreeNode` is never used
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | type WrappedTreeNode = Option<Rc<RefCell<TreeNode>>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn solve() -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cmp_nodes` is never used
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn cmp_nodes(l_node: &WrappedTreeNode, r_node: &WrappedTreeNode) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/kata_machine.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> [i32; 10] {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/length_of_the_last_word.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/longest_common_prefix.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/majority_element.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/max_depth.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WrappedTreeNode` is never used
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | type WrappedTreeNode = Option<Rc<RefCell<TreeNode>>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn solve() -> i32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search` is never used
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn search(node: &WrappedTreeNode) -> i32 {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/merge_sorted_arr.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/merge_two_sorted_lists.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/merge_two_sorted_lists.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/merge_two_sorted_lists.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/minimum_depth_of_binary_tree.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/minimum_depth_of_binary_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/minimum_depth_of_binary_tree.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn solve() -> i32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/minimum_depth_of_binary_tree.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn recurse(curr_node: &Option<Rc<RefCell<TreeNode>>>, curr_depth: &mut i32, shortest: &mut i32) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/my_sqrt.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `naive_solve` is never used
[INFO] [stdout]   --> src/problems/easy/my_sqrt.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn naive_solve() -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyStack` is never constructed
[INFO] [stdout]  --> src/problems/easy/my_stack.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct MyStack {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `empty` are never used
[INFO] [stdout]   --> src/problems/easy/my_stack.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl MyStack {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn top(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/my_stack.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn solve() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/palindrome_linked_list.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/problems/easy/palindrome_linked_list.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl ListNode {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout] 9 |     fn new(val: i32) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/palindrome_linked_list.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/palindrome_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/pascals_trianble_2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/pascals_triangle.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<Vec<i32>> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/path_sum.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/path_sum.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/path_sum.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn solve() -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/path_sum.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn recurse(curr_node: &Option<Rc<RefCell<TreeNode>>>, curr_sum: &mut i32, target: i32) -> bool {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/plus_one.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/postorder_traversal.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/postorder_traversal.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/postorder_traversal.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/postorder_traversal.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn recurse(node: &Option<Rc<RefCell<TreeNode>>>, order: &mut Vec<i32>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/power_of_two.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/preorder_traversal.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/preorder_traversal.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/preorder_traversal.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/preorder_traversal.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn recurse(node: &Option<Rc<RefCell<TreeNode>>>, order: &mut Vec<i32>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyQueue` is never constructed
[INFO] [stdout]  --> src/problems/easy/queue_using_stacks.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct MyQueue {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/problems/easy/plus_one.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     for (i, digit) in digits.iter_mut().rev().enumerate() {
[INFO] [stdout]   |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `empty` are never used
[INFO] [stdout]   --> src/problems/easy/queue_using_stacks.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl MyQueue {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn peek(&self) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/queue_using_stacks.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn solve() -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/remove_duplicates.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/remove_element.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/remove_elements.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/remove_elements.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/remove_elements.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/reverse_bits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/reverse_list.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/reverse_list.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/reverse_list.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/roman_to_integer.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/search_insert_position.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/single_number.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/sorted_array_to_bst.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/sorted_array_to_bst.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/sorted_array_to_bst.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn solve() -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/sorted_array_to_bst.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn recurse(nums: &[i32]) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/str_in_str.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/summary_ranges.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/title_to_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/two_sum.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/valid_anagram.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/valid_palindrome.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/valid_parentheses.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse` is never used
[INFO] [stdout]   --> src/problems/easy/valid_parentheses.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn reverse(c: char) -> char {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/hard/find_median_sorted_arrays.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> f64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/medium/add_two_numbers.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/medium/add_two_numbers.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     fn new(val: i32, next: Option<Box<ListNode>>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/medium/add_two_numbers.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/divide_two_integers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/generate_parenthesis.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<String> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/medium/generate_parenthesis.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn recurse(s: String, all_strings: &mut Vec<String>, num_open: i32, num_closed: i32) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/int_to_roman.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/letter_combinations.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<String> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/medium/letter_combinations.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn recurse(
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_letters` is never used
[INFO] [stdout]   --> src/problems/medium/letter_combinations.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn get_letters(digit: char) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/longest_palindrome.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `palindrome_odd` is never used
[INFO] [stdout]   --> src/problems/medium/longest_palindrome.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn palindrome_odd(s: &str, curr_longest: &mut VecDeque<char>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `palindrome_even` is never used
[INFO] [stdout]   --> src/problems/medium/longest_palindrome.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn palindrome_even(s: &str, curr_longest: &mut VecDeque<char>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/longest_substring.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/max_area.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/my_atoi.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/medium/remove_nth_node_from_end.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/medium/remove_nth_node_from_end.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/medium/remove_nth_node_from_end.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/reverse_integer.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/medium/swap_nodes.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/medium/swap_nodes.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/medium/swap_nodes.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/three_sum.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> Vec<Vec<i32>> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/three_sum_closest.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/zigzag_conversion.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/problems/easy/title_to_number.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut column_title = String::from("FXSHRXW");
[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/problems/easy/add_binary.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/add_digits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/balanced_binary_tree.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn solve() -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_height` is never used
[INFO] [stdout]   --> src/problems/easy/balanced_binary_tree.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn get_height(curr_node: &Option<Rc<RefCell<TreeNode>>>) -> Result<i32, &str> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/binary_tree_paths.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/binary_tree_paths.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/binary_tree_paths.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn solve() -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traverse` is never used
[INFO] [stdout]   --> src/problems/easy/binary_tree_paths.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn traverse(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/buy_and_sell_stocks.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/climbing_stairs.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `climb` is never used
[INFO] [stdout]  --> src/problems/easy/climbing_stairs.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn climb(steps_left: i32, memo: &mut HashMap<i32, i32>) -> i32 {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/contains_duplicates.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/contains_nearby_duplicates.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/convert_to_title.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/convert_to_title.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn recurse(val: u32, s: &mut String) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/count_nodes.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn solve() -> i32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_missing` is never used
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn count_missing(
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_height` is never used
[INFO] [stdout]   --> src/problems/easy/count_nodes.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn get_height(node: &Option<Rc<RefCell<TreeNode>>>, height: &mut i32) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/delete_duplicates.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/delete_duplicates.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/delete_duplicates.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `naive_solve` is never used
[INFO] [stdout]   --> src/problems/easy/delete_duplicates.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn naive_solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/hamming_weight.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/inorder_traversal.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/inorder_traversal.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/inorder_traversal.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_node` is never used
[INFO] [stdout]   --> src/problems/easy/inorder_traversal.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn search_node(curr_node: &Rc<RefCell<TreeNode>>, tracker_vec: &mut Vec<i32>) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/invert_binary_tree.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn solve() -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse_reverse` is never used
[INFO] [stdout]   --> src/problems/easy/invert_binary_tree.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn recurse_reverse(node: &mut Option<Rc<RefCell<TreeNode>>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/is_happy.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/is_isomorphic.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/is_same_tree.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WrappedTreeNode` is never used
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | type WrappedTreeNode = Option<Rc<RefCell<TreeNode>>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn solve() -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_trees` is never used
[INFO] [stdout]   --> src/problems/easy/is_same_tree.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn compare_trees(p: &WrappedTreeNode, q: &WrappedTreeNode) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/is_symetric.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WrappedTreeNode` is never used
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | type WrappedTreeNode = Option<Rc<RefCell<TreeNode>>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn solve() -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cmp_nodes` is never used
[INFO] [stdout]   --> src/problems/easy/is_symetric.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn cmp_nodes(l_node: &WrappedTreeNode, r_node: &WrappedTreeNode) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/kata_machine.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> [i32; 10] {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/length_of_the_last_word.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/longest_common_prefix.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/majority_element.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/max_depth.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WrappedTreeNode` is never used
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | type WrappedTreeNode = Option<Rc<RefCell<TreeNode>>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn solve() -> i32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search` is never used
[INFO] [stdout]   --> src/problems/easy/max_depth.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn search(node: &WrappedTreeNode) -> i32 {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/merge_sorted_arr.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/merge_two_sorted_lists.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/merge_two_sorted_lists.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/merge_two_sorted_lists.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/minimum_depth_of_binary_tree.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/minimum_depth_of_binary_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/minimum_depth_of_binary_tree.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn solve() -> i32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/minimum_depth_of_binary_tree.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn recurse(curr_node: &Option<Rc<RefCell<TreeNode>>>, curr_depth: &mut i32, shortest: &mut i32) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/my_sqrt.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `naive_solve` is never used
[INFO] [stdout]   --> src/problems/easy/my_sqrt.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn naive_solve() -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyStack` is never constructed
[INFO] [stdout]  --> src/problems/easy/my_stack.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct MyStack {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `empty` are never used
[INFO] [stdout]   --> src/problems/easy/my_stack.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl MyStack {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn top(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/my_stack.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn solve() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/palindrome_linked_list.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/problems/easy/palindrome_linked_list.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl ListNode {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout] 9 |     fn new(val: i32) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/palindrome_linked_list.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/palindrome_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/pascals_trianble_2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/pascals_triangle.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<Vec<i32>> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/path_sum.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/path_sum.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/path_sum.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn solve() -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/path_sum.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn recurse(curr_node: &Option<Rc<RefCell<TreeNode>>>, curr_sum: &mut i32, target: i32) -> bool {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/plus_one.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/postorder_traversal.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/postorder_traversal.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/postorder_traversal.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/postorder_traversal.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn recurse(node: &Option<Rc<RefCell<TreeNode>>>, order: &mut Vec<i32>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/power_of_two.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/preorder_traversal.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/preorder_traversal.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/preorder_traversal.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/preorder_traversal.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn recurse(node: &Option<Rc<RefCell<TreeNode>>>, order: &mut Vec<i32>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyQueue` is never constructed
[INFO] [stdout]  --> src/problems/easy/queue_using_stacks.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct MyQueue {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `empty` are never used
[INFO] [stdout]   --> src/problems/easy/queue_using_stacks.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl MyQueue {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn peek(&self) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/queue_using_stacks.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn solve() -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/remove_duplicates.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/remove_element.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/remove_elements.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/remove_elements.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/remove_elements.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/reverse_bits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/reverse_list.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/reverse_list.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/reverse_list.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/roman_to_integer.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/search_insert_position.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/single_number.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]  --> src/problems/easy/sorted_array_to_bst.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TreeNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/easy/sorted_array_to_bst.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/easy/sorted_array_to_bst.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn solve() -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/easy/sorted_array_to_bst.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn recurse(nums: &[i32]) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/str_in_str.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/summary_ranges.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/title_to_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/two_sum.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/valid_anagram.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> u32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/valid_palindrome.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/easy/valid_parentheses.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> bool {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse` is never used
[INFO] [stdout]   --> src/problems/easy/valid_parentheses.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn reverse(c: char) -> char {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/hard/find_median_sorted_arrays.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> f64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/medium/add_two_numbers.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/medium/add_two_numbers.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     fn new(val: i32, next: Option<Box<ListNode>>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/medium/add_two_numbers.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/divide_two_integers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/generate_parenthesis.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<String> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/medium/generate_parenthesis.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn recurse(s: String, all_strings: &mut Vec<String>, num_open: i32, num_closed: i32) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/int_to_roman.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/letter_combinations.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> Vec<String> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurse` is never used
[INFO] [stdout]   --> src/problems/medium/letter_combinations.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn recurse(
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_letters` is never used
[INFO] [stdout]   --> src/problems/medium/letter_combinations.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn get_letters(digit: char) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/longest_palindrome.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `palindrome_odd` is never used
[INFO] [stdout]   --> src/problems/medium/longest_palindrome.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn palindrome_odd(s: &str, curr_longest: &mut VecDeque<char>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `palindrome_even` is never used
[INFO] [stdout]   --> src/problems/medium/longest_palindrome.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn palindrome_even(s: &str, curr_longest: &mut VecDeque<char>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/longest_substring.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/max_area.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/my_atoi.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/medium/remove_nth_node_from_end.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/medium/remove_nth_node_from_end.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/medium/remove_nth_node_from_end.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/reverse_integer.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/problems/medium/swap_nodes.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/problems/medium/swap_nodes.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]   --> src/problems/medium/swap_nodes.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn solve() -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/three_sum.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> Vec<Vec<i32>> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/three_sum_closest.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problems/medium/zigzag_conversion.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn solve() -> String {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "8b0611527823a8e353d161745172a3b347e6a6e6d9a2b50b1c35343063d76a98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b0611527823a8e353d161745172a3b347e6a6e6d9a2b50b1c35343063d76a98", kill_on_drop: false }`
[INFO] [stdout] 8b0611527823a8e353d161745172a3b347e6a6e6d9a2b50b1c35343063d76a98
