[INFO] cloning repository https://github.com/simonwater/rust_dsa
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simonwater/rust_dsa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonwater%2Frust_dsa", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonwater%2Frust_dsa'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] be351a1ea6208e51927f14b6704eb43f6557a184
[INFO] testing simonwater/rust_dsa against 1.96.0-beta.9 for beta-1.97-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonwater%2Frust_dsa" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/simonwater/rust_dsa
[INFO] finished tweaking git repo https://github.com/simonwater/rust_dsa
[INFO] tweaked toml for git repo https://github.com/simonwater/rust_dsa written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/simonwater/rust_dsa on toolchain 1.96.0-beta.9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.96.0-beta.9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/simonwater/rust_dsa 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" "+1.96.0-beta.9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e804bf6e456fdeea3a6b298e3b63152c1582570c0da1a518ff74195dd16ba8a3
[INFO] running `Command { std: "docker" "start" "-a" "e804bf6e456fdeea3a6b298e3b63152c1582570c0da1a518ff74195dd16ba8a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e804bf6e456fdeea3a6b298e3b63152c1582570c0da1a518ff74195dd16ba8a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e804bf6e456fdeea3a6b298e3b63152c1582570c0da1a518ff74195dd16ba8a3", kill_on_drop: false }`
[INFO] [stdout] e804bf6e456fdeea3a6b298e3b63152c1582570c0da1a518ff74195dd16ba8a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 811abcf0a33982ea286fda9d11d9da9070d7ece9aa96215287fcc74209196667
[INFO] running `Command { std: "docker" "start" "-a" "811abcf0a33982ea286fda9d11d9da9070d7ece9aa96215287fcc74209196667", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling rust_dsa v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stdout]  --> src/binary_search/k_closest_elements.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::BinaryHeap;
[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: `is_same_tree`
[INFO] [stdout]  --> src/binary_tree/is_same_tree.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::binary_tree::{TreeNode, is_same_tree};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::borrow`
[INFO] [stdout]  --> src/binary_tree/is_symmetric.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::borrow`
[INFO] [stdout]  --> src/binary_tree/level_order/zigzag_level_order.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/binary_tree/width_of_binary_tree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]  --> src/linkedlist/middle_of_the_linked_list.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::DerefMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `graph::node`
[INFO] [stdout]  --> src/linkedlist/rotate_list.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{graph::node, linkedlist::ListNode};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/array/longest_consecutive.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut set = nums.into_iter().collect::<HashSet<i32>>();
[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/array/majority_element.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn majority_element_vote(mut nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |                                  ----^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/array/rotate_array.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]   |                                        ----^
[INFO] [stdout]   |                                        |
[INFO] [stdout]   |                                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/array/rotate_array.rs:29:40
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]    |                                        ----^
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[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/binary_tree/sum_numbers.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut num = 0;
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/graph/update_matrix.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |             for (c, val) in row.iter().enumerate() {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/hash/happy_number.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn is_happy(mut n: i32) -> bool {
[INFO] [stdout]   |                     ----^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/linkedlist/linked_list_cycle.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn has_cycle(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]   |                      ----^^^^
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/linkedlist/linked_list_cycle.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn has_cycle2(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]    |                       ----^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/linkedlist/odd_even_list.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn odd_even_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |                          ----^^^^
[INFO] [stdout]   |                          |
[INFO] [stdout]   |                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/container_with_most_water.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_area` is never used
[INFO] [stdout]  --> src/array/container_with_most_water.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_area(heights: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/contains_duplicate.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `contains_duplicate`, `contains_nearby_duplicate`, and `contains_nearby_almost_duplicate` are never used
[INFO] [stdout]   --> src/array/contains_duplicate.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 10 |     // set
[INFO] [stdout] 11 |     pub fn contains_duplicate(nums: Vec<i32>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn contains_nearby_duplicate(nums: Vec<i32>, k: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn contains_nearby_almost_duplicate(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/gas_station.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `can_complete_circuit` is never used
[INFO] [stdout]  --> src/array/gas_station.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn can_complete_circuit(gas: Vec<i32>, cost: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/find_min_arrow_shots.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_min_arrow_shots` is never used
[INFO] [stdout]  --> src/array/interval/find_min_arrow_shots.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     // 左边界排序
[INFO] [stdout] 6 |     pub fn find_min_arrow_shots(mut points: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/array/interval/find_min_arrow_shots.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_min_arrow_shots` is never used
[INFO] [stdout]   --> src/array/interval/find_min_arrow_shots.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 30 |     // 右边界排序
[INFO] [stdout] 31 |     pub fn find_min_arrow_shots(mut points: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/insert_interval.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `insert` is never used
[INFO] [stdout]  --> src/array/interval/insert_interval.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn insert(intervals: Vec<Vec<i32>>, mut new_interval: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/merge_intervals.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `merge` is never used
[INFO] [stdout]  --> src/array/interval/merge_intervals.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn merge(mut intervals: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/non_overlap_intervals.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `erase_overlap_intervals` is never used
[INFO] [stdout]  --> src/array/interval/non_overlap_intervals.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn erase_overlap_intervals(mut intervals: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/summary_ranges.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `summary_ranges` and `to_string` are never used
[INFO] [stdout]   --> src/array/interval/summary_ranges.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn summary_ranges(nums: Vec<i32>) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn to_string(start: i32, end: i32) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/longest_consecutive.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `longest_consecutive` is never used
[INFO] [stdout]  --> src/array/longest_consecutive.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn longest_consecutive(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/majority_element.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `majority_element_sort` and `majority_element_vote` are never used
[INFO] [stdout]   --> src/array/majority_element.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn majority_element_sort(mut nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn majority_element_vote(mut nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/move_zeroes.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `move_zeroes`, `remove_element`, `remove_duplicates`, and `remove_duplicatesII` are never used
[INFO] [stdout]   --> src/array/move_zeroes.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub fn move_zeroes(nums: &mut Vec<i32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn remove_duplicatesII(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/product_except_self.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `product_except_self` is never used
[INFO] [stdout]  --> src/array/product_except_self.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn product_except_self(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/rotate_array.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `rotate` and `reverse` are never used
[INFO] [stdout]   --> src/array/rotate_array.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn reverse(nums: &mut [i32], mut start: usize, mut end: usize) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/array/rotate_array.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `rotate` is never used
[INFO] [stdout]   --> src/array/rotate_array.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 29 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/sort/kth_largest.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sort`, `qsort`, and `partition` are never used
[INFO] [stdout]   --> src/array/sort/kth_largest.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  4 |     // 快速排序
[INFO] [stdout]  5 |     pub fn sort(mut nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn qsort(nums: &mut [i32], start: usize, end: usize) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn partition(nums: &mut [i32], start: usize, end: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/sort/qsort.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `find_kth_largest` and `qselect` are never used
[INFO] [stdout]   --> src/array/sort/qsort.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     // 快速选择
[INFO] [stdout]  7 |     pub fn find_kth_largest(mut nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn qselect(nums: &mut [i32], start: usize, end: usize, k: usize, rng: &mut ThreadRng) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/sort/sort_colors.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sort_colors` is never used
[INFO] [stdout]  --> src/array/sort/sort_colors.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/sorted_squares.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sorted_squares_simple` and `sorted_squares` are never used
[INFO] [stdout]   --> src/array/sorted_squares.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn sorted_squares_simple(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn sorted_squares(mut nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/stock_max_profit.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/array/stock_max_profit.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/three_sum.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum` is never used
[INFO] [stdout]  --> src/array/three_sum.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/three_sum_closest.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum_closest` is never used
[INFO] [stdout]  --> src/array/three_sum_closest.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn three_sum_closest(mut nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/two_sum.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `two_sum` and `two_sum_ordered` are never used
[INFO] [stdout]   --> src/array/two_sum.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  8 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn two_sum_ordered(numbers: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution1` is never constructed
[INFO] [stdout]  --> src/backtrack/combination_sum.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Solution1;
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `combination_sum` and `dfs` are never used
[INFO] [stdout]   --> src/backtrack/combination_sum.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution1 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn combination_sum(mut candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/backtrack/combination_sum.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `combination_sum` and `dfs` are never used
[INFO] [stdout]   --> src/backtrack/combination_sum.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 40 |     pub fn combination_sum(mut candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary/add_binary.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_binary` is never used
[INFO] [stdout]  --> src/binary/add_binary.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn add_binary(a: String, b: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary/counting_bits.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `count_bits` is never used
[INFO] [stdout]  --> src/binary/counting_bits.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn count_bits(n: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary/number_of_1_bits.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `hamming_weight` is never used
[INFO] [stdout]  --> src/binary/number_of_1_bits.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn hamming_weight(mut n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/first_bad_version.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `first_bad_version` and `isBadVersion` are never used
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout]  5 |     pub fn first_bad_version(&self, n: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/k_closest_elements.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_closest_elements` is never used
[INFO] [stdout]   --> src/binary_search/k_closest_elements.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn find_closest_elements(arr: Vec<i32>, k: i32, x: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/rotated_sorted_array.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `search` and `find_min` are never used
[INFO] [stdout]   --> src/binary_search/rotated_sorted_array.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn search(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn find_min(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/search.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `search`, `search2`, and `search3` are never used
[INFO] [stdout]   --> src/binary_search/search.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn search(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn search2(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn search3(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/search_insert.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `search_insert` is never used
[INFO] [stdout]  --> src/binary_search/search_insert.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn search_insert(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/search_matrix.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `search_matrix` is never used
[INFO] [stdout]  --> src/binary_search/search_matrix.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn search_matrix(matrix: Vec<Vec<i32>>, target: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/search_range.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `search_range`, `search_bound`, and `search_bound2` are never used
[INFO] [stdout]   --> src/binary_search/search_range.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn search_range(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn search_bound(nums: &[i32], target: i32, is_lower: bool) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn search_bound2(nums: &[i32], target: i32, is_lower: bool) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimeMap` is never constructed
[INFO] [stdout]  --> src/binary_search/time_map.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct TimeMap {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set`, `get`, and `search_upper` are never used
[INFO] [stdout]   --> src/binary_search/time_map.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TimeMap {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  9 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn set(&mut self, key: String, value: String, timestamp: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn get(&self, key: String, timestamp: i32) -> String {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn search_upper(values: &[(i32, String)], target_time: i32) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/build_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_tree` and `build_helper` are never used
[INFO] [stdout]   --> src/binary_tree/build_tree.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn build_tree(preorder: Vec<i32>, inorder: Vec<i32>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn build_helper(
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/binary_tree/build_tree.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_tree` and `build_helper` are never used
[INFO] [stdout]   --> src/binary_tree/build_tree.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 65 |     pub fn build_tree(inorder: Vec<i32>, postorder: Vec<i32>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn build_helper(
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/count_nodes.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `count_nodes`, `count_nodes_better`, `get_height`, and `get_height_iter` are never used
[INFO] [stdout]   --> src/binary_tree/count_nodes.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn count_nodes(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn count_nodes_better(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn get_height(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn get_height_iter(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/diameter_of_binary_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `diameter_of_binary_tree` and `get_height` are never used
[INFO] [stdout]   --> src/binary_tree/diameter_of_binary_tree.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn diameter_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn get_height(root: &Option<Rc<RefCell<TreeNode>>>, ans: &mut i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/invert_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `invert_tree` is never used
[INFO] [stdout]  --> src/binary_tree/invert_tree.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/is_balanced.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_balanced` and `dfs` are never used
[INFO] [stdout]   --> src/binary_tree/is_balanced.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn is_balanced(root: Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn dfs(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/is_same_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_same_tree` is never used
[INFO] [stdout]  --> src/binary_tree/is_same_tree.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn is_same_tree(
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/is_subtree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_subtree_simple`, `dfs_simple`, `is_subtree`, `dfs`, `is_same_tree`, and `get_depth` are never used
[INFO] [stdout]   --> src/binary_tree/is_subtree.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn is_subtree_simple(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn dfs_simple(
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn is_subtree(
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn is_same_tree(p: &Option<Rc<RefCell<TreeNode>>>, q: &Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn get_depth(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/is_symmetric.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_symmetric` and `check` are never used
[INFO] [stdout]   --> src/binary_tree/is_symmetric.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 10 |     pub fn is_symmetric(root: Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn check(root1: &Option<Rc<RefCell<TreeNode>>>, root2: &Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/average_of_levels.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `average_of_levels` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/average_of_levels.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn average_of_levels(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<f64> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/find_bottom_left_value.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_bottom_left_value` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/find_bottom_left_value.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     /// 按照先右后左的顺序入队列，最后弹出的节点就是树的左下角节点
[INFO] [stdout] 10 |     pub fn find_bottom_left_value(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/binary_tree/level_order/find_bottom_left_value.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `find_bottom_left_value` and `dfs` are never used
[INFO] [stdout]   --> src/binary_tree/level_order/find_bottom_left_value.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn find_bottom_left_value(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn dfs(root: &Option<Rc<RefCell<TreeNode>>>, depth: i32, max_depth: &mut i32, ans: &mut i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution1` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/largest_values.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution1;
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `largest_values` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/largest_values.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution1 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn largest_values(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/binary_tree/level_order/largest_values.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `largest_values` and `dfs` are never used
[INFO] [stdout]   --> src/binary_tree/level_order/largest_values.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 44 |     pub fn largest_values(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn dfs(root: &Option<Rc<RefCell<TreeNode>>>, depth: usize, ans: &mut Vec<i32>) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/level_order.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `level_order` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/level_order.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn level_order(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/zigzag_level_order.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `zigzag_level_order` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/zigzag_level_order.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn zigzag_level_order(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/lowest_common_ancestor.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `lowest_common_ancestor` is never used
[INFO] [stdout]  --> src/binary_tree/lowest_common_ancestor.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn lowest_common_ancestor(
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/max_depth.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_depth` is never used
[INFO] [stdout]  --> src/binary_tree/max_depth.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn max_depth(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/merge_trees.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `merge_trees` is never used
[INFO] [stdout]  --> src/binary_tree/merge_trees.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn merge_trees(
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/path_sum.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `has_path_sum`, `path_sum`, `dfs`, `path_sum_iii`, and `path_sum_iii_dfs` are never used
[INFO] [stdout]   --> src/binary_tree/path_sum.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 10 |     pub fn has_path_sum(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn path_sum(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn path_sum_iii(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn path_sum_iii_dfs(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/prune_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `prune_tree` is never used
[INFO] [stdout]  --> src/binary_tree/prune_tree.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn prune_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/sum_numbers.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sum_numbers`, `dfs`, `sum_numbers_clean`, and `dfs2` are never used
[INFO] [stdout]   --> src/binary_tree/sum_numbers.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn sum_numbers(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn dfs(root: Option<Rc<RefCell<TreeNode>>>, mut num: i32, ans: &mut i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn sum_numbers_clean(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn dfs2(root: Option<Rc<RefCell<TreeNode>>>, mut num: i32) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/width_of_binary_tree.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `width_of_binary_tree` and `dfs` are never used
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 11 |     pub fn width_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution1` is never constructed
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Solution1;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `width_of_binary_tree` is never used
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Solution1 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 48 |     pub fn width_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/buy_and_sell_stock.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/dp/buy_and_sell_stock.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_ii.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_ii.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_iii.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_iii.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_iv.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_iv.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(k: i32, prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/edit_distance.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `min_distance` is never used
[INFO] [stdout]  --> src/dp/edit_distance.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn min_distance(s1: String, s2: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/interleave_string.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_interleave`, `dfs`, and `dp` are never used
[INFO] [stdout]   --> src/dp/interleave_string.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn is_interleave(s1: String, s2: String, s3: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn dp(s1: String, s2: String, s3: String) -> bool {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/triangle.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `minimum_total` is never used
[INFO] [stdout]  --> src/dp/triangle.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn minimum_total(triangle: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/flood_fill.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `flood_fill` and `dfs` are never used
[INFO] [stdout]   --> src/graph/flood_fill.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn dfs(image: &mut Vec<Vec<i32>>, r: i32, c: i32, old_color: i32, new_color: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/graph/flood_fill.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `flood_fill` is never used
[INFO] [stdout]   --> src/graph/flood_fill.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 31 |     /// bfs
[INFO] [stdout] 32 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/num_islands.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `num_islands` and `dfs` are never used
[INFO] [stdout]   --> src/graph/num_islands.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn num_islands(mut grid: Vec<Vec<char>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn dfs(grid: &mut Vec<Vec<char>>, r: i32, c: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/graph/num_islands.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `num_islands` and `bfs` are never used
[INFO] [stdout]   --> src/graph/num_islands.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 40 |     pub fn num_islands(mut grid: Vec<Vec<char>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn bfs(grid: &mut Vec<Vec<char>>, r: i32, c: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/rotting_oranges.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `oranges_rotting` is never used
[INFO] [stdout]  --> src/graph/rotting_oranges.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 7 |     pub fn oranges_rotting(mut grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/update_matrix.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `update_matrix` and `bfs` are never used
[INFO] [stdout]   --> src/graph/update_matrix.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  8 |     pub fn update_matrix(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn bfs(mat: &Vec<Vec<i32>>, r: usize, c: usize) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/graph/update_matrix.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `update_matrix` is never used
[INFO] [stdout]   --> src/graph/update_matrix.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 54 |     pub fn update_matrix(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/first_missing_positive.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `first_missing_positive` and `first_missing_positive2` are never used
[INFO] [stdout]   --> src/hash/first_missing_positive.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn first_missing_positive(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn first_missing_positive2(mut nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/happy_number.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_happy`, `is_happy2`, `is_happy3`, and `new_num` are never used
[INFO] [stdout]   --> src/hash/happy_number.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     /// 哈希表记录已经处理过的数
[INFO] [stdout]  7 |     pub fn is_happy(mut n: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn is_happy2(n: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn is_happy3(n: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn new_num(mut n: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/is_anagram.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_anagram` is never used
[INFO] [stdout]  --> src/hash/is_anagram.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     /// 使用栈上固定大小的数组记录字符频次，相比堆上哈希表性能高很多。
[INFO] [stdout] 6 |     pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/isomorphic_strings.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_isomorphic` is never used
[INFO] [stdout]  --> src/hash/isomorphic_strings.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn is_isomorphic(s: String, t: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomizedSet` is never constructed
[INFO] [stdout]  --> src/hash/randomized_set.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct RandomizedSet {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, `remove`, and `get_random` are never used
[INFO] [stdout]   --> src/hash/randomized_set.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl RandomizedSet {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn insert(&mut self, val: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn remove(&mut self, val: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn get_random(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/ransom_note.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `can_construct1`, `can_construct2`, and `can_construct3` are never used
[INFO] [stdout]   --> src/hash/ransom_note.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn can_construct1(ransom_note: String, magazine: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn can_construct2(ransom_note: String, magazine: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn can_construct3(ransom_note: String, magazine: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/word_pattern.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `word_pattern` is never used
[INFO] [stdout]  --> src/hash/word_pattern.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 9 |     pub fn word_pattern(pattern: String, s: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/heap/k_closest.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `k_closest`, `k_closest2`, and `k_closest3` are never used
[INFO] [stdout]   --> src/heap/k_closest.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn k_closest(points: Vec<Vec<i32>>, k: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn k_closest2(points: Vec<Vec<i32>>, k: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn k_closest3(points: Vec<Vec<i32>>, k: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/heap/k_closest_elements.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `find_closest_elements` and `find_closest_elements2` are never used
[INFO] [stdout]   --> src/heap/k_closest_elements.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn find_closest_elements(arr: Vec<i32>, k: i32, x: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn find_closest_elements2(arr: Vec<i32>, k: i32, x: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/heap/kth_largest.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_kth_largest` is never used
[INFO] [stdout]  --> src/heap/kth_largest.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 8 |     // 小顶堆
[INFO] [stdout] 9 |     pub fn find_kth_largest(nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/heap/top_k_frequent_word.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WordItem` is never constructed
[INFO] [stdout]  --> src/heap/top_k_frequent_word.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct WordItem {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `top_k_frequent` is never used
[INFO] [stdout]   --> src/heap/top_k_frequent_word.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn top_k_frequent(words: Vec<String>, k: i32) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/add_two_numbers.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `add_two_numbers`, `add_two`, `add_two_numbers_iter`, and `add_two_numbers_bigendian` are never used
[INFO] [stdout]   --> src/linkedlist/add_two_numbers.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn add_two_numbers(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn add_two(
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn add_two_numbers_iter(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn add_two_numbers_bigendian(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/linked_list_cycle.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `has_cycle` and `has_cycle2` are never used
[INFO] [stdout]   --> src/linkedlist/linked_list_cycle.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn has_cycle(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn has_cycle2(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LRUCache` is never constructed
[INFO] [stdout]  --> src/linkedlist/lru_cache.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct LRUCache {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/linkedlist/lru_cache.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Node {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, `put`, `append_to_head`, `remove_node`, and `move_to_head` are never used
[INFO] [stdout]   --> src/linkedlist/lru_cache.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl LRUCache {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(cap: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get(&mut self, key: i32) -> i32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn put(&mut self, key: i32, value: i32) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn append_to_head(&mut self, idx: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn remove_node(&mut self, idx: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn move_to_head(&mut self, idx: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/merge_two_sorted_lists.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `merge_two_lists`, `merge_two_lists_iter`, and `merge_two_lists_iter1` are never used
[INFO] [stdout]   --> src/linkedlist/merge_two_sorted_lists.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn merge_two_lists(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn merge_two_lists_iter(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn merge_two_lists_iter1(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/middle_of_the_linked_list.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `middle_node` is never used
[INFO] [stdout]  --> src/linkedlist/middle_of_the_linked_list.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn middle_node(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/odd_even_list.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `odd_even_list` is never used
[INFO] [stdout]  --> src/linkedlist/odd_even_list.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn odd_even_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/palindrome_linked_list.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_palindrome` is never used
[INFO] [stdout]  --> src/linkedlist/palindrome_linked_list.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn is_palindrome(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/partition_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `partition` is never used
[INFO] [stdout]  --> src/linkedlist/partition_list.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn partition(head: Option<Box<ListNode>>, x: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/remove_nth_from_end.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_nth_from_end` is never used
[INFO] [stdout]  --> src/linkedlist/remove_nth_from_end.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn remove_nth_from_end(head: Option<Box<ListNode>>, n: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/reorder_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reorder_list` is never used
[INFO] [stdout]  --> src/linkedlist/reorder_list.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn reorder_list(head: &mut Option<Box<ListNode>>) {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/reverse_k_group.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `reverse_k_group` and `reverse_list` are never used
[INFO] [stdout]   --> src/linkedlist/reverse_k_group.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn reverse_k_group(head: Option<Box<ListNode>>, k: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn reverse_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/reverse_linked_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `reverse_between`, `reverse_list`, `reverse_list_recursive`, and `recursive` are never used
[INFO] [stdout]   --> src/linkedlist/reverse_linked_list.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     /// [92. 反转链表 II](https://leetcode.cn/problems/reverse-linked-list-ii/description/)
[INFO] [stdout]  7 |     pub fn reverse_between(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn reverse_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn reverse_list_recursive(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn recursive(prev: Option<Box<ListNode>>, cur: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/rotate_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `rotate_right` and `node_count` are never used
[INFO] [stdout]   --> src/linkedlist/rotate_list.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn rotate_right(mut head: Option<Box<ListNode>>, mut k: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn node_count(head: &Option<Box<ListNode>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/sort_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sort_list` and `merge` are never used
[INFO] [stdout]   --> src/linkedlist/sort_list.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn sort_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn merge(
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/swap_pairs.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `swap_pairs` is never used
[INFO] [stdout]  --> src/linkedlist/swap_pairs.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn swap_pairs(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/math/task_scheduler.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `least_interval` is never used
[INFO] [stdout]  --> src/math/task_scheduler.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn least_interval(tasks: Vec<char>, n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/stack/backspace_compare.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `backspace_compare` and `clean_datas` are never used
[INFO] [stdout]   --> src/stack/backspace_compare.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn clean_datas(datas: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/stack/backspace_compare.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `backspace_compare` and `back_scan` are never used
[INFO] [stdout]   --> src/stack/backspace_compare.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 28 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn back_scan(bytes: &[u8], mut pos: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/stack/eval_rpn.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `eval_rpn` is never used
[INFO] [stdout]  --> src/stack/eval_rpn.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn eval_rpn(tokens: Vec<String>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinStack` is never constructed
[INFO] [stdout]  --> src/stack/min_stack.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct MinStack {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `get_min` are never used
[INFO] [stdout]   --> src/stack/min_stack.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl MinStack {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  7 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn push(&mut self, val: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn pop(&mut self) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn top(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn get_min(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyQueue` is never constructed
[INFO] [stdout]  --> src/stack/my_queue.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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/stack/my_queue.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl MyQueue {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  8 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn peek(&self) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/stack/valid_parentheses.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_valid` and `is_valid2` are never used
[INFO] [stdout]   --> src/stack/valid_parentheses.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn is_valid(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn is_valid2(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/length_of_longest_substring.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `length_of_longest_substring` and `length_of_longest_substring2` are never used
[INFO] [stdout]   --> src/string/length_of_longest_substring.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     /// 通过哈希表记录是否已经存在，如果存在，需要从左边界开始一个一个的迭代删除。
[INFO] [stdout]  7 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn length_of_longest_substring2(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/min_window.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `min_window`, `contains`, and `min_window2` are never used
[INFO] [stdout]   --> src/string/min_window.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     // 对比两个哈希中的每一项来判断是否覆盖
[INFO] [stdout]  6 |     pub fn min_window(s: String, t: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn contains(s: &[i32; 60], t: &[i32; 60]) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn min_window2(s: String, t: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/palindrome/is_palindrome.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_palindrome` and `is_palindrome_iter` are never used
[INFO] [stdout]   --> src/string/palindrome/is_palindrome.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn is_palindrome(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn is_palindrome_iter(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/palindrome/longest_palindrome.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `longest_palindrome`, `longest_palindrome_substring`, and `check_palindrome` are never used
[INFO] [stdout]   --> src/string/palindrome/longest_palindrome.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn longest_palindrome(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn longest_palindrome_substring(s: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn check_palindrome(s: &[u8], mut left: usize, mut right: usize) -> (usize, usize, usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/palindrome/palindromic_substrings.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `count_substrings`, `count_substrings2`, and `calc` are never used
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     /// 中心扩散法
[INFO] [stdout]  6 |     pub fn count_substrings(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn count_substrings2(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn calc(s_bytes: &[u8], mut i: usize, mut j: usize) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `count_substrings` is never used
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn count_substrings(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/palindrome/valid_palindrome.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `valid_palindrome` and `is_palindrome` are never used
[INFO] [stdout]   --> src/string/palindrome/valid_palindrome.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn valid_palindrome(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn is_palindrome(s: &[u8]) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_duplicatesII` should have a snake case name
[INFO] [stdout]   --> src/array/move_zeroes.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn remove_duplicatesII(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_duplicates_ii`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isBadVersion` should have a snake case name
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `is_bad_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:25:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |         while i >= 0 && j < s_bytes.len() {
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.30s
[INFO] running `Command { std: "docker" "inspect" "811abcf0a33982ea286fda9d11d9da9070d7ece9aa96215287fcc74209196667", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "811abcf0a33982ea286fda9d11d9da9070d7ece9aa96215287fcc74209196667", kill_on_drop: false }`
[INFO] [stdout] 811abcf0a33982ea286fda9d11d9da9070d7ece9aa96215287fcc74209196667
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0cc5cece25dc4787349a24b0e2fb9214d2a7a5eee892ab86e890435ff914e49c
[INFO] running `Command { std: "docker" "start" "-a" "0cc5cece25dc4787349a24b0e2fb9214d2a7a5eee892ab86e890435ff914e49c", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stdout]  --> src/binary_search/k_closest_elements.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::BinaryHeap;
[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: `is_same_tree`
[INFO] [stdout]  --> src/binary_tree/is_same_tree.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::binary_tree::{TreeNode, is_same_tree};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::borrow`
[INFO] [stdout]  --> src/binary_tree/is_symmetric.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::borrow`
[INFO] [stdout]  --> src/binary_tree/level_order/zigzag_level_order.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/binary_tree/width_of_binary_tree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]  --> src/linkedlist/middle_of_the_linked_list.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::DerefMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `graph::node`
[INFO] [stdout]  --> src/linkedlist/rotate_list.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{graph::node, linkedlist::ListNode};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/array/longest_consecutive.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut set = nums.into_iter().collect::<HashSet<i32>>();
[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/array/majority_element.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn majority_element_vote(mut nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |                                  ----^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/array/rotate_array.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]   |                                        ----^
[INFO] [stdout]   |                                        |
[INFO] [stdout]   |                                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/array/rotate_array.rs:29:40
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]    |                                        ----^
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[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/binary_tree/sum_numbers.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut num = 0;
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/graph/update_matrix.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |             for (c, val) in row.iter().enumerate() {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/hash/happy_number.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn is_happy(mut n: i32) -> bool {
[INFO] [stdout]   |                     ----^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/linkedlist/linked_list_cycle.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn has_cycle(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]   |                      ----^^^^
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/linkedlist/linked_list_cycle.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn has_cycle2(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]    |                       ----^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/linkedlist/odd_even_list.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn odd_even_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |                          ----^^^^
[INFO] [stdout]   |                          |
[INFO] [stdout]   |                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/container_with_most_water.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_area` is never used
[INFO] [stdout]  --> src/array/container_with_most_water.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_area(heights: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/contains_duplicate.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `contains_duplicate`, `contains_nearby_duplicate`, and `contains_nearby_almost_duplicate` are never used
[INFO] [stdout]   --> src/array/contains_duplicate.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 10 |     // set
[INFO] [stdout] 11 |     pub fn contains_duplicate(nums: Vec<i32>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn contains_nearby_duplicate(nums: Vec<i32>, k: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn contains_nearby_almost_duplicate(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/gas_station.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `can_complete_circuit` is never used
[INFO] [stdout]  --> src/array/gas_station.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn can_complete_circuit(gas: Vec<i32>, cost: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/find_min_arrow_shots.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_min_arrow_shots` is never used
[INFO] [stdout]  --> src/array/interval/find_min_arrow_shots.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     // 左边界排序
[INFO] [stdout] 6 |     pub fn find_min_arrow_shots(mut points: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/array/interval/find_min_arrow_shots.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_min_arrow_shots` is never used
[INFO] [stdout]   --> src/array/interval/find_min_arrow_shots.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 30 |     // 右边界排序
[INFO] [stdout] 31 |     pub fn find_min_arrow_shots(mut points: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/insert_interval.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `insert` is never used
[INFO] [stdout]  --> src/array/interval/insert_interval.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn insert(intervals: Vec<Vec<i32>>, mut new_interval: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/merge_intervals.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `merge` is never used
[INFO] [stdout]  --> src/array/interval/merge_intervals.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn merge(mut intervals: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/non_overlap_intervals.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `erase_overlap_intervals` is never used
[INFO] [stdout]  --> src/array/interval/non_overlap_intervals.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn erase_overlap_intervals(mut intervals: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/summary_ranges.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `summary_ranges` and `to_string` are never used
[INFO] [stdout]   --> src/array/interval/summary_ranges.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn summary_ranges(nums: Vec<i32>) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn to_string(start: i32, end: i32) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/longest_consecutive.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `longest_consecutive` is never used
[INFO] [stdout]  --> src/array/longest_consecutive.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn longest_consecutive(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/majority_element.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `majority_element_sort` and `majority_element_vote` are never used
[INFO] [stdout]   --> src/array/majority_element.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn majority_element_sort(mut nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn majority_element_vote(mut nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/move_zeroes.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `move_zeroes`, `remove_element`, `remove_duplicates`, and `remove_duplicatesII` are never used
[INFO] [stdout]   --> src/array/move_zeroes.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub fn move_zeroes(nums: &mut Vec<i32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn remove_duplicatesII(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/product_except_self.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `product_except_self` is never used
[INFO] [stdout]  --> src/array/product_except_self.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn product_except_self(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/rotate_array.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `rotate` and `reverse` are never used
[INFO] [stdout]   --> src/array/rotate_array.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn reverse(nums: &mut [i32], mut start: usize, mut end: usize) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/array/rotate_array.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `rotate` is never used
[INFO] [stdout]   --> src/array/rotate_array.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 29 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/sort/kth_largest.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sort`, `qsort`, and `partition` are never used
[INFO] [stdout]   --> src/array/sort/kth_largest.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  4 |     // 快速排序
[INFO] [stdout]  5 |     pub fn sort(mut nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn qsort(nums: &mut [i32], start: usize, end: usize) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn partition(nums: &mut [i32], start: usize, end: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/sort/qsort.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `find_kth_largest` and `qselect` are never used
[INFO] [stdout]   --> src/array/sort/qsort.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     // 快速选择
[INFO] [stdout]  7 |     pub fn find_kth_largest(mut nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn qselect(nums: &mut [i32], start: usize, end: usize, k: usize, rng: &mut ThreadRng) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/sort/sort_colors.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sort_colors` is never used
[INFO] [stdout]  --> src/array/sort/sort_colors.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/sorted_squares.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sorted_squares_simple` and `sorted_squares` are never used
[INFO] [stdout]   --> src/array/sorted_squares.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn sorted_squares_simple(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn sorted_squares(mut nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/stock_max_profit.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/array/stock_max_profit.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/three_sum.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum` is never used
[INFO] [stdout]  --> src/array/three_sum.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/three_sum_closest.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum_closest` is never used
[INFO] [stdout]  --> src/array/three_sum_closest.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn three_sum_closest(mut nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/two_sum.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `two_sum` and `two_sum_ordered` are never used
[INFO] [stdout]   --> src/array/two_sum.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  8 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn two_sum_ordered(numbers: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution1` is never constructed
[INFO] [stdout]  --> src/backtrack/combination_sum.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Solution1;
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `combination_sum` and `dfs` are never used
[INFO] [stdout]   --> src/backtrack/combination_sum.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution1 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn combination_sum(mut candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/backtrack/combination_sum.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `combination_sum` and `dfs` are never used
[INFO] [stdout]   --> src/backtrack/combination_sum.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 40 |     pub fn combination_sum(mut candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary/add_binary.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_binary` is never used
[INFO] [stdout]  --> src/binary/add_binary.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn add_binary(a: String, b: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary/counting_bits.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `count_bits` is never used
[INFO] [stdout]  --> src/binary/counting_bits.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn count_bits(n: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary/number_of_1_bits.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `hamming_weight` is never used
[INFO] [stdout]  --> src/binary/number_of_1_bits.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn hamming_weight(mut n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/first_bad_version.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `first_bad_version` and `isBadVersion` are never used
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout]  5 |     pub fn first_bad_version(&self, n: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/k_closest_elements.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_closest_elements` is never used
[INFO] [stdout]   --> src/binary_search/k_closest_elements.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn find_closest_elements(arr: Vec<i32>, k: i32, x: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/rotated_sorted_array.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `search` and `find_min` are never used
[INFO] [stdout]   --> src/binary_search/rotated_sorted_array.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn search(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn find_min(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/search.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `search`, `search2`, and `search3` are never used
[INFO] [stdout]   --> src/binary_search/search.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn search(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn search2(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn search3(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/search_insert.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `search_insert` is never used
[INFO] [stdout]  --> src/binary_search/search_insert.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn search_insert(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/search_matrix.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `search_matrix` is never used
[INFO] [stdout]  --> src/binary_search/search_matrix.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn search_matrix(matrix: Vec<Vec<i32>>, target: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/search_range.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `search_range`, `search_bound`, and `search_bound2` are never used
[INFO] [stdout]   --> src/binary_search/search_range.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn search_range(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn search_bound(nums: &[i32], target: i32, is_lower: bool) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn search_bound2(nums: &[i32], target: i32, is_lower: bool) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimeMap` is never constructed
[INFO] [stdout]  --> src/binary_search/time_map.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct TimeMap {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set`, `get`, and `search_upper` are never used
[INFO] [stdout]   --> src/binary_search/time_map.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TimeMap {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  9 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn set(&mut self, key: String, value: String, timestamp: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn get(&self, key: String, timestamp: i32) -> String {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn search_upper(values: &[(i32, String)], target_time: i32) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/build_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_tree` and `build_helper` are never used
[INFO] [stdout]   --> src/binary_tree/build_tree.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn build_tree(preorder: Vec<i32>, inorder: Vec<i32>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn build_helper(
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/binary_tree/build_tree.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_tree` and `build_helper` are never used
[INFO] [stdout]   --> src/binary_tree/build_tree.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 65 |     pub fn build_tree(inorder: Vec<i32>, postorder: Vec<i32>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn build_helper(
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/count_nodes.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `count_nodes`, `count_nodes_better`, `get_height`, and `get_height_iter` are never used
[INFO] [stdout]   --> src/binary_tree/count_nodes.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn count_nodes(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn count_nodes_better(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn get_height(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn get_height_iter(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/diameter_of_binary_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `diameter_of_binary_tree` and `get_height` are never used
[INFO] [stdout]   --> src/binary_tree/diameter_of_binary_tree.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn diameter_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn get_height(root: &Option<Rc<RefCell<TreeNode>>>, ans: &mut i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/invert_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `invert_tree` is never used
[INFO] [stdout]  --> src/binary_tree/invert_tree.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/is_balanced.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_balanced` and `dfs` are never used
[INFO] [stdout]   --> src/binary_tree/is_balanced.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn is_balanced(root: Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn dfs(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/is_same_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_same_tree` is never used
[INFO] [stdout]  --> src/binary_tree/is_same_tree.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn is_same_tree(
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/is_subtree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_subtree_simple`, `dfs_simple`, `is_subtree`, `dfs`, `is_same_tree`, and `get_depth` are never used
[INFO] [stdout]   --> src/binary_tree/is_subtree.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn is_subtree_simple(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn dfs_simple(
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn is_subtree(
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn is_same_tree(p: &Option<Rc<RefCell<TreeNode>>>, q: &Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn get_depth(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/is_symmetric.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_symmetric` and `check` are never used
[INFO] [stdout]   --> src/binary_tree/is_symmetric.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 10 |     pub fn is_symmetric(root: Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn check(root1: &Option<Rc<RefCell<TreeNode>>>, root2: &Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/average_of_levels.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `average_of_levels` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/average_of_levels.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn average_of_levels(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<f64> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/find_bottom_left_value.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_bottom_left_value` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/find_bottom_left_value.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     /// 按照先右后左的顺序入队列，最后弹出的节点就是树的左下角节点
[INFO] [stdout] 10 |     pub fn find_bottom_left_value(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/binary_tree/level_order/find_bottom_left_value.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `find_bottom_left_value` and `dfs` are never used
[INFO] [stdout]   --> src/binary_tree/level_order/find_bottom_left_value.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn find_bottom_left_value(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn dfs(root: &Option<Rc<RefCell<TreeNode>>>, depth: i32, max_depth: &mut i32, ans: &mut i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution1` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/largest_values.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution1;
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `largest_values` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/largest_values.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution1 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn largest_values(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/binary_tree/level_order/largest_values.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `largest_values` and `dfs` are never used
[INFO] [stdout]   --> src/binary_tree/level_order/largest_values.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 44 |     pub fn largest_values(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn dfs(root: &Option<Rc<RefCell<TreeNode>>>, depth: usize, ans: &mut Vec<i32>) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/level_order.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `level_order` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/level_order.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn level_order(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/level_order/zigzag_level_order.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `zigzag_level_order` is never used
[INFO] [stdout]   --> src/binary_tree/level_order/zigzag_level_order.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn zigzag_level_order(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/lowest_common_ancestor.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `lowest_common_ancestor` is never used
[INFO] [stdout]  --> src/binary_tree/lowest_common_ancestor.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn lowest_common_ancestor(
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/max_depth.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_depth` is never used
[INFO] [stdout]  --> src/binary_tree/max_depth.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn max_depth(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/merge_trees.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `merge_trees` is never used
[INFO] [stdout]  --> src/binary_tree/merge_trees.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn merge_trees(
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/path_sum.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `has_path_sum`, `path_sum`, `dfs`, `path_sum_iii`, and `path_sum_iii_dfs` are never used
[INFO] [stdout]   --> src/binary_tree/path_sum.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 10 |     pub fn has_path_sum(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn path_sum(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn path_sum_iii(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn path_sum_iii_dfs(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/prune_tree.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `prune_tree` is never used
[INFO] [stdout]  --> src/binary_tree/prune_tree.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn prune_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/sum_numbers.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sum_numbers`, `dfs`, `sum_numbers_clean`, and `dfs2` are never used
[INFO] [stdout]   --> src/binary_tree/sum_numbers.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn sum_numbers(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn dfs(root: Option<Rc<RefCell<TreeNode>>>, mut num: i32, ans: &mut i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn sum_numbers_clean(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn dfs2(root: Option<Rc<RefCell<TreeNode>>>, mut num: i32) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/width_of_binary_tree.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `width_of_binary_tree` and `dfs` are never used
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 11 |     pub fn width_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution1` is never constructed
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Solution1;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `width_of_binary_tree` is never used
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Solution1 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 48 |     pub fn width_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/buy_and_sell_stock.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/dp/buy_and_sell_stock.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_ii.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_ii.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_iii.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_iii.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_iv.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/dp/buy_and_sell_stock_iv.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_profit(k: i32, prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/edit_distance.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `min_distance` is never used
[INFO] [stdout]  --> src/dp/edit_distance.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn min_distance(s1: String, s2: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/interleave_string.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_interleave`, `dfs`, and `dp` are never used
[INFO] [stdout]   --> src/dp/interleave_string.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn is_interleave(s1: String, s2: String, s3: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn dp(s1: String, s2: String, s3: String) -> bool {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp/triangle.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `minimum_total` is never used
[INFO] [stdout]  --> src/dp/triangle.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn minimum_total(triangle: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/flood_fill.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `flood_fill` and `dfs` are never used
[INFO] [stdout]   --> src/graph/flood_fill.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn dfs(image: &mut Vec<Vec<i32>>, r: i32, c: i32, old_color: i32, new_color: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/graph/flood_fill.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `flood_fill` is never used
[INFO] [stdout]   --> src/graph/flood_fill.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 31 |     /// bfs
[INFO] [stdout] 32 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/num_islands.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `num_islands` and `dfs` are never used
[INFO] [stdout]   --> src/graph/num_islands.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn num_islands(mut grid: Vec<Vec<char>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn dfs(grid: &mut Vec<Vec<char>>, r: i32, c: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/graph/num_islands.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `num_islands` and `bfs` are never used
[INFO] [stdout]   --> src/graph/num_islands.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 40 |     pub fn num_islands(mut grid: Vec<Vec<char>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn bfs(grid: &mut Vec<Vec<char>>, r: i32, c: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/rotting_oranges.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `oranges_rotting` is never used
[INFO] [stdout]  --> src/graph/rotting_oranges.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 7 |     pub fn oranges_rotting(mut grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/update_matrix.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `update_matrix` and `bfs` are never used
[INFO] [stdout]   --> src/graph/update_matrix.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  8 |     pub fn update_matrix(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn bfs(mat: &Vec<Vec<i32>>, r: usize, c: usize) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/graph/update_matrix.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `update_matrix` is never used
[INFO] [stdout]   --> src/graph/update_matrix.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 54 |     pub fn update_matrix(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/first_missing_positive.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `first_missing_positive` and `first_missing_positive2` are never used
[INFO] [stdout]   --> src/hash/first_missing_positive.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn first_missing_positive(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn first_missing_positive2(mut nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/happy_number.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_happy`, `is_happy2`, `is_happy3`, and `new_num` are never used
[INFO] [stdout]   --> src/hash/happy_number.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     /// 哈希表记录已经处理过的数
[INFO] [stdout]  7 |     pub fn is_happy(mut n: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn is_happy2(n: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn is_happy3(n: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn new_num(mut n: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/is_anagram.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_anagram` is never used
[INFO] [stdout]  --> src/hash/is_anagram.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     /// 使用栈上固定大小的数组记录字符频次，相比堆上哈希表性能高很多。
[INFO] [stdout] 6 |     pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/isomorphic_strings.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_isomorphic` is never used
[INFO] [stdout]  --> src/hash/isomorphic_strings.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn is_isomorphic(s: String, t: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomizedSet` is never constructed
[INFO] [stdout]  --> src/hash/randomized_set.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct RandomizedSet {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, `remove`, and `get_random` are never used
[INFO] [stdout]   --> src/hash/randomized_set.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl RandomizedSet {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn insert(&mut self, val: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn remove(&mut self, val: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn get_random(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/ransom_note.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `can_construct1`, `can_construct2`, and `can_construct3` are never used
[INFO] [stdout]   --> src/hash/ransom_note.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn can_construct1(ransom_note: String, magazine: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn can_construct2(ransom_note: String, magazine: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn can_construct3(ransom_note: String, magazine: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/word_pattern.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `word_pattern` is never used
[INFO] [stdout]  --> src/hash/word_pattern.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 9 |     pub fn word_pattern(pattern: String, s: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/heap/k_closest.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `k_closest`, `k_closest2`, and `k_closest3` are never used
[INFO] [stdout]   --> src/heap/k_closest.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn k_closest(points: Vec<Vec<i32>>, k: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn k_closest2(points: Vec<Vec<i32>>, k: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn k_closest3(points: Vec<Vec<i32>>, k: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/heap/k_closest_elements.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `find_closest_elements` and `find_closest_elements2` are never used
[INFO] [stdout]   --> src/heap/k_closest_elements.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn find_closest_elements(arr: Vec<i32>, k: i32, x: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn find_closest_elements2(arr: Vec<i32>, k: i32, x: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/heap/kth_largest.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_kth_largest` is never used
[INFO] [stdout]  --> src/heap/kth_largest.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 8 |     // 小顶堆
[INFO] [stdout] 9 |     pub fn find_kth_largest(nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/heap/top_k_frequent_word.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WordItem` is never constructed
[INFO] [stdout]  --> src/heap/top_k_frequent_word.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct WordItem {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `top_k_frequent` is never used
[INFO] [stdout]   --> src/heap/top_k_frequent_word.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn top_k_frequent(words: Vec<String>, k: i32) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/add_two_numbers.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `add_two_numbers`, `add_two`, `add_two_numbers_iter`, and `add_two_numbers_bigendian` are never used
[INFO] [stdout]   --> src/linkedlist/add_two_numbers.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn add_two_numbers(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn add_two(
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn add_two_numbers_iter(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn add_two_numbers_bigendian(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/linked_list_cycle.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `has_cycle` and `has_cycle2` are never used
[INFO] [stdout]   --> src/linkedlist/linked_list_cycle.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn has_cycle(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn has_cycle2(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LRUCache` is never constructed
[INFO] [stdout]  --> src/linkedlist/lru_cache.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct LRUCache {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/linkedlist/lru_cache.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Node {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, `put`, `append_to_head`, `remove_node`, and `move_to_head` are never used
[INFO] [stdout]   --> src/linkedlist/lru_cache.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl LRUCache {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(cap: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get(&mut self, key: i32) -> i32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn put(&mut self, key: i32, value: i32) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn append_to_head(&mut self, idx: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn remove_node(&mut self, idx: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn move_to_head(&mut self, idx: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/merge_two_sorted_lists.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `merge_two_lists`, `merge_two_lists_iter`, and `merge_two_lists_iter1` are never used
[INFO] [stdout]   --> src/linkedlist/merge_two_sorted_lists.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn merge_two_lists(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn merge_two_lists_iter(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn merge_two_lists_iter1(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/middle_of_the_linked_list.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `middle_node` is never used
[INFO] [stdout]  --> src/linkedlist/middle_of_the_linked_list.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn middle_node(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/odd_even_list.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `odd_even_list` is never used
[INFO] [stdout]  --> src/linkedlist/odd_even_list.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn odd_even_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/palindrome_linked_list.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_palindrome` is never used
[INFO] [stdout]  --> src/linkedlist/palindrome_linked_list.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn is_palindrome(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/partition_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `partition` is never used
[INFO] [stdout]  --> src/linkedlist/partition_list.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn partition(head: Option<Box<ListNode>>, x: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/remove_nth_from_end.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_nth_from_end` is never used
[INFO] [stdout]  --> src/linkedlist/remove_nth_from_end.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn remove_nth_from_end(head: Option<Box<ListNode>>, n: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/reorder_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reorder_list` is never used
[INFO] [stdout]  --> src/linkedlist/reorder_list.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn reorder_list(head: &mut Option<Box<ListNode>>) {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/reverse_k_group.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `reverse_k_group` and `reverse_list` are never used
[INFO] [stdout]   --> src/linkedlist/reverse_k_group.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn reverse_k_group(head: Option<Box<ListNode>>, k: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn reverse_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/reverse_linked_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `reverse_between`, `reverse_list`, `reverse_list_recursive`, and `recursive` are never used
[INFO] [stdout]   --> src/linkedlist/reverse_linked_list.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     /// [92. 反转链表 II](https://leetcode.cn/problems/reverse-linked-list-ii/description/)
[INFO] [stdout]  7 |     pub fn reverse_between(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn reverse_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn reverse_list_recursive(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn recursive(prev: Option<Box<ListNode>>, cur: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/rotate_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `rotate_right` and `node_count` are never used
[INFO] [stdout]   --> src/linkedlist/rotate_list.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn rotate_right(mut head: Option<Box<ListNode>>, mut k: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn node_count(head: &Option<Box<ListNode>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/sort_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sort_list` and `merge` are never used
[INFO] [stdout]   --> src/linkedlist/sort_list.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn sort_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn merge(
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/swap_pairs.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `swap_pairs` is never used
[INFO] [stdout]  --> src/linkedlist/swap_pairs.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn swap_pairs(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/math/task_scheduler.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `least_interval` is never used
[INFO] [stdout]  --> src/math/task_scheduler.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn least_interval(tasks: Vec<char>, n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/stack/backspace_compare.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `backspace_compare` and `clean_datas` are never used
[INFO] [stdout]   --> src/stack/backspace_compare.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn clean_datas(datas: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/stack/backspace_compare.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `backspace_compare` and `back_scan` are never used
[INFO] [stdout]   --> src/stack/backspace_compare.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 28 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn back_scan(bytes: &[u8], mut pos: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/stack/eval_rpn.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `eval_rpn` is never used
[INFO] [stdout]  --> src/stack/eval_rpn.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn eval_rpn(tokens: Vec<String>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinStack` is never constructed
[INFO] [stdout]  --> src/stack/min_stack.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct MinStack {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `get_min` are never used
[INFO] [stdout]   --> src/stack/min_stack.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl MinStack {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  7 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn push(&mut self, val: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn pop(&mut self) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn top(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn get_min(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyQueue` is never constructed
[INFO] [stdout]  --> src/stack/my_queue.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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/stack/my_queue.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl MyQueue {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  8 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn peek(&self) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/stack/valid_parentheses.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_valid` and `is_valid2` are never used
[INFO] [stdout]   --> src/stack/valid_parentheses.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn is_valid(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn is_valid2(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/length_of_longest_substring.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `length_of_longest_substring` and `length_of_longest_substring2` are never used
[INFO] [stdout]   --> src/string/length_of_longest_substring.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     /// 通过哈希表记录是否已经存在，如果存在，需要从左边界开始一个一个的迭代删除。
[INFO] [stdout]  7 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn length_of_longest_substring2(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/min_window.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `min_window`, `contains`, and `min_window2` are never used
[INFO] [stdout]   --> src/string/min_window.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     // 对比两个哈希中的每一项来判断是否覆盖
[INFO] [stdout]  6 |     pub fn min_window(s: String, t: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn contains(s: &[i32; 60], t: &[i32; 60]) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn min_window2(s: String, t: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/palindrome/is_palindrome.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_palindrome` and `is_palindrome_iter` are never used
[INFO] [stdout]   --> src/string/palindrome/is_palindrome.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn is_palindrome(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn is_palindrome_iter(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/palindrome/longest_palindrome.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `longest_palindrome`, `longest_palindrome_substring`, and `check_palindrome` are never used
[INFO] [stdout]   --> src/string/palindrome/longest_palindrome.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn longest_palindrome(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn longest_palindrome_substring(s: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn check_palindrome(s: &[u8], mut left: usize, mut right: usize) -> (usize, usize, usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/palindrome/palindromic_substrings.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `count_substrings`, `count_substrings2`, and `calc` are never used
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     /// 中心扩散法
[INFO] [stdout]  6 |     pub fn count_substrings(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn count_substrings2(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn calc(s_bytes: &[u8], mut i: usize, mut j: usize) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `count_substrings` is never used
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn count_substrings(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust_dsa v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/palindrome/valid_palindrome.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `valid_palindrome` and `is_palindrome` are never used
[INFO] [stdout]   --> src/string/palindrome/valid_palindrome.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn valid_palindrome(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn is_palindrome(s: &[u8]) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_duplicatesII` should have a snake case name
[INFO] [stdout]   --> src/array/move_zeroes.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn remove_duplicatesII(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_duplicates_ii`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isBadVersion` should have a snake case name
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `is_bad_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:25:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |         while i >= 0 && j < s_bytes.len() {
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/array/container_with_most_water.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     use super::*;
[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: `super::*`
[INFO] [stdout]   --> src/array/gas_station.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/array/interval/find_min_arrow_shots.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/array/interval/non_overlap_intervals.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/array/longest_consecutive.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/array/rotate_array.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/array/sort/sort_colors.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stdout]  --> src/binary_search/k_closest_elements.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::BinaryHeap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/binary_search/search_matrix.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `is_same_tree`
[INFO] [stdout]  --> src/binary_tree/is_same_tree.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::binary_tree::{TreeNode, is_same_tree};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::borrow`
[INFO] [stdout]  --> src/binary_tree/is_symmetric.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::borrow`
[INFO] [stdout]  --> src/binary_tree/level_order/zigzag_level_order.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/binary_tree/width_of_binary_tree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tree`
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     use crate::tree;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/graph/num_islands.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/graph/rotting_oranges.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/graph/update_matrix.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/hash/isomorphic_strings.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]  --> src/linkedlist/middle_of_the_linked_list.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::DerefMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/linkedlist/reverse_k_group.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `graph::node`
[INFO] [stdout]  --> src/linkedlist/rotate_list.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{graph::node, linkedlist::ListNode};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/linkedlist/rotate_list.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/stack/backspace_compare.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/stack/eval_rpn.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/array/longest_consecutive.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut set = nums.into_iter().collect::<HashSet<i32>>();
[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/array/majority_element.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn majority_element_vote(mut nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |                                  ----^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/array/rotate_array.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]   |                                        ----^
[INFO] [stdout]   |                                        |
[INFO] [stdout]   |                                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/array/rotate_array.rs:29:40
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]    |                                        ----^
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[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/binary_tree/sum_numbers.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut num = 0;
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/graph/update_matrix.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |             for (c, val) in row.iter().enumerate() {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/hash/happy_number.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn is_happy(mut n: i32) -> bool {
[INFO] [stdout]   |                     ----^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/linkedlist/linked_list_cycle.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn has_cycle(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]   |                      ----^^^^
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/linkedlist/linked_list_cycle.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn has_cycle2(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]    |                       ----^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/linkedlist/odd_even_list.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn odd_even_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |                          ----^^^^
[INFO] [stdout]   |                          |
[INFO] [stdout]   |                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/container_with_most_water.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_area` is never used
[INFO] [stdout]  --> src/array/container_with_most_water.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn max_area(heights: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/gas_station.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `can_complete_circuit` is never used
[INFO] [stdout]  --> src/array/gas_station.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn can_complete_circuit(gas: Vec<i32>, cost: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/find_min_arrow_shots.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_min_arrow_shots` is never used
[INFO] [stdout]  --> src/array/interval/find_min_arrow_shots.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     // 左边界排序
[INFO] [stdout] 6 |     pub fn find_min_arrow_shots(mut points: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/array/interval/find_min_arrow_shots.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_min_arrow_shots` is never used
[INFO] [stdout]   --> src/array/interval/find_min_arrow_shots.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 30 |     // 右边界排序
[INFO] [stdout] 31 |     pub fn find_min_arrow_shots(mut points: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/interval/non_overlap_intervals.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `erase_overlap_intervals` is never used
[INFO] [stdout]  --> src/array/interval/non_overlap_intervals.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn erase_overlap_intervals(mut intervals: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/longest_consecutive.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `longest_consecutive` is never used
[INFO] [stdout]  --> src/array/longest_consecutive.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn longest_consecutive(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/rotate_array.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `rotate` and `reverse` are never used
[INFO] [stdout]   --> src/array/rotate_array.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn reverse(nums: &mut [i32], mut start: usize, mut end: usize) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/array/rotate_array.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `rotate` is never used
[INFO] [stdout]   --> src/array/rotate_array.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 29 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array/sort/sort_colors.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sort_colors` is never used
[INFO] [stdout]  --> src/array/sort/sort_colors.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/first_bad_version.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `first_bad_version` and `isBadVersion` are never used
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout]  5 |     pub fn first_bad_version(&self, n: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_search/search_matrix.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `search_matrix` is never used
[INFO] [stdout]  --> src/binary_search/search_matrix.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn search_matrix(matrix: Vec<Vec<i32>>, target: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `search_bound2` is never used
[INFO] [stdout]   --> src/binary_search/search_range.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn search_bound2(nums: &[i32], target: i32, is_lower: bool) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimeMap` is never constructed
[INFO] [stdout]  --> src/binary_search/time_map.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct TimeMap {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set`, `get`, and `search_upper` are never used
[INFO] [stdout]   --> src/binary_search/time_map.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TimeMap {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  9 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn set(&mut self, key: String, value: String, timestamp: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn get(&self, key: String, timestamp: i32) -> String {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn search_upper(values: &[(i32, String)], target_time: i32) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_height` is never used
[INFO] [stdout]   --> src/binary_tree/count_nodes.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn get_height(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/binary_tree/width_of_binary_tree.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `width_of_binary_tree` and `dfs` are never used
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 11 |     pub fn width_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn dfs(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution1` is never constructed
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Solution1;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `width_of_binary_tree` is never used
[INFO] [stdout]   --> src/binary_tree/width_of_binary_tree.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Solution1 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 48 |     pub fn width_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/num_islands.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `num_islands` and `dfs` are never used
[INFO] [stdout]   --> src/graph/num_islands.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn num_islands(mut grid: Vec<Vec<char>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn dfs(grid: &mut Vec<Vec<char>>, r: i32, c: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/graph/num_islands.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `num_islands` and `bfs` are never used
[INFO] [stdout]   --> src/graph/num_islands.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 40 |     pub fn num_islands(mut grid: Vec<Vec<char>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn bfs(grid: &mut Vec<Vec<char>>, r: i32, c: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/rotting_oranges.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `oranges_rotting` is never used
[INFO] [stdout]  --> src/graph/rotting_oranges.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 7 |     pub fn oranges_rotting(mut grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graph/update_matrix.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `update_matrix` and `bfs` are never used
[INFO] [stdout]   --> src/graph/update_matrix.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  8 |     pub fn update_matrix(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn bfs(mat: &Vec<Vec<i32>>, r: usize, c: usize) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/graph/update_matrix.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `update_matrix` is never used
[INFO] [stdout]   --> src/graph/update_matrix.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 54 |     pub fn update_matrix(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hash/isomorphic_strings.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_isomorphic` is never used
[INFO] [stdout]  --> src/hash/isomorphic_strings.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn is_isomorphic(s: String, t: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `merge_two_lists_iter1` is never used
[INFO] [stdout]   --> src/linkedlist/merge_two_sorted_lists.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn merge_two_lists_iter1(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/reverse_k_group.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `reverse_k_group` and `reverse_list` are never used
[INFO] [stdout]   --> src/linkedlist/reverse_k_group.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn reverse_k_group(head: Option<Box<ListNode>>, k: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn reverse_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/linkedlist/rotate_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `rotate_right` and `node_count` are never used
[INFO] [stdout]   --> src/linkedlist/rotate_list.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn rotate_right(mut head: Option<Box<ListNode>>, mut k: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn node_count(head: &Option<Box<ListNode>>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/stack/backspace_compare.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `backspace_compare` and `clean_datas` are never used
[INFO] [stdout]   --> src/stack/backspace_compare.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn clean_datas(datas: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/stack/backspace_compare.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `backspace_compare` and `back_scan` are never used
[INFO] [stdout]   --> src/stack/backspace_compare.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Solution2 {
[INFO] [stdout]    | -------------- associated functions in this implementation
[INFO] [stdout] 28 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn back_scan(bytes: &[u8], mut pos: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/stack/eval_rpn.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `eval_rpn` is never used
[INFO] [stdout]  --> src/stack/eval_rpn.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn eval_rpn(tokens: Vec<String>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinStack` is never constructed
[INFO] [stdout]  --> src/stack/min_stack.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct MinStack {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `get_min` are never used
[INFO] [stdout]   --> src/stack/min_stack.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl MinStack {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  7 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn push(&mut self, val: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn pop(&mut self) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn top(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn get_min(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string/palindrome/palindromic_substrings.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `count_substrings`, `count_substrings2`, and `calc` are never used
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     /// 中心扩散法
[INFO] [stdout]  6 |     pub fn count_substrings(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn count_substrings2(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn calc(s_bytes: &[u8], mut i: usize, mut j: usize) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution2` is never constructed
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Solution2;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `count_substrings` is never used
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Solution2 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn count_substrings(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_duplicatesII` should have a snake case name
[INFO] [stdout]   --> src/array/move_zeroes.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn remove_duplicatesII(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_duplicates_ii`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isBadVersion` should have a snake case name
[INFO] [stdout]   --> src/binary_search/first_bad_version.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `is_bad_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/string/palindrome/palindromic_substrings.rs:25:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |         while i >= 0 && j < s_bytes.len() {
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.23s
[INFO] running `Command { std: "docker" "inspect" "0cc5cece25dc4787349a24b0e2fb9214d2a7a5eee892ab86e890435ff914e49c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cc5cece25dc4787349a24b0e2fb9214d2a7a5eee892ab86e890435ff914e49c", kill_on_drop: false }`
[INFO] [stdout] 0cc5cece25dc4787349a24b0e2fb9214d2a7a5eee892ab86e890435ff914e49c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dcf16458f487e5e60cf983cbdbc941352baef67c3d281f66c12b25316ab97e83
[INFO] running `Command { std: "docker" "start" "-a" "dcf16458f487e5e60cf983cbdbc941352baef67c3d281f66c12b25316ab97e83", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stderr]  --> src/binary_search/k_closest_elements.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::BinaryHeap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `is_same_tree`
[INFO] [stderr]  --> src/binary_tree/is_same_tree.rs:1:36
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::binary_tree::{TreeNode, is_same_tree};
[INFO] [stderr]   |                                    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::borrow`
[INFO] [stderr]  --> src/binary_tree/is_symmetric.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use core::borrow;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::borrow`
[INFO] [stderr]  --> src/binary_tree/level_order/zigzag_level_order.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use core::borrow;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::num`
[INFO] [stderr]  --> src/binary_tree/width_of_binary_tree.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use core::num;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::DerefMut`
[INFO] [stderr]  --> src/linkedlist/middle_of_the_linked_list.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::DerefMut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `graph::node`
[INFO] [stderr]  --> src/linkedlist/rotate_list.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{graph::node, linkedlist::ListNode};
[INFO] [stderr]   |             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/array/longest_consecutive.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 |         let mut set = nums.into_iter().collect::<HashSet<i32>>();
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/array/majority_element.rs:10:34
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn majority_element_vote(mut nums: Vec<i32>) -> i32 {
[INFO] [stderr]    |                                  ----^^^^
[INFO] [stderr]    |                                  |
[INFO] [stderr]    |                                  help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/array/rotate_array.rs:5:40
[INFO] [stderr]   |
[INFO] [stderr] 5 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stderr]   |                                        ----^
[INFO] [stderr]   |                                        |
[INFO] [stderr]   |                                        help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/array/rotate_array.rs:29:40
[INFO] [stderr]    |
[INFO] [stderr] 29 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stderr]    |                                        ----^
[INFO] [stderr]    |                                        |
[INFO] [stderr]    |                                        help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `version`
[INFO] [stderr]   --> src/binary_search/first_bad_version.rs:21:28
[INFO] [stderr]    |
[INFO] [stderr] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stderr]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/binary_tree/sum_numbers.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 |         let mut num = 0;
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/graph/update_matrix.rs:59:21
[INFO] [stderr]    |
[INFO] [stderr] 59 |             for (c, val) in row.iter().enumerate() {
[INFO] [stderr]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/hash/happy_number.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |     pub fn is_happy(mut n: i32) -> bool {
[INFO] [stderr]   |                     ----^
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/linkedlist/linked_list_cycle.rs:7:22
[INFO] [stderr]   |
[INFO] [stderr] 7 |     pub fn has_cycle(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stderr]   |                      ----^^^^
[INFO] [stderr]   |                      |
[INFO] [stderr]   |                      help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/linkedlist/linked_list_cycle.rs:29:23
[INFO] [stderr]    |
[INFO] [stderr] 29 |     pub fn has_cycle2(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stderr]    |                       ----^^^^
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/linkedlist/odd_even_list.rs:7:26
[INFO] [stderr]   |
[INFO] [stderr] 7 |     pub fn odd_even_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stderr]   |                          ----^^^^
[INFO] [stderr]   |                          |
[INFO] [stderr]   |                          help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/container_with_most_water.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_area` is never used
[INFO] [stderr]  --> src/array/container_with_most_water.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn max_area(heights: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/contains_duplicate.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `contains_duplicate`, `contains_nearby_duplicate`, and `contains_nearby_almost_duplicate` are never used
[INFO] [stderr]   --> src/array/contains_duplicate.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] 10 |     // set
[INFO] [stderr] 11 |     pub fn contains_duplicate(nums: Vec<i32>) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn contains_nearby_duplicate(nums: Vec<i32>, k: i32) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     pub fn contains_nearby_almost_duplicate(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/gas_station.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `can_complete_circuit` is never used
[INFO] [stderr]  --> src/array/gas_station.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn can_complete_circuit(gas: Vec<i32>, cost: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/interval/find_min_arrow_shots.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `find_min_arrow_shots` is never used
[INFO] [stderr]  --> src/array/interval/find_min_arrow_shots.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     // 左边界排序
[INFO] [stderr] 6 |     pub fn find_min_arrow_shots(mut points: Vec<Vec<i32>>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/array/interval/find_min_arrow_shots.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 27 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `find_min_arrow_shots` is never used
[INFO] [stderr]   --> src/array/interval/find_min_arrow_shots.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl Solution2 {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 30 |     // 右边界排序
[INFO] [stderr] 31 |     pub fn find_min_arrow_shots(mut points: Vec<Vec<i32>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/interval/insert_interval.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `insert` is never used
[INFO] [stderr]  --> src/array/interval/insert_interval.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn insert(intervals: Vec<Vec<i32>>, mut new_interval: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/interval/merge_intervals.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `merge` is never used
[INFO] [stderr]  --> src/array/interval/merge_intervals.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn merge(mut intervals: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stderr]   |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/interval/non_overlap_intervals.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `erase_overlap_intervals` is never used
[INFO] [stderr]  --> src/array/interval/non_overlap_intervals.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn erase_overlap_intervals(mut intervals: Vec<Vec<i32>>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/interval/summary_ranges.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `summary_ranges` and `to_string` are never used
[INFO] [stderr]   --> src/array/interval/summary_ranges.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn summary_ranges(nums: Vec<i32>) -> Vec<String> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 28 |     fn to_string(start: i32, end: i32) -> String {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/longest_consecutive.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `longest_consecutive` is never used
[INFO] [stderr]  --> src/array/longest_consecutive.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 6 |     pub fn longest_consecutive(nums: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/majority_element.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `majority_element_sort` and `majority_element_vote` are never used
[INFO] [stderr]   --> src/array/majority_element.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn majority_element_sort(mut nums: Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub fn majority_element_vote(mut nums: Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/move_zeroes.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `move_zeroes`, `remove_element`, `remove_duplicates`, and `remove_duplicatesII` are never used
[INFO] [stderr]   --> src/array/move_zeroes.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  3 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  7 |     pub fn move_zeroes(nums: &mut Vec<i32>) {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     pub fn remove_duplicatesII(nums: &mut Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/product_except_self.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `product_except_self` is never used
[INFO] [stderr]  --> src/array/product_except_self.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn product_except_self(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/rotate_array.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `rotate` and `reverse` are never used
[INFO] [stderr]   --> src/array/rotate_array.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 |     fn reverse(nums: &mut [i32], mut start: usize, mut end: usize) {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/array/rotate_array.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `rotate` is never used
[INFO] [stderr]   --> src/array/rotate_array.rs:29:12
[INFO] [stderr]    |
[INFO] [stderr] 28 | impl Solution2 {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 29 |     pub fn rotate(nums: &mut Vec<i32>, mut k: i32) {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/sort/kth_largest.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `sort`, `qsort`, and `partition` are never used
[INFO] [stderr]   --> src/array/sort/kth_largest.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  3 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  4 |     // 快速排序
[INFO] [stderr]  5 |     pub fn sort(mut nums: Vec<i32>) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |     fn qsort(nums: &mut [i32], start: usize, end: usize) {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     fn partition(nums: &mut [i32], start: usize, end: usize) -> usize {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/sort/qsort.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `find_kth_largest` and `qselect` are never used
[INFO] [stderr]   --> src/array/sort/qsort.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     // 快速选择
[INFO] [stderr]  7 |     pub fn find_kth_largest(mut nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 |     fn qselect(nums: &mut [i32], start: usize, end: usize, k: usize, rng: &mut ThreadRng) -> i32 {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/sort/sort_colors.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `sort_colors` is never used
[INFO] [stderr]  --> src/array/sort/sort_colors.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/sorted_squares.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `sorted_squares_simple` and `sorted_squares` are never used
[INFO] [stderr]   --> src/array/sorted_squares.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn sorted_squares_simple(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 11 |     pub fn sorted_squares(mut nums: Vec<i32>) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/stock_max_profit.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_profit` is never used
[INFO] [stderr]  --> src/array/stock_max_profit.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/three_sum.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `three_sum` is never used
[INFO] [stderr]  --> src/array/three_sum.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/three_sum_closest.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `three_sum_closest` is never used
[INFO] [stderr]  --> src/array/three_sum_closest.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn three_sum_closest(mut nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/array/two_sum.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `two_sum` and `two_sum_ordered` are never used
[INFO] [stderr]   --> src/array/two_sum.rs:8:12
[INFO] [stderr]    |
[INFO] [stderr]  7 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  8 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 19 |     pub fn two_sum_ordered(numbers: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution1` is never constructed
[INFO] [stderr]  --> src/backtrack/combination_sum.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct Solution1;
[INFO] [stderr]   |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `combination_sum` and `dfs` are never used
[INFO] [stderr]   --> src/backtrack/combination_sum.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl Solution1 {
[INFO] [stderr]    | -------------- associated functions in this implementation
[INFO] [stderr]  7 |     pub fn combination_sum(mut candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     fn dfs(
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/backtrack/combination_sum.rs:38:8
[INFO] [stderr]    |
[INFO] [stderr] 38 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `combination_sum` and `dfs` are never used
[INFO] [stderr]   --> src/backtrack/combination_sum.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | impl Solution2 {
[INFO] [stderr]    | -------------- associated functions in this implementation
[INFO] [stderr] 40 |     pub fn combination_sum(mut candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 |     fn dfs(
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary/add_binary.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `add_binary` is never used
[INFO] [stderr]  --> src/binary/add_binary.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn add_binary(a: String, b: String) -> String {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary/counting_bits.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `count_bits` is never used
[INFO] [stderr]  --> src/binary/counting_bits.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn count_bits(n: i32) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary/number_of_1_bits.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `hamming_weight` is never used
[INFO] [stderr]  --> src/binary/number_of_1_bits.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn hamming_weight(mut n: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_search/first_bad_version.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `first_bad_version` and `isBadVersion` are never used
[INFO] [stderr]   --> src/binary_search/first_bad_version.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- methods in this implementation
[INFO] [stderr]  5 |     pub fn first_bad_version(&self, n: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_search/k_closest_elements.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `find_closest_elements` is never used
[INFO] [stderr]   --> src/binary_search/k_closest_elements.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub fn find_closest_elements(arr: Vec<i32>, k: i32, x: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_search/rotated_sorted_array.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `search` and `find_min` are never used
[INFO] [stderr]   --> src/binary_search/rotated_sorted_array.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn search(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     pub fn find_min(nums: Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_search/search.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `search`, `search2`, and `search3` are never used
[INFO] [stderr]   --> src/binary_search/search.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn search(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub fn search2(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 |     pub fn search3(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_search/search_insert.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `search_insert` is never used
[INFO] [stderr]  --> src/binary_search/search_insert.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn search_insert(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_search/search_matrix.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `search_matrix` is never used
[INFO] [stderr]  --> src/binary_search/search_matrix.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn search_matrix(matrix: Vec<Vec<i32>>, target: i32) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_search/search_range.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `search_range`, `search_bound`, and `search_bound2` are never used
[INFO] [stderr]   --> src/binary_search/search_range.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn search_range(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     fn search_bound(nums: &[i32], target: i32, is_lower: bool) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 49 |     fn search_bound2(nums: &[i32], target: i32, is_lower: bool) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TimeMap` is never constructed
[INFO] [stderr]  --> src/binary_search/time_map.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct TimeMap {
[INFO] [stderr]   |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `set`, `get`, and `search_upper` are never used
[INFO] [stderr]   --> src/binary_search/time_map.rs:9:8
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl TimeMap {
[INFO] [stderr]    | ------------ associated items in this implementation
[INFO] [stderr]  9 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     fn set(&mut self, key: String, value: String, timestamp: i32) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     fn get(&self, key: String, timestamp: i32) -> String {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     fn search_upper(values: &[(i32, String)], target_time: i32) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/build_tree.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `build_tree` and `build_helper` are never used
[INFO] [stderr]   --> src/binary_tree/build_tree.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  9 |     pub fn build_tree(preorder: Vec<i32>, inorder: Vec<i32>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub fn build_helper(
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/binary_tree/build_tree.rs:63:8
[INFO] [stderr]    |
[INFO] [stderr] 63 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `build_tree` and `build_helper` are never used
[INFO] [stderr]   --> src/binary_tree/build_tree.rs:65:12
[INFO] [stderr]    |
[INFO] [stderr] 64 | impl Solution2 {
[INFO] [stderr]    | -------------- associated functions in this implementation
[INFO] [stderr] 65 |     pub fn build_tree(inorder: Vec<i32>, postorder: Vec<i32>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 74 |     pub fn build_helper(
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/count_nodes.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `count_nodes`, `count_nodes_better`, `get_height`, and `get_height_iter` are never used
[INFO] [stderr]   --> src/binary_tree/count_nodes.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  9 |     pub fn count_nodes(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub fn count_nodes_better(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     fn get_height(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     fn get_height_iter(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/diameter_of_binary_tree.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `diameter_of_binary_tree` and `get_height` are never used
[INFO] [stderr]   --> src/binary_tree/diameter_of_binary_tree.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  9 |     pub fn diameter_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     fn get_height(root: &Option<Rc<RefCell<TreeNode>>>, ans: &mut i32) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/invert_tree.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `invert_tree` is never used
[INFO] [stderr]  --> src/binary_tree/invert_tree.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 9 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/is_balanced.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_balanced` and `dfs` are never used
[INFO] [stderr]   --> src/binary_tree/is_balanced.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  9 |     pub fn is_balanced(root: Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 |     fn dfs(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/is_same_tree.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_same_tree` is never used
[INFO] [stderr]  --> src/binary_tree/is_same_tree.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 9 |     pub fn is_same_tree(
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/is_subtree.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_subtree_simple`, `dfs_simple`, `is_subtree`, `dfs`, `is_same_tree`, and `get_depth` are never used
[INFO] [stderr]   --> src/binary_tree/is_subtree.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  9 |     pub fn is_subtree_simple(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 16 |     fn dfs_simple(
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub fn is_subtree(
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |     fn dfs(
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 63 |     fn is_same_tree(p: &Option<Rc<RefCell<TreeNode>>>, q: &Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 77 |     fn get_depth(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/is_symmetric.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_symmetric` and `check` are never used
[INFO] [stderr]   --> src/binary_tree/is_symmetric.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] 10 |     pub fn is_symmetric(root: Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     fn check(root1: &Option<Rc<RefCell<TreeNode>>>, root2: &Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/level_order/average_of_levels.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `average_of_levels` is never used
[INFO] [stderr]   --> src/binary_tree/level_order/average_of_levels.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 10 |     pub fn average_of_levels(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<f64> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/level_order/find_bottom_left_value.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `find_bottom_left_value` is never used
[INFO] [stderr]   --> src/binary_tree/level_order/find_bottom_left_value.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr]  9 |     /// 按照先右后左的顺序入队列，最后弹出的节点就是树的左下角节点
[INFO] [stderr] 10 |     pub fn find_bottom_left_value(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/binary_tree/level_order/find_bottom_left_value.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `find_bottom_left_value` and `dfs` are never used
[INFO] [stderr]   --> src/binary_tree/level_order/find_bottom_left_value.rs:37:12
[INFO] [stderr]    |
[INFO] [stderr] 34 | impl Solution2 {
[INFO] [stderr]    | -------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 37 |     pub fn find_bottom_left_value(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     fn dfs(root: &Option<Rc<RefCell<TreeNode>>>, depth: i32, max_depth: &mut i32, ans: &mut i32) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution1` is never constructed
[INFO] [stderr]  --> src/binary_tree/level_order/largest_values.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Solution1;
[INFO] [stderr]   |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `largest_values` is never used
[INFO] [stderr]   --> src/binary_tree/level_order/largest_values.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl Solution1 {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 10 |     pub fn largest_values(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/binary_tree/level_order/largest_values.rs:41:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `largest_values` and `dfs` are never used
[INFO] [stderr]   --> src/binary_tree/level_order/largest_values.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | impl Solution2 {
[INFO] [stderr]    | -------------- associated functions in this implementation
[INFO] [stderr] 44 |     pub fn largest_values(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     fn dfs(root: &Option<Rc<RefCell<TreeNode>>>, depth: usize, ans: &mut Vec<i32>) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/level_order/level_order.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `level_order` is never used
[INFO] [stderr]   --> src/binary_tree/level_order/level_order.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 10 |     pub fn level_order(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/level_order/zigzag_level_order.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 8 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `zigzag_level_order` is never used
[INFO] [stderr]   --> src/binary_tree/level_order/zigzag_level_order.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 11 |     pub fn zigzag_level_order(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/lowest_common_ancestor.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `lowest_common_ancestor` is never used
[INFO] [stderr]  --> src/binary_tree/lowest_common_ancestor.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 9 |     pub fn lowest_common_ancestor(
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/max_depth.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_depth` is never used
[INFO] [stderr]  --> src/binary_tree/max_depth.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 9 |     pub fn max_depth(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/merge_trees.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `merge_trees` is never used
[INFO] [stderr]  --> src/binary_tree/merge_trees.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 9 |     pub fn merge_trees(
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/path_sum.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `has_path_sum`, `path_sum`, `dfs`, `path_sum_iii`, and `path_sum_iii_dfs` are never used
[INFO] [stderr]   --> src/binary_tree/path_sum.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] 10 |     pub fn has_path_sum(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn path_sum(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     fn dfs(
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     pub fn path_sum_iii(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 58 |     fn path_sum_iii_dfs(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/prune_tree.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `prune_tree` is never used
[INFO] [stderr]  --> src/binary_tree/prune_tree.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 9 |     pub fn prune_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/sum_numbers.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `sum_numbers`, `dfs`, `sum_numbers_clean`, and `dfs2` are never used
[INFO] [stderr]   --> src/binary_tree/sum_numbers.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  9 |     pub fn sum_numbers(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 19 |     fn dfs(root: Option<Rc<RefCell<TreeNode>>>, mut num: i32, ans: &mut i32) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub fn sum_numbers_clean(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 |     fn dfs2(root: Option<Rc<RefCell<TreeNode>>>, mut num: i32) -> i32 {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/binary_tree/width_of_binary_tree.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `width_of_binary_tree` and `dfs` are never used
[INFO] [stderr]   --> src/binary_tree/width_of_binary_tree.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] 11 |     pub fn width_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     fn dfs(
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution1` is never constructed
[INFO] [stderr]   --> src/binary_tree/width_of_binary_tree.rs:46:8
[INFO] [stderr]    |
[INFO] [stderr] 46 | struct Solution1;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `width_of_binary_tree` is never used
[INFO] [stderr]   --> src/binary_tree/width_of_binary_tree.rs:48:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | impl Solution1 {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 48 |     pub fn width_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/dp/buy_and_sell_stock.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_profit` is never used
[INFO] [stderr]  --> src/dp/buy_and_sell_stock.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/dp/buy_and_sell_stock_ii.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_profit` is never used
[INFO] [stderr]  --> src/dp/buy_and_sell_stock_ii.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/dp/buy_and_sell_stock_iii.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_profit` is never used
[INFO] [stderr]  --> src/dp/buy_and_sell_stock_iii.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/dp/buy_and_sell_stock_iv.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_profit` is never used
[INFO] [stderr]  --> src/dp/buy_and_sell_stock_iv.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn max_profit(k: i32, prices: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/dp/edit_distance.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `min_distance` is never used
[INFO] [stderr]  --> src/dp/edit_distance.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn min_distance(s1: String, s2: String) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/dp/interleave_string.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_interleave`, `dfs`, and `dp` are never used
[INFO] [stderr]   --> src/dp/interleave_string.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn is_interleave(s1: String, s2: String, s3: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     fn dfs(
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     pub fn dp(s1: String, s2: String, s3: String) -> bool {
[INFO] [stderr]    |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/dp/triangle.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `minimum_total` is never used
[INFO] [stderr]  --> src/dp/triangle.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn minimum_total(triangle: Vec<Vec<i32>>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/graph/flood_fill.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `flood_fill` and `dfs` are never used
[INFO] [stderr]   --> src/graph/flood_fill.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |     fn dfs(image: &mut Vec<Vec<i32>>, r: i32, c: i32, old_color: i32, new_color: i32) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/graph/flood_fill.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `flood_fill` is never used
[INFO] [stderr]   --> src/graph/flood_fill.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 30 | impl Solution2 {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 31 |     /// bfs
[INFO] [stderr] 32 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/graph/num_islands.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `num_islands` and `dfs` are never used
[INFO] [stderr]   --> src/graph/num_islands.rs:6:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     pub fn num_islands(mut grid: Vec<Vec<char>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     fn dfs(grid: &mut Vec<Vec<char>>, r: i32, c: i32) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/graph/num_islands.rs:37:8
[INFO] [stderr]    |
[INFO] [stderr] 37 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `num_islands` and `bfs` are never used
[INFO] [stderr]   --> src/graph/num_islands.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | impl Solution2 {
[INFO] [stderr]    | -------------- associated functions in this implementation
[INFO] [stderr] 40 |     pub fn num_islands(mut grid: Vec<Vec<char>>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 54 |     fn bfs(grid: &mut Vec<Vec<char>>, r: i32, c: i32) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/graph/rotting_oranges.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `oranges_rotting` is never used
[INFO] [stderr]  --> src/graph/rotting_oranges.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 7 |     pub fn oranges_rotting(mut grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/graph/update_matrix.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `update_matrix` and `bfs` are never used
[INFO] [stderr]   --> src/graph/update_matrix.rs:8:12
[INFO] [stderr]    |
[INFO] [stderr]  7 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  8 |     pub fn update_matrix(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     fn bfs(mat: &Vec<Vec<i32>>, r: usize, c: usize) -> i32 {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/graph/update_matrix.rs:52:8
[INFO] [stderr]    |
[INFO] [stderr] 52 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `update_matrix` is never used
[INFO] [stderr]   --> src/graph/update_matrix.rs:54:12
[INFO] [stderr]    |
[INFO] [stderr] 53 | impl Solution2 {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 54 |     pub fn update_matrix(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/hash/first_missing_positive.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `first_missing_positive` and `first_missing_positive2` are never used
[INFO] [stderr]   --> src/hash/first_missing_positive.rs:6:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     pub fn first_missing_positive(nums: Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     pub fn first_missing_positive2(mut nums: Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/hash/happy_number.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_happy`, `is_happy2`, `is_happy3`, and `new_num` are never used
[INFO] [stderr]   --> src/hash/happy_number.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     /// 哈希表记录已经处理过的数
[INFO] [stderr]  7 |     pub fn is_happy(mut n: i32) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub fn is_happy2(n: i32) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub fn is_happy3(n: i32) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     fn new_num(mut n: usize) -> usize {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/hash/is_anagram.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_anagram` is never used
[INFO] [stderr]  --> src/hash/is_anagram.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     /// 使用栈上固定大小的数组记录字符频次，相比堆上哈希表性能高很多。
[INFO] [stderr] 6 |     pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/hash/isomorphic_strings.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_isomorphic` is never used
[INFO] [stderr]  --> src/hash/isomorphic_strings.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 7 |     pub fn is_isomorphic(s: String, t: String) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RandomizedSet` is never constructed
[INFO] [stderr]  --> src/hash/randomized_set.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct RandomizedSet {
[INFO] [stderr]   |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `insert`, `remove`, and `get_random` are never used
[INFO] [stderr]   --> src/hash/randomized_set.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl RandomizedSet {
[INFO] [stderr]    | ------------------ associated items in this implementation
[INFO] [stderr] 11 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     fn insert(&mut self, val: i32) -> bool {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     fn remove(&mut self, val: i32) -> bool {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |     fn get_random(&self) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/hash/ransom_note.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `can_construct1`, `can_construct2`, and `can_construct3` are never used
[INFO] [stderr]   --> src/hash/ransom_note.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn can_construct1(ransom_note: String, magazine: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub fn can_construct2(ransom_note: String, magazine: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 43 |     pub fn can_construct3(ransom_note: String, magazine: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/hash/word_pattern.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `word_pattern` is never used
[INFO] [stderr]  --> src/hash/word_pattern.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 9 |     pub fn word_pattern(pattern: String, s: String) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/heap/k_closest.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `k_closest`, `k_closest2`, and `k_closest3` are never used
[INFO] [stderr]   --> src/heap/k_closest.rs:6:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     pub fn k_closest(points: Vec<Vec<i32>>, k: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn k_closest2(points: Vec<Vec<i32>>, k: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 |     pub fn k_closest3(points: Vec<Vec<i32>>, k: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/heap/k_closest_elements.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `find_closest_elements` and `find_closest_elements2` are never used
[INFO] [stderr]   --> src/heap/k_closest_elements.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  7 |     pub fn find_closest_elements(arr: Vec<i32>, k: i32, x: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     pub fn find_closest_elements2(arr: Vec<i32>, k: i32, x: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/heap/kth_largest.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `find_kth_largest` is never used
[INFO] [stderr]  --> src/heap/kth_largest.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 8 |     // 小顶堆
[INFO] [stderr] 9 |     pub fn find_kth_largest(nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/heap/top_k_frequent_word.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `WordItem` is never constructed
[INFO] [stderr]  --> src/heap/top_k_frequent_word.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 8 | struct WordItem {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `top_k_frequent` is never used
[INFO] [stderr]   --> src/heap/top_k_frequent_word.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 30 |     pub fn top_k_frequent(words: Vec<String>, k: i32) -> Vec<String> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/add_two_numbers.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `add_two_numbers`, `add_two`, `add_two_numbers_iter`, and `add_two_numbers_bigendian` are never used
[INFO] [stderr]   --> src/linkedlist/add_two_numbers.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  7 |     pub fn add_two_numbers(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |     fn add_two(
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 40 |     pub fn add_two_numbers_iter(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 63 |     pub fn add_two_numbers_bigendian(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/linked_list_cycle.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `has_cycle` and `has_cycle2` are never used
[INFO] [stderr]   --> src/linkedlist/linked_list_cycle.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  7 |     pub fn has_cycle(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn has_cycle2(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LRUCache` is never constructed
[INFO] [stderr]  --> src/linkedlist/lru_cache.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct LRUCache {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Node` is never constructed
[INFO] [stderr]   --> src/linkedlist/lru_cache.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct Node {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `get`, `put`, `append_to_head`, `remove_node`, and `move_to_head` are never used
[INFO] [stderr]   --> src/linkedlist/lru_cache.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl LRUCache {
[INFO] [stderr]    | ------------- associated items in this implementation
[INFO] [stderr] 18 |     pub fn new(cap: i32) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub fn get(&mut self, key: i32) -> i32 {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |     pub fn put(&mut self, key: i32, value: i32) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 71 |     fn append_to_head(&mut self, idx: usize) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 79 |     fn remove_node(&mut self, idx: usize) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 86 |     fn move_to_head(&mut self, idx: usize) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/merge_two_sorted_lists.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `merge_two_lists`, `merge_two_lists_iter`, and `merge_two_lists_iter1` are never used
[INFO] [stderr]   --> src/linkedlist/merge_two_sorted_lists.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  7 |     pub fn merge_two_lists(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     pub fn merge_two_lists_iter(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 49 |     pub fn merge_two_lists_iter1(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/middle_of_the_linked_list.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `middle_node` is never used
[INFO] [stderr]  --> src/linkedlist/middle_of_the_linked_list.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 9 |     pub fn middle_node(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/odd_even_list.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `odd_even_list` is never used
[INFO] [stderr]  --> src/linkedlist/odd_even_list.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 7 |     pub fn odd_even_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/palindrome_linked_list.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_palindrome` is never used
[INFO] [stderr]  --> src/linkedlist/palindrome_linked_list.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 7 |     pub fn is_palindrome(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/partition_list.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `partition` is never used
[INFO] [stderr]  --> src/linkedlist/partition_list.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 6 |     pub fn partition(head: Option<Box<ListNode>>, x: i32) -> Option<Box<ListNode>> {
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/remove_nth_from_end.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `remove_nth_from_end` is never used
[INFO] [stderr]  --> src/linkedlist/remove_nth_from_end.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 7 |     pub fn remove_nth_from_end(head: Option<Box<ListNode>>, n: i32) -> Option<Box<ListNode>> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/reorder_list.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `reorder_list` is never used
[INFO] [stderr]  --> src/linkedlist/reorder_list.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 6 |     pub fn reorder_list(head: &mut Option<Box<ListNode>>) {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/reverse_k_group.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `reverse_k_group` and `reverse_list` are never used
[INFO] [stderr]   --> src/linkedlist/reverse_k_group.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  7 |     pub fn reverse_k_group(head: Option<Box<ListNode>>, k: i32) -> Option<Box<ListNode>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |     fn reverse_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/reverse_linked_list.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `reverse_between`, `reverse_list`, `reverse_list_recursive`, and `recursive` are never used
[INFO] [stderr]   --> src/linkedlist/reverse_linked_list.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     /// [92. 反转链表 II](https://leetcode.cn/problems/reverse-linked-list-ii/description/)
[INFO] [stderr]  7 |     pub fn reverse_between(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn reverse_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub fn reverse_list_recursive(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 58 |     fn recursive(prev: Option<Box<ListNode>>, cur: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/rotate_list.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `rotate_right` and `node_count` are never used
[INFO] [stderr]   --> src/linkedlist/rotate_list.rs:6:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     pub fn rotate_right(mut head: Option<Box<ListNode>>, mut k: i32) -> Option<Box<ListNode>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 37 |     fn node_count(head: &Option<Box<ListNode>>) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/sort_list.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `sort_list` and `merge` are never used
[INFO] [stderr]   --> src/linkedlist/sort_list.rs:6:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     pub fn sort_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 |     fn merge(
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/linkedlist/swap_pairs.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `swap_pairs` is never used
[INFO] [stderr]  --> src/linkedlist/swap_pairs.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 6 |     pub fn swap_pairs(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/math/task_scheduler.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `least_interval` is never used
[INFO] [stderr]  --> src/math/task_scheduler.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn least_interval(tasks: Vec<char>, n: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/stack/backspace_compare.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `backspace_compare` and `clean_datas` are never used
[INFO] [stderr]   --> src/stack/backspace_compare.rs:6:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 12 |     fn clean_datas(datas: &[u8]) -> Vec<u8> {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/stack/backspace_compare.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `backspace_compare` and `back_scan` are never used
[INFO] [stderr]   --> src/stack/backspace_compare.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl Solution2 {
[INFO] [stderr]    | -------------- associated functions in this implementation
[INFO] [stderr] 28 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 52 |     fn back_scan(bytes: &[u8], mut pos: i32) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/stack/eval_rpn.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `eval_rpn` is never used
[INFO] [stderr]  --> src/stack/eval_rpn.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 7 |     pub fn eval_rpn(tokens: Vec<String>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MinStack` is never constructed
[INFO] [stderr]  --> src/stack/min_stack.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct MinStack {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `push`, `pop`, `top`, and `get_min` are never used
[INFO] [stderr]   --> src/stack/min_stack.rs:7:8
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl MinStack {
[INFO] [stderr]    | ------------- associated items in this implementation
[INFO] [stderr]  7 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 |     fn push(&mut self, val: i32) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     fn pop(&mut self) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     fn top(&self) -> i32 {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     fn get_min(&self) -> i32 {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyQueue` is never constructed
[INFO] [stderr]  --> src/stack/my_queue.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct MyQueue {
[INFO] [stderr]   |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `push`, `pop`, `peek`, and `empty` are never used
[INFO] [stderr]   --> src/stack/my_queue.rs:8:8
[INFO] [stderr]    |
[INFO] [stderr]  7 | impl MyQueue {
[INFO] [stderr]    | ------------ associated items in this implementation
[INFO] [stderr]  8 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     fn push(&mut self, x: i32) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 19 |     fn pop(&mut self) -> i32 {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     fn peek(&self) -> i32 {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 43 |     fn empty(&self) -> bool {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/stack/valid_parentheses.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_valid` and `is_valid2` are never used
[INFO] [stderr]   --> src/stack/valid_parentheses.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn is_valid(s: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn is_valid2(s: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/string/length_of_longest_substring.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `length_of_longest_substring` and `length_of_longest_substring2` are never used
[INFO] [stderr]   --> src/string/length_of_longest_substring.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |     /// 通过哈希表记录是否已经存在，如果存在，需要从左边界开始一个一个的迭代删除。
[INFO] [stderr]  7 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |     pub fn length_of_longest_substring2(s: String) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/string/min_window.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `min_window`, `contains`, and `min_window2` are never used
[INFO] [stderr]   --> src/string/min_window.rs:6:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     // 对比两个哈希中的每一项来判断是否覆盖
[INFO] [stderr]  6 |     pub fn min_window(s: String, t: String) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     fn contains(s: &[i32; 60], t: &[i32; 60]) -> bool {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 61 |     pub fn min_window2(s: String, t: String) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/string/palindrome/is_palindrome.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_palindrome` and `is_palindrome_iter` are never used
[INFO] [stderr]   --> src/string/palindrome/is_palindrome.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn is_palindrome(s: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 28 |     pub fn is_palindrome_iter(s: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/string/palindrome/longest_palindrome.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `longest_palindrome`, `longest_palindrome_substring`, and `check_palindrome` are never used
[INFO] [stderr]   --> src/string/palindrome/longest_palindrome.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn longest_palindrome(s: String) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn longest_palindrome_substring(s: String) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     fn check_palindrome(s: &[u8], mut left: usize, mut right: usize) -> (usize, usize, usize) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/string/palindrome/palindromic_substrings.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `count_substrings`, `count_substrings2`, and `calc` are never used
[INFO] [stderr]   --> src/string/palindrome/palindromic_substrings.rs:6:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     /// 中心扩散法
[INFO] [stderr]  6 |     pub fn count_substrings(s: String) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 16 |     pub fn count_substrings2(s: String) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     fn calc(s_bytes: &[u8], mut i: usize, mut j: usize) -> i32 {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution2` is never constructed
[INFO] [stderr]   --> src/string/palindrome/palindromic_substrings.rs:41:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | struct Solution2;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `count_substrings` is never used
[INFO] [stderr]   --> src/string/palindrome/palindromic_substrings.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | impl Solution2 {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 44 |     pub fn count_substrings(s: String) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/string/palindrome/valid_palindrome.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `valid_palindrome` and `is_palindrome` are never used
[INFO] [stderr]   --> src/string/palindrome/valid_palindrome.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn valid_palindrome(s: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     fn is_palindrome(s: &[u8]) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `remove_duplicatesII` should have a snake case name
[INFO] [stderr]   --> src/array/move_zeroes.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 |     pub fn remove_duplicatesII(nums: &mut Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_duplicates_ii`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `isBadVersion` should have a snake case name
[INFO] [stderr]   --> src/binary_search/first_bad_version.rs:21:8
[INFO] [stderr]    |
[INFO] [stderr] 21 |     fn isBadVersion(&self, version: i32) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `is_bad_version`
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> src/string/palindrome/palindromic_substrings.rs:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 |         while i >= 0 && j < s_bytes.len() {
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/array/container_with_most_water.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/array/gas_station.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/array/interval/find_min_arrow_shots.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/array/interval/non_overlap_intervals.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/array/longest_consecutive.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/array/rotate_array.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/array/sort/sort_colors.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/binary_search/first_bad_version.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stderr]  --> src/binary_search/k_closest_elements.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::BinaryHeap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/binary_search/search_matrix.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/binary_tree/width_of_binary_tree.rs:94:9
[INFO] [stderr]    |
[INFO] [stderr] 94 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::tree`
[INFO] [stderr]   --> src/binary_tree/width_of_binary_tree.rs:95:9
[INFO] [stderr]    |
[INFO] [stderr] 95 |     use crate::tree;
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/graph/num_islands.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/graph/rotting_oranges.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/graph/update_matrix.rs:89:9
[INFO] [stderr]    |
[INFO] [stderr] 89 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/hash/isomorphic_strings.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/linkedlist/reverse_k_group.rs:56:9
[INFO] [stderr]    |
[INFO] [stderr] 56 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/linkedlist/rotate_list.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/stack/backspace_compare.rs:73:9
[INFO] [stderr]    |
[INFO] [stderr] 73 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/stack/eval_rpn.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/string/palindrome/palindromic_substrings.rs:69:9
[INFO] [stderr]    |
[INFO] [stderr] 69 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `search_bound2` is never used
[INFO] [stderr]   --> src/binary_search/search_range.rs:49:8
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 49 |     fn search_bound2(nums: &[i32], target: i32, is_lower: bool) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get_height` is never used
[INFO] [stderr]   --> src/binary_tree/count_nodes.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 33 |     fn get_height(root: &Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `merge_two_lists_iter1` is never used
[INFO] [stderr]   --> src/linkedlist/merge_two_sorted_lists.rs:49:12
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 49 |     pub fn merge_two_lists_iter1(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_dsa` (lib) generated 251 warnings (run `cargo fix --lib -p rust_dsa` to apply 18 suggestions)
[INFO] [stderr] warning: `rust_dsa` (lib test) generated 100 warnings (76 duplicates) (run `cargo fix --lib -p rust_dsa --tests` to apply 21 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_dsa-81ee27f1aa876413)
[INFO] [stdout] 
[INFO] [stdout] running 157 tests
[INFO] [stdout] test array::gas_station::tests::test1 ... ok
[INFO] [stdout] test array::contains_duplicate::tests::test3 ... ok
[INFO] [stdout] test array::contains_duplicate::tests::test1 ... ok
[INFO] [stdout] test array::interval::find_min_arrow_shots::tests::test1 ... ok
[INFO] [stdout] test array::interval::insert_interval::tests::test1 ... ok
[INFO] [stdout] test array::interval::merge_intervals::tests::test1 ... ok
[INFO] [stdout] test array::interval::non_overlap_intervals::tests::test1 ... ok
[INFO] [stdout] test array::interval::summary_ranges::tests::test1 ... ok
[INFO] [stdout] test array::majority_element::tests::test2 ... ok
[INFO] [stdout] test array::longest_consecutive::tests::test1 ... ok
[INFO] [stdout] test array::move_zeroes::tests::test3 ... ok
[INFO] [stdout] test array::majority_element::tests::test1 ... ok
[INFO] [stdout] test array::move_zeroes::tests::test2 ... ok
[INFO] [stdout] test array::move_zeroes::tests::test4 ... ok
[INFO] [stdout] test array::move_zeroes::tests::test1 ... ok
[INFO] [stdout] test array::product_except_self::tests::test1 ... ok
[INFO] [stdout] test array::rotate_array::tests::test1 ... ok
[INFO] [stdout] test array::sort::kth_largest::tests::test1 ... ok
[INFO] [stdout] test array::sort::sort_colors::tests::test1 ... ok
[INFO] [stdout] test array::sorted_squares::tests::test2 ... ok
[INFO] [stdout] test array::stock_max_profit::tests::test1 ... ok
[INFO] [stdout] test array::three_sum::tests::test1 ... ok
[INFO] [stdout] test array::three_sum_closest::tests::test1 ... ok
[INFO] [stdout] test backtrack::combination_sum::tests::test1 ... ok
[INFO] [stdout] test array::two_sum::tests::test1 ... ok
[INFO] [stdout] test array::two_sum::tests::test2 ... ok
[INFO] [stdout] test array::sort::qsort::tests::test1 ... ok
[INFO] [stdout] test array::sorted_squares::tests::test1 ... ok
[INFO] [stdout] test binary::add_binary::tests::test1 ... ok
[INFO] [stdout] test binary::counting_bits::tests::test1 ... ok
[INFO] [stdout] test binary::number_of_1_bits::tests::test1 ... ok
[INFO] [stdout] test binary_search::first_bad_version::tests::test1 ... ok
[INFO] [stdout] test backtrack::combination_sum::tests::test2 ... ok
[INFO] [stdout] test binary_search::rotated_sorted_array::tests::test2 ... ok
[INFO] [stdout] test binary_search::search::tests::test1 ... ok
[INFO] [stdout] test binary_search::search::tests::test2 ... ok
[INFO] [stdout] test binary_search::search::tests::test3 ... ok
[INFO] [stdout] test binary_search::search_insert::tests::test1 ... ok
[INFO] [stdout] test binary_search::search_matrix::tests::test1 ... ok
[INFO] [stdout] test binary_search::search_range::tests::test1 ... ok
[INFO] [stdout] test binary_tree::count_nodes::tests::test1 ... ok
[INFO] [stdout] test binary_tree::build_tree::tests::test2 ... ok
[INFO] [stdout] test binary_tree::count_nodes::tests::test2 ... ok
[INFO] [stdout] test binary_tree::diameter_of_binary_tree::tests::test1 ... ok
[INFO] [stdout] test binary_tree::invert_tree::tests::test1 ... ok
[INFO] [stdout] test binary_tree::is_balanced::tests::test1 ... ok
[INFO] [stdout] test binary_tree::is_same_tree::tests::test1 ... ok
[INFO] [stdout] test binary_tree::is_subtree::tests::test1 ... ok
[INFO] [stdout] test binary_tree::is_subtree::tests::test2 ... ok
[INFO] [stdout] test binary_tree::is_symmetric::tests::test1 ... ok
[INFO] [stdout] test binary_tree::level_order::average_of_levels::tests::test1 ... ok
[INFO] [stdout] test binary_tree::level_order::find_bottom_left_value::tests::test1 ... ok
[INFO] [stdout] test binary_tree::level_order::find_bottom_left_value::tests::test2 ... ok
[INFO] [stdout] test binary_tree::level_order::largest_values::tests::test1 ... ok
[INFO] [stdout] test binary_tree::level_order::largest_values::tests::test2 ... ok
[INFO] [stdout] test binary_tree::level_order::level_order::tests::test1 ... ok
[INFO] [stdout] test binary_tree::level_order::zigzag_level_order::tests::test1 ... ok
[INFO] [stdout] test binary_tree::lowest_common_ancestor::tests::test1 ... ok
[INFO] [stdout] test binary_tree::max_depth::tests::test1 ... ok
[INFO] [stdout] test binary_tree::merge_trees::tests::test1 ... ok
[INFO] [stdout] test binary_tree::path_sum::tests::test1 ... ok
[INFO] [stdout] test binary_tree::path_sum::tests::test2 ... ok
[INFO] [stdout] test binary_tree::path_sum::tests::test3 ... ok
[INFO] [stdout] test binary_tree::prune_tree::tests::test1 ... ok
[INFO] [stdout] test binary_tree::sum_numbers::tests::test1 ... ok
[INFO] [stdout] test binary_tree::sum_numbers::tests::test2 ... ok
[INFO] [stdout] test binary_tree::tree_node::tests::test1 ... ok
[INFO] [stdout] test binary_tree::width_of_binary_tree::tests::test1 ... ok
[INFO] [stdout] test dp::buy_and_sell_stock::tests::test1 ... ok
[INFO] [stdout] test dp::buy_and_sell_stock::tests::test2 ... ok
[INFO] [stdout] test dp::buy_and_sell_stock_ii::tests::test1 ... ok
[INFO] [stdout] test dp::buy_and_sell_stock_ii::tests::test2 ... ok
[INFO] [stdout] test dp::buy_and_sell_stock_iii::tests::test1 ... ok
[INFO] [stdout] test dp::buy_and_sell_stock_iii::tests::test2 ... ok
[INFO] [stdout] test dp::buy_and_sell_stock_iv::tests::test1 ... ok
[INFO] [stdout] test dp::buy_and_sell_stock_iv::tests::test2 ... ok
[INFO] [stdout] test dp::edit_distance::tests::test1 ... ok
[INFO] [stdout] test dp::edit_distance::tests::test2 ... ok
[INFO] [stdout] test dp::interleave_string::tests::test2 ... ok
[INFO] [stdout] test dp::interleave_string::tests::test1 ... ok
[INFO] [stdout] test dp::longest_common_subsequence::tests::dfs_test ... ok
[INFO] [stdout] test dp::longest_common_subsequence::tests::dp_test ... ok
[INFO] [stdout] test dp::longest_palindrome::tests::longest_palindrome_dp_test ... ok
[INFO] [stdout] test dp::triangle::tests::test1 ... ok
[INFO] [stdout] test dp::longest_palindrome::tests::longest_palindrome_test ... ok
[INFO] [stdout] test graph::flood_fill::tests::test2 ... ok
[INFO] [stdout] test graph::node::tests::danger_test ... ok
[INFO] [stdout] test graph::num_islands::tests::test1 ... ok
[INFO] [stdout] test graph::rotting_oranges::tests::test1 ... ok
[INFO] [stdout] test binary_search::rotated_sorted_array::tests::test1 ... ok
[INFO] [stdout] test dp::triangle::tests::test2 ... ok
[INFO] [stdout] test hash::first_missing_positive::tests::test1 ... ok
[INFO] [stdout] test hash::first_missing_positive::tests::test2 ... ok
[INFO] [stdout] test binary_tree::build_tree::tests::test1 ... ok
[INFO] [stdout] test hash::happy_number::tests::test1 ... ok
[INFO] [stdout] test graph::update_matrix::tests::test1 ... ok
[INFO] [stdout] test hash::happy_number::tests::test2 ... ok
[INFO] [stdout] test hash::is_anagram::tests::test1 ... ok
[INFO] [stdout] test hash::happy_number::tests::test3 ... ok
[INFO] [stdout] test hash::isomorphic_strings::tests::test1 ... ok
[INFO] [stdout] test hash::randomized_set::tests::test ... ok
[INFO] [stdout] test hash::ransom_note::tests::test2 ... ok
[INFO] [stdout] test hash::ransom_note::tests::test3 ... ok
[INFO] [stdout] test hash::ransom_note::tests::test1 ... ok
[INFO] [stdout] test heap::k_closest::tests::test1 ... ok
[INFO] [stdout] test heap::k_closest_elements::tests::test1 ... ok
[INFO] [stdout] test heap::k_closest_elements::tests::test2 ... ok
[INFO] [stdout] test heap::kth_largest::tests::test1 ... ok
[INFO] [stdout] test heap::top_k_frequent_word::tests::test1 ... ok
[INFO] [stdout] test linkedlist::add_two_numbers::tests::test1 ... ok
[INFO] [stdout] test linkedlist::add_two_numbers::tests::test2 ... ok
[INFO] [stdout] test linkedlist::add_two_numbers::tests::test3 ... ok
[INFO] [stdout] test linkedlist::linked_list_cycle::tests::test1 ... ok
[INFO] [stdout] test linkedlist::linked_list_cycle::tests::test2 ... ok
[INFO] [stdout] test linkedlist::list_node::tests::test1 ... ok
[INFO] [stdout] test linkedlist::lru_cache::tests::test1 ... ok
[INFO] [stdout] test linkedlist::merge_two_sorted_lists::tests::test1 ... ok
[INFO] [stdout] test linkedlist::merge_two_sorted_lists::tests::test2 ... ok
[INFO] [stdout] test linkedlist::middle_of_the_linked_list::tests::test1 ... ok
[INFO] [stdout] test linkedlist::odd_even_list::tests::test1 ... ok
[INFO] [stdout] test hash::word_pattern::tests::test1 ... ok
[INFO] [stdout] test linkedlist::palindrome_linked_list::tests::test1 ... ok
[INFO] [stdout] test heap::k_closest::tests::test3 ... ok
[INFO] [stdout] test linkedlist::partition_list::tests::test1 ... ok
[INFO] [stdout] test heap::k_closest::tests::test2 ... ok
[INFO] [stdout] test linkedlist::remove_nth_from_end::tests::test1 ... ok
[INFO] [stdout] test linkedlist::reorder_list::tests::test1 ... ok
[INFO] [stdout] test linkedlist::reverse_linked_list::tests::test1 ... ok
[INFO] [stdout] test linkedlist::reverse_linked_list::tests::test3 ... ok
[INFO] [stdout] test linkedlist::rotate_list::tests::test1 ... ok
[INFO] [stdout] test linkedlist::reverse_linked_list::tests::test2 ... ok
[INFO] [stdout] test graph::flood_fill::tests::test1 ... ok
[INFO] [stdout] test array::contains_duplicate::tests::test2 ... ok
[INFO] [stdout] test linkedlist::swap_pairs::tests::test1 ... ok
[INFO] [stdout] test linkedlist::sort_list::tests::test1 ... ok
[INFO] [stdout] test math::task_scheduler::tests::test1 ... ok
[INFO] [stdout] test rust::lang_basic::tests::float_test ... ok
[INFO] [stdout] test rust::lang_basic::tests::integer_test ... ok
[INFO] [stdout] test stack::backspace_compare::tests::test1 ... ok
[INFO] [stdout] test rust::lang_basic::tests::loop_test ... ok
[INFO] [stdout] test stack::eval_rpn::tests::test1 ... ok
[INFO] [stdout] test stack::my_queue::tests::test1 ... ok
[INFO] [stdout] test stack::valid_parentheses::tests::test2 ... ok
[INFO] [stdout] test stack::valid_parentheses::tests::test1 ... ok
[INFO] [stdout] test string::length_of_longest_substring::tests::test2 ... ok
[INFO] [stdout] test string::length_of_longest_substring::tests::test1 ... ok
[INFO] [stdout] test string::palindrome::is_palindrome::tests::test1 ... ok
[INFO] [stdout] test string::min_window::tests::test2 ... ok
[INFO] [stdout] test string::palindrome::is_palindrome::tests::test2 ... ok
[INFO] [stdout] test string::min_window::tests::test1 ... ok
[INFO] [stdout] test string::palindrome::longest_palindrome::tests::test1 ... ok
[INFO] [stdout] test string::palindrome::valid_palindrome::tests::test1 ... ok
[INFO] [stdout] test string::palindrome::palindromic_substrings::tests::test1 ... ok
[INFO] [stdout] test string::palindrome::longest_palindrome::tests::test2 ... ok
[INFO] [stdout] test array::container_with_most_water::tests::test1 ... ok
[INFO] [stdout] test linkedlist::reverse_k_group::tests::test1 ... ok
[INFO] [stdout] test binary_search::k_closest_elements::tests::test1 ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- binary_search::k_closest_elements::tests::test1 stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'binary_search::k_closest_elements::tests::test1' (52) panicked at src/binary_search/k_closest_elements.rs:49:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: [2, 2, 2]
[INFO] [stdout]  right: [2, 3, 3]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6521e691246a - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6521e691246a - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6521e691246a - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x6521e691246a - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x6521e6926d8a - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x6521e6926d8a - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x6521e6916ce2 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x6521e6916ce2 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x6521e68f15ff - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6521e68f15ff - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6521e690a8c9 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6521e686feac - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x6521e686feac - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6521e690aa82 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x6521e690aa82 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x6521e68f16b8 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x6521e68e9059 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x6521e68f23cd - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x6521e692754c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6521e6927403 - core[1a00ee6b329519b]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x6521e6842f5f - core::panicking::assert_failed::h395f4e8711d531d7
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x6521e6808527 - rust_dsa::binary_search::k_closest_elements::tests::test1::hf0727bc525e3ef08
[INFO] [stdout]                                at /opt/rustwide/workdir/src/binary_search/k_closest_elements.rs:49:9
[INFO] [stdout]   22:     0x6521e68085e7 - rust_dsa::binary_search::k_closest_elements::tests::test1::{{closure}}::hdeba9b517cef9406
[INFO] [stdout]                                at /opt/rustwide/workdir/src/binary_search/k_closest_elements.rs:31:15
[INFO] [stdout]   23:     0x6521e683e0e6 - core::ops::function::FnOnce::call_once::h740d152bfc12574f
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x6521e6863fab - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x6521e6863fab - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x6521e687097b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x6521e687097b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x6521e687097b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x6521e687097b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x6521e687097b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x6521e687097b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x6521e687097b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x6521e686c094 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x6521e686c094 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x6521e6873582 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x6521e6873582 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x6521e6873582 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x6521e6873582 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x6521e6873582 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x6521e6873582 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x6521e6873582 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x6521e6911d7f - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   43:     0x6521e6911d7f - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7c845e41daa4 - <unknown>
[INFO] [stdout]   45:     0x7c845e4aaa64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     binary_search::k_closest_elements::tests::test1
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 156 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "dcf16458f487e5e60cf983cbdbc941352baef67c3d281f66c12b25316ab97e83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcf16458f487e5e60cf983cbdbc941352baef67c3d281f66c12b25316ab97e83", kill_on_drop: false }`
[INFO] [stdout] dcf16458f487e5e60cf983cbdbc941352baef67c3d281f66c12b25316ab97e83
