[INFO] cloning repository https://github.com/r31oad3d/leetcode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r31oad3d/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr31oad3d%2Fleetcode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr31oad3d%2Fleetcode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3b59b2f801aae22bf093d27c88343466020392f
[INFO] testing r31oad3d/leetcode against 1.90.0 for beta-1.91-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr31oad3d%2Fleetcode" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/r31oad3d/leetcode
[INFO] finished tweaking git repo https://github.com/r31oad3d/leetcode
[INFO] tweaked toml for git repo https://github.com/r31oad3d/leetcode written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/r31oad3d/leetcode on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/r31oad3d/leetcode 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3371891cf2b7dbbd61f9b005236ee86c135e2662994a9464097e1c96ae41e07e
[INFO] running `Command { std: "docker" "start" "-a" "3371891cf2b7dbbd61f9b005236ee86c135e2662994a9464097e1c96ae41e07e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3371891cf2b7dbbd61f9b005236ee86c135e2662994a9464097e1c96ae41e07e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3371891cf2b7dbbd61f9b005236ee86c135e2662994a9464097e1c96ae41e07e", kill_on_drop: false }`
[INFO] [stdout] 3371891cf2b7dbbd61f9b005236ee86c135e2662994a9464097e1c96ae41e07e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6aa9f281fd437883aa432795933117b8bc758c4b5a477fa85a137d97f1ed182d
[INFO] running `Command { std: "docker" "start" "-a" "6aa9f281fd437883aa432795933117b8bc758c4b5a477fa85a137d97f1ed182d", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:138:32
[INFO] [stdout]     |
[INFO] [stdout] 138 |                 res_adverse *= (10 - num + 1);
[INFO] [stdout]     |                                ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 138 -                 res_adverse *= (10 - num + 1);
[INFO] [stdout] 138 +                 res_adverse *= 10 - num + 1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:46:15
[INFO] [stdout]    |
[INFO] [stdout] 46 |         while (i < j) {
[INFO] [stdout]    |               ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -         while (i < j) {
[INFO] [stdout] 46 +         while i < j {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solutions::hard`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use solutions::hard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solutions::middle`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use solutions::middle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solutions::simple`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use solutions::simple;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/hard/longest_valid_parentheses.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut v: Vec<char> = s.chars().collect();
[INFO] [stdout]   |             ----^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_n_sized_num`
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let max_n_sized_num = 1;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_n_sized_num`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmp`
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:174:21
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let mut tmp = num_at_position < num_at_previous_position;
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_tmp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let mut num_at_previous_position = 0;
[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/solutions/hard/num_dup_digits_at_most_n.rs:174:17
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let mut tmp = num_at_position < num_at_previous_position;
[INFO] [stdout]     |                 ----^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]   --> src/solutions/middle/convert.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let mut index = 0;
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `add` is never read
[INFO] [stdout]   --> src/solutions/middle/convert.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut add = 0;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/solutions/middle/frequency_sort.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |         for (i, c) in s.chars().enumerate() {
[INFO] [stdout]   |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/solutions/middle/frequency_sort.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |             for i in 0..item.1 {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `remainder` is never read
[INFO] [stdout]   --> src/solutions/middle/int_to_roman.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut remainder: usize = 0;
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/solutions/middle/length_of_longest_substring.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]   |                                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |         for (i, n) in height.iter().enumerate() {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i_value` is never read
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let (mut i, mut j, mut i_value, mut j_value): (usize, usize, i32, i32) =
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `j_value` is never read
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:44:45
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let (mut i, mut j, mut i_value, mut j_value): (usize, usize, i32, i32) =
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test`
[INFO] [stdout]   --> src/solutions/middle/max_area_of_island.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let test = vec![
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/middle/sort_colors.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 |             let mut middle_value = nums[middle];
[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/solutions/middle/subsets.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let mut temp_res = Solution::subsets(nums[1..].to_vec());
[INFO] [stdout]    |                 ----^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i_tmp` is never read
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let (mut i_tmp, mut j_tmp, mut k_tmp) = (0, 0, 0);
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `j_tmp` is never read
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let (mut i_tmp, mut j_tmp, mut k_tmp) = (0, 0, 0);
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `k_tmp` is never read
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let (mut i_tmp, mut j_tmp, mut k_tmp) = (0, 0, 0);
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/solutions/middle/top_k_frequent.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         for (i, n) in res2.iter() {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/solutions/middle/top_k_frequent.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut res2 = &res1[0..(k as usize)].to_vec();
[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/solutions/simple/backspace_compare.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut s = s;
[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/solutions/simple/backspace_compare.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut t = t;
[INFO] [stdout]   |             ----^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `diff` is never read
[INFO] [stdout]   --> src/solutions/simple/construct_rectangle.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |                         diff = j - i;
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/simple/construct_rectangle.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut area_mut: f64 = area as f64;
[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/solutions/simple/construct_rectangle.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut root: i32 = area_mut.sqrt().round() as 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/solutions/simple/construct_rectangle.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut area_mut: f64 = area as f64;
[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/solutions/simple/delete_duplicates.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         mut head: Option<Box<ListNode>>,
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `temp` is never read
[INFO] [stdout]   --> src/solutions/simple/find_repeat_number.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let mut temp = -1_i32;
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/solutions/simple/first_uniq_char.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |         for (k, v) in map.iter() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/simple/is_palindrome.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |                 let mut s = x.to_string();
[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/solutions/simple/longest_common_prefix.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut strs: Vec<&[u8]> = strs.iter().map(|s| s.as_bytes()).collect();
[INFO] [stdout]   |             ----^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]  --> src/solutions/simple/my_sqrt.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut i: i64 = 0;
[INFO] [stdout]   |                 ^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/simple/self_dividing_numbers.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         for mut num in left..=right {
[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/solutions/simple/to_goat_latin.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut s = s;
[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/solutions/simple/to_goat_latin.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let mut vs: Vec<&str> = s.split(' ').collect();
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/solutions/simple/to_goat_latin.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |             for i in 0..n + 1 {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/simple/unique_occurrences.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut arr = arr;
[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/solutions/hard/longest_valid_parentheses.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `longest_valid_parentheses` is never used
[INFO] [stdout]  --> src/solutions/hard/longest_valid_parentheses.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn longest_valid_parentheses(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/hard/maximum_gap.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `maximum_gap` is never used
[INFO] [stdout]  --> src/solutions/hard/maximum_gap.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn maximum_gap(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/hard/num_dup_digits_at_most_n.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `num_dup_digits_at_most_n` is never used
[INFO] [stdout]  --> src/solutions/hard/num_dup_digits_at_most_n.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn num_dup_digits_at_most_n(n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_VALUE_N` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:101:7
[INFO] [stdout]     |
[INFO] [stdout] 101 | const MAX_VALUE_N: i32 = 9;
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_sized_of` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn is_sized_of(mut i: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `n_size_num_dup_at_most` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn n_size_num_dup_at_most(n: i32, i: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_n_sized_num_starter_to_num_dup_at_most_adverse` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn from_n_sized_num_starter_to_num_dup_at_most_adverse(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:182:8
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub fn test() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/add_two_numbers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/solutions/middle/add_two_numbers.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/solutions/middle/add_two_numbers.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_two_numbers` is never used
[INFO] [stdout]   --> src/solutions/middle/add_two_numbers.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn add_two_numbers(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/combination_sum.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `combination_sum` is never used
[INFO] [stdout]  --> src/solutions/middle/combination_sum.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/combination_sum2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `combination_sum2` is never used
[INFO] [stdout]  --> src/solutions/middle/combination_sum2.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn combination_sum2(
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/convert.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `convert` is never used
[INFO] [stdout]  --> src/solutions/middle/convert.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn convert(s: String, num_rows: i32) -> String {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/find_diagonal_order.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_diagonal_order` is never used
[INFO] [stdout]  --> src/solutions/middle/find_diagonal_order.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn find_diagonal_order(matrix: Vec<Vec<i32>>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/frequency_sort.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `frequency_sort` is never used
[INFO] [stdout]  --> src/solutions/middle/frequency_sort.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn frequency_sort(s: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/generate_parenthesis.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `generate_parenthesis` is never used
[INFO] [stdout]  --> src/solutions/middle/generate_parenthesis.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn generate_parenthesis(n: i32) -> Vec<String> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/int_to_roman.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `int_to_roman` is never used
[INFO] [stdout]  --> src/solutions/middle/int_to_roman.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn int_to_roman(num: i32) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/integer_break.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `integer_break` is never used
[INFO] [stdout]  --> src/solutions/middle/integer_break.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn integer_break(n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/length_of_longest_substring.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `length_of_longest_substring` is never used
[INFO] [stdout]  --> src/solutions/middle/length_of_longest_substring.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/middle/length_of_longest_substring.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn test() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/letter_case_permutation.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `letter_case_permutation` is never used
[INFO] [stdout]  --> src/solutions/middle/letter_case_permutation.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn letter_case_permutation(s: String) -> Vec<String> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/letter_combinations.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `letter_combinations` is never used
[INFO] [stdout]  --> src/solutions/middle/letter_combinations.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn letter_combinations(digits: String) -> Vec<String> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/max_area.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `max_area` and `max_area_slow` are never used
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:4:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  4 |     pub fn max_area(height: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn max_area_slow(height: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/max_area_of_island.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_area_of_island` is never used
[INFO] [stdout]  --> src/solutions/middle/max_area_of_island.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn max_area_of_island(mut grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/middle/max_area_of_island.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/max_product.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_product` is never used
[INFO] [stdout]  --> src/solutions/middle/max_product.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn max_product(words: Vec<String>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/max_width_ramp.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_width_ramp` is never used
[INFO] [stdout]  --> src/solutions/middle/max_width_ramp.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn max_width_ramp(a: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/my_atoi.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `my_atoi` is never used
[INFO] [stdout]  --> src/solutions/middle/my_atoi.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn my_atoi(str: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/permute.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `permute` is never used
[INFO] [stdout]  --> src/solutions/middle/permute.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn permute(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/range_bitwise_and.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `range_bitwise_and` is never used
[INFO] [stdout]  --> src/solutions/middle/range_bitwise_and.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn range_bitwise_and(mut m: i32, mut n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/sort_colors.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sort_colors` is never used
[INFO] [stdout]  --> src/solutions/middle/sort_colors.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/middle/sort_colors.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/subsets.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `subsets` is never used
[INFO] [stdout]   --> src/solutions/middle/subsets.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn subsets(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/middle/subsets.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/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/solutions/middle/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(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution1` is never constructed
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct Solution1;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum` is never used
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl Solution1 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 62 |     pub fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/solutions/middle/three_sum.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn test() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/top_k_frequent.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `top_k_frequent` is never used
[INFO] [stdout]  --> src/solutions/middle/top_k_frequent.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn top_k_frequent(nums: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyQueue` is never constructed
[INFO] [stdout]  --> src/solutions/simple/MyQueue.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/solutions/simple/MyQueue.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl MyQueue {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 11 |     /** Initialize your data structure here. */
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn peek(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyStack` is never constructed
[INFO] [stdout]  --> src/solutions/simple/MyStack.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct MyStack {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `empty` are never used
[INFO] [stdout]   --> src/solutions/simple/MyStack.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl MyStack {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 10 |     /** Initialize your data structure here. */
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn top(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/add_binary.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_binary` is never used
[INFO] [stdout]  --> src/solutions/simple/add_binary.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     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/solutions/simple/add_digits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_digits` is never used
[INFO] [stdout]  --> src/solutions/simple/add_digits.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn add_digits(num: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/add_strings.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_strings` is never used
[INFO] [stdout]  --> src/solutions/simple/add_strings.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn add_strings(num1: String, num2: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/add_to_array_form.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_to_array_form` is never used
[INFO] [stdout]  --> src/solutions/simple/add_to_array_form.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn add_to_array_form(mut a: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/backspace_compare.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `backspace_compare` is never used
[INFO] [stdout]  --> src/solutions/simple/backspace_compare.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 3 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/can_win_nim.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `can_win_nim` is never used
[INFO] [stdout]  --> src/solutions/simple/can_win_nim.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn can_win_nim(n: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/construct_rectangle.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `construct_rectangle` and `construct_rectangle_v2` are never used
[INFO] [stdout]   --> src/solutions/simple/construct_rectangle.rs:4:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  4 |     pub fn construct_rectangle(area: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn construct_rectangle_v2(area: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/construct_rectangle.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/contains_duplicate.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `contains_duplicate` is never used
[INFO] [stdout]  --> src/solutions/simple/contains_duplicate.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn contains_duplicate(nums: Vec<i32>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/contains_nearby_duplicate.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `contains_nearby_duplicate` is never used
[INFO] [stdout]  --> src/solutions/simple/contains_nearby_duplicate.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 3 |     pub fn contains_nearby_duplicate(nums: Vec<i32>, k: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/solutions/simple/delete_duplicates.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/solutions/simple/delete_duplicates.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/solutions/simple/delete_duplicates.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `delete_duplicates` is never used
[INFO] [stdout]   --> src/solutions/simple/delete_duplicates.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn delete_duplicates(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/exchange.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `exchange` is never used
[INFO] [stdout]  --> src/solutions/simple/exchange.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 3 |     pub fn exchange(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/find_content_children.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_content_children` is never used
[INFO] [stdout]  --> src/solutions/simple/find_content_children.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn find_content_children(mut g: Vec<i32>, mut s: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/find_max_consecutive_ones.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_max_consecutive_ones` is never used
[INFO] [stdout]  --> src/solutions/simple/find_max_consecutive_ones.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn find_max_consecutive_ones(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/find_repeat_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_repeat_numberfind_repeat_number` is never used
[INFO] [stdout]  --> src/solutions/simple/find_repeat_number.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn find_repeat_numberfind_repeat_number(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/first_uniq_char.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `first_uniq_char` is never used
[INFO] [stdout]  --> src/solutions/simple/first_uniq_char.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn first_uniq_char(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/generate.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `generate` and `sub_generate` are never used
[INFO] [stdout]  --> src/solutions/simple/generate.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated functions in this implementation
[INFO] [stdout] 3 |     pub fn generate(num_rows: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     fn sub_generate(num_rows: i32, sub_res: &mut Vec<Vec<i32>>) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/get_hint.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_hint` is never used
[INFO] [stdout]  --> src/solutions/simple/get_hint.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn get_hint(secret: String, guess: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/hamming_distance.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `hamming_distance` is never used
[INFO] [stdout]  --> src/solutions/simple/hamming_distance.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn hamming_distance(x: i32, y: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_anagram.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_anagram` is never used
[INFO] [stdout]  --> src/solutions/simple/is_anagram.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     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/solutions/simple/is_palindrome.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_palindrome` is never used
[INFO] [stdout]  --> src/solutions/simple/is_palindrome.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_palindrome(x: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/is_palindrome.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn test() {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_perfect_square.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_perfect_square` is never used
[INFO] [stdout]  --> src/solutions/simple/is_perfect_square.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_perfect_square(num: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_power_of_four.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_power_of_four` is never used
[INFO] [stdout]  --> src/solutions/simple/is_power_of_four.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_power_of_four(num: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/is_power_of_four.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_power_of_three.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_power_of_three` is never used
[INFO] [stdout]  --> src/solutions/simple/is_power_of_three.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_power_of_three(n: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_power_of_two.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_power_of_two` is never used
[INFO] [stdout]  --> src/solutions/simple/is_power_of_two.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_power_of_two(n: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_valid.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid` is never used
[INFO] [stdout]  --> src/solutions/simple/is_valid.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 3 |     pub fn is_valid(s: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/island_perimeter.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `island_perimeter` is never used
[INFO] [stdout]  --> src/solutions/simple/island_perimeter.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn island_perimeter(grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/last_stone_weight.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `last_stone_weight` is never used
[INFO] [stdout]  --> src/solutions/simple/last_stone_weight.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn last_stone_weight(stones: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/lemonade_change.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `lemonade_change` is never used
[INFO] [stdout]  --> src/solutions/simple/lemonade_change.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn lemonade_change(bills: Vec<i32>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/length_of_last_word.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `length_of_last_word` is never used
[INFO] [stdout]  --> src/solutions/simple/length_of_last_word.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn length_of_last_word(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/longest_common_prefix.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `longest_common_prefix` is never used
[INFO] [stdout]  --> src/solutions/simple/longest_common_prefix.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn longest_common_prefix(strs: Vec<String>) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/majority_element.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `majority_element` and `majority_element_v1` are never used
[INFO] [stdout]   --> src/solutions/simple/majority_element.rs:4:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  4 |     pub fn majority_element(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn majority_element_v1(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/max_profit.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/solutions/simple/max_profit.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     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/solutions/simple/max_sub_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_sub_array` is never used
[INFO] [stdout]  --> src/solutions/simple/max_sub_array.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn max_sub_array(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/min_moves.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `min_moves` is never used
[INFO] [stdout]  --> src/solutions/simple/min_moves.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn min_moves(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/my_sqrt.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `my_sqrt_v1` and `my_sqrt` are never used
[INFO] [stdout]   --> src/solutions/simple/my_sqrt.rs:3:12
[INFO] [stdout]    |
[INFO] [stdout]  2 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  3 |     pub fn my_sqrt_v1(x: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn my_sqrt(x: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/my_sqrt.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/plus_one.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `plus_one` is never used
[INFO] [stdout]  --> src/solutions/simple/plus_one.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn plus_one(digits: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/remove_duplicates.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_duplicates` is never used
[INFO] [stdout]  --> src/solutions/simple/remove_duplicates.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/remove_element.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_element` is never used
[INFO] [stdout]  --> src/solutions/simple/remove_element.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/repeated_n_times.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `repeated_n_times` is never used
[INFO] [stdout]  --> src/solutions/simple/repeated_n_times.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn repeated_n_times(a: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/reverse.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reverse` is never used
[INFO] [stdout]  --> src/solutions/simple/reverse.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn reverse(x: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/reverse_string.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reverse_string` is never used
[INFO] [stdout]  --> src/solutions/simple/reverse_string.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn reverse_string(s: &mut Vec<char>) {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/roman_to_int.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `roman_to_int` is never used
[INFO] [stdout]  --> src/solutions/simple/roman_to_int.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn roman_to_int(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/self_dividing_numbers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `self_dividing_numbers` is never used
[INFO] [stdout]  --> src/solutions/simple/self_dividing_numbers.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn self_dividing_numbers(left: i32, right: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/self_dividing_numbers.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/single_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `single_number` is never used
[INFO] [stdout]  --> src/solutions/simple/single_number.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn single_number(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/sorted_squares.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sorted_squares` is never used
[INFO] [stdout]  --> src/solutions/simple/sorted_squares.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn sorted_squares(a: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/sorted_squares.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn test() {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/str_str.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `str_str` is never used
[INFO] [stdout]  --> src/solutions/simple/str_str.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn str_str(haystack: String, needle: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/to_goat_latin.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_goat_latin` is never used
[INFO] [stdout]  --> src/solutions/simple/to_goat_latin.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn to_goat_latin(s: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/two_city_sched_cost.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `two_city_sched_cost` is never used
[INFO] [stdout]  --> src/solutions/simple/two_city_sched_cost.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn two_city_sched_cost(costs: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/two_sum.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `two_sum` is never used
[INFO] [stdout]  --> src/solutions/simple/two_sum.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/two_sum.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn test() {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/unique_occurrences.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unique_occurrences` is never used
[INFO] [stdout]  --> src/solutions/simple/unique_occurrences.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn unique_occurrences(arr: Vec<i32>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `M` should have a snake case name
[INFO] [stdout]  --> src/solutions/middle/find_diagonal_order.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let (M, N) = (matrix.len() - 1, matrix.get(0).unwrap().len() - 1);
[INFO] [stdout]   |              ^ help: convert the identifier to snake case: `m`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]  --> src/solutions/middle/find_diagonal_order.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let (M, N) = (matrix.len() - 1, matrix.get(0).unwrap().len() - 1);
[INFO] [stdout]   |                 ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `MyQueue` should have a snake case name
[INFO] [stdout]  --> src/solutions/simple/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod MyQueue;
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `my_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `MyStack` should have a snake case name
[INFO] [stdout]  --> src/solutions/simple/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod MyStack;
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `my_stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "6aa9f281fd437883aa432795933117b8bc758c4b5a477fa85a137d97f1ed182d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6aa9f281fd437883aa432795933117b8bc758c4b5a477fa85a137d97f1ed182d", kill_on_drop: false }`
[INFO] [stdout] 6aa9f281fd437883aa432795933117b8bc758c4b5a477fa85a137d97f1ed182d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c6f97d18b9df4ca504377162abf7a28090f0426a4ba0ba551ba2b10209407507
[INFO] running `Command { std: "docker" "start" "-a" "c6f97d18b9df4ca504377162abf7a28090f0426a4ba0ba551ba2b10209407507", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:138:32
[INFO] [stdout]     |
[INFO] [stdout] 138 |                 res_adverse *= (10 - num + 1);
[INFO] [stdout]     |                                ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 138 -                 res_adverse *= (10 - num + 1);
[INFO] [stdout] 138 +                 res_adverse *= 10 - num + 1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:46:15
[INFO] [stdout]    |
[INFO] [stdout] 46 |         while (i < j) {
[INFO] [stdout]    |               ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -         while (i < j) {
[INFO] [stdout] 46 +         while i < j {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solutions::hard`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use solutions::hard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solutions::middle`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use solutions::middle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solutions::simple`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use solutions::simple;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/hard/longest_valid_parentheses.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut v: Vec<char> = s.chars().collect();
[INFO] [stdout]   |             ----^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_n_sized_num`
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let max_n_sized_num = 1;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_n_sized_num`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmp`
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:174:21
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let mut tmp = num_at_position < num_at_previous_position;
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_tmp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let mut num_at_previous_position = 0;
[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/solutions/hard/num_dup_digits_at_most_n.rs:174:17
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let mut tmp = num_at_position < num_at_previous_position;
[INFO] [stdout]     |                 ----^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]   --> src/solutions/middle/convert.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let mut index = 0;
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `add` is never read
[INFO] [stdout]   --> src/solutions/middle/convert.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut add = 0;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/solutions/middle/frequency_sort.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |         for (i, c) in s.chars().enumerate() {
[INFO] [stdout]   |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/solutions/middle/frequency_sort.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |             for i in 0..item.1 {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `remainder` is never read
[INFO] [stdout]   --> src/solutions/middle/int_to_roman.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut remainder: usize = 0;
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/solutions/middle/length_of_longest_substring.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]   |                                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |         for (i, n) in height.iter().enumerate() {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i_value` is never read
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let (mut i, mut j, mut i_value, mut j_value): (usize, usize, i32, i32) =
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `j_value` is never read
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:44:45
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let (mut i, mut j, mut i_value, mut j_value): (usize, usize, i32, i32) =
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test`
[INFO] [stdout]   --> src/solutions/middle/max_area_of_island.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let test = vec![
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/middle/sort_colors.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 |             let mut middle_value = nums[middle];
[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/solutions/middle/subsets.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let mut temp_res = Solution::subsets(nums[1..].to_vec());
[INFO] [stdout]    |                 ----^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i_tmp` is never read
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let (mut i_tmp, mut j_tmp, mut k_tmp) = (0, 0, 0);
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `j_tmp` is never read
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let (mut i_tmp, mut j_tmp, mut k_tmp) = (0, 0, 0);
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `k_tmp` is never read
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let (mut i_tmp, mut j_tmp, mut k_tmp) = (0, 0, 0);
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/solutions/middle/top_k_frequent.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         for (i, n) in res2.iter() {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/solutions/middle/top_k_frequent.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut res2 = &res1[0..(k as usize)].to_vec();
[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/solutions/simple/backspace_compare.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut s = s;
[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/solutions/simple/backspace_compare.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut t = t;
[INFO] [stdout]   |             ----^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `diff` is never read
[INFO] [stdout]   --> src/solutions/simple/construct_rectangle.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |                         diff = j - i;
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/simple/construct_rectangle.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut area_mut: f64 = area as f64;
[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/solutions/simple/construct_rectangle.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut root: i32 = area_mut.sqrt().round() as 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/solutions/simple/construct_rectangle.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut area_mut: f64 = area as f64;
[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/solutions/simple/delete_duplicates.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         mut head: Option<Box<ListNode>>,
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `temp` is never read
[INFO] [stdout]   --> src/solutions/simple/find_repeat_number.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let mut temp = -1_i32;
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/solutions/simple/first_uniq_char.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |         for (k, v) in map.iter() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/simple/is_palindrome.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |                 let mut s = x.to_string();
[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/solutions/simple/longest_common_prefix.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut strs: Vec<&[u8]> = strs.iter().map(|s| s.as_bytes()).collect();
[INFO] [stdout]   |             ----^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]  --> src/solutions/simple/my_sqrt.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut i: i64 = 0;
[INFO] [stdout]   |                 ^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/simple/self_dividing_numbers.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         for mut num in left..=right {
[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/solutions/simple/to_goat_latin.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut s = s;
[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/solutions/simple/to_goat_latin.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let mut vs: Vec<&str> = s.split(' ').collect();
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/solutions/simple/to_goat_latin.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |             for i in 0..n + 1 {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/solutions/simple/unique_occurrences.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut arr = arr;
[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/solutions/hard/longest_valid_parentheses.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `longest_valid_parentheses` is never used
[INFO] [stdout]  --> src/solutions/hard/longest_valid_parentheses.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn longest_valid_parentheses(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/hard/maximum_gap.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `maximum_gap` is never used
[INFO] [stdout]  --> src/solutions/hard/maximum_gap.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn maximum_gap(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/hard/num_dup_digits_at_most_n.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `num_dup_digits_at_most_n` is never used
[INFO] [stdout]  --> src/solutions/hard/num_dup_digits_at_most_n.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn num_dup_digits_at_most_n(n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_VALUE_N` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:101:7
[INFO] [stdout]     |
[INFO] [stdout] 101 | const MAX_VALUE_N: i32 = 9;
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_sized_of` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn is_sized_of(mut i: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `n_size_num_dup_at_most` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn n_size_num_dup_at_most(n: i32, i: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_n_sized_num_starter_to_num_dup_at_most_adverse` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn from_n_sized_num_starter_to_num_dup_at_most_adverse(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:182:8
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub fn test() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/add_two_numbers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/solutions/middle/add_two_numbers.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/solutions/middle/add_two_numbers.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     #[inline]
[INFO] [stdout] 11 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_two_numbers` is never used
[INFO] [stdout]   --> src/solutions/middle/add_two_numbers.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn add_two_numbers(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/combination_sum.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `combination_sum` is never used
[INFO] [stdout]  --> src/solutions/middle/combination_sum.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/combination_sum2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `combination_sum2` is never used
[INFO] [stdout]  --> src/solutions/middle/combination_sum2.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn combination_sum2(
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/convert.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `convert` is never used
[INFO] [stdout]  --> src/solutions/middle/convert.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn convert(s: String, num_rows: i32) -> String {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/find_diagonal_order.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_diagonal_order` is never used
[INFO] [stdout]  --> src/solutions/middle/find_diagonal_order.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn find_diagonal_order(matrix: Vec<Vec<i32>>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/frequency_sort.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `frequency_sort` is never used
[INFO] [stdout]  --> src/solutions/middle/frequency_sort.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn frequency_sort(s: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/generate_parenthesis.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `generate_parenthesis` is never used
[INFO] [stdout]  --> src/solutions/middle/generate_parenthesis.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn generate_parenthesis(n: i32) -> Vec<String> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/int_to_roman.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `int_to_roman` is never used
[INFO] [stdout]  --> src/solutions/middle/int_to_roman.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn int_to_roman(num: i32) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/integer_break.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `integer_break` is never used
[INFO] [stdout]  --> src/solutions/middle/integer_break.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn integer_break(n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/length_of_longest_substring.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `length_of_longest_substring` is never used
[INFO] [stdout]  --> src/solutions/middle/length_of_longest_substring.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/middle/length_of_longest_substring.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn test() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/letter_combinations.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `letter_combinations` is never used
[INFO] [stdout]  --> src/solutions/middle/letter_combinations.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn letter_combinations(digits: String) -> Vec<String> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/max_area.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `max_area` and `max_area_slow` are never used
[INFO] [stdout]   --> src/solutions/middle/max_area.rs:4:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  4 |     pub fn max_area(height: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn max_area_slow(height: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/max_area_of_island.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_area_of_island` is never used
[INFO] [stdout]  --> src/solutions/middle/max_area_of_island.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn max_area_of_island(mut grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/middle/max_area_of_island.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/max_product.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_product` is never used
[INFO] [stdout]  --> src/solutions/middle/max_product.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn max_product(words: Vec<String>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/max_width_ramp.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_width_ramp` is never used
[INFO] [stdout]  --> src/solutions/middle/max_width_ramp.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn max_width_ramp(a: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/my_atoi.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `my_atoi` is never used
[INFO] [stdout]  --> src/solutions/middle/my_atoi.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn my_atoi(str: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/permute.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `permute` is never used
[INFO] [stdout]  --> src/solutions/middle/permute.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn permute(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/range_bitwise_and.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `range_bitwise_and` is never used
[INFO] [stdout]  --> src/solutions/middle/range_bitwise_and.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn range_bitwise_and(mut m: i32, mut n: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/sort_colors.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sort_colors` is never used
[INFO] [stdout]  --> src/solutions/middle/sort_colors.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/middle/sort_colors.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/subsets.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `subsets` is never used
[INFO] [stdout]   --> src/solutions/middle/subsets.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn subsets(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/middle/subsets.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/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/solutions/middle/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(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution1` is never constructed
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct Solution1;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum` is never used
[INFO] [stdout]   --> src/solutions/middle/three_sum.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl Solution1 {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 62 |     pub fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/solutions/middle/three_sum.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn test() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/middle/top_k_frequent.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `top_k_frequent` is never used
[INFO] [stdout]  --> src/solutions/middle/top_k_frequent.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn top_k_frequent(nums: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyQueue` is never constructed
[INFO] [stdout]  --> src/solutions/simple/MyQueue.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/solutions/simple/MyQueue.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl MyQueue {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 11 |     /** Initialize your data structure here. */
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn peek(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyStack` is never constructed
[INFO] [stdout]  --> src/solutions/simple/MyStack.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct MyStack {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `empty` are never used
[INFO] [stdout]   --> src/solutions/simple/MyStack.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl MyStack {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 10 |     /** Initialize your data structure here. */
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn top(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/add_binary.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_binary` is never used
[INFO] [stdout]  --> src/solutions/simple/add_binary.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     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/solutions/simple/add_digits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_digits` is never used
[INFO] [stdout]  --> src/solutions/simple/add_digits.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn add_digits(num: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/add_strings.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_strings` is never used
[INFO] [stdout]  --> src/solutions/simple/add_strings.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn add_strings(num1: String, num2: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/add_to_array_form.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_to_array_form` is never used
[INFO] [stdout]  --> src/solutions/simple/add_to_array_form.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn add_to_array_form(mut a: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/backspace_compare.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `backspace_compare` is never used
[INFO] [stdout]  --> src/solutions/simple/backspace_compare.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 3 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/can_win_nim.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `can_win_nim` is never used
[INFO] [stdout]  --> src/solutions/simple/can_win_nim.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn can_win_nim(n: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/construct_rectangle.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `construct_rectangle` and `construct_rectangle_v2` are never used
[INFO] [stdout]   --> src/solutions/simple/construct_rectangle.rs:4:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  4 |     pub fn construct_rectangle(area: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn construct_rectangle_v2(area: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/construct_rectangle.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/contains_duplicate.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `contains_duplicate` is never used
[INFO] [stdout]  --> src/solutions/simple/contains_duplicate.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn contains_duplicate(nums: Vec<i32>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/contains_nearby_duplicate.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `contains_nearby_duplicate` is never used
[INFO] [stdout]  --> src/solutions/simple/contains_nearby_duplicate.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 3 |     pub fn contains_nearby_duplicate(nums: Vec<i32>, k: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/solutions/simple/delete_duplicates.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/solutions/simple/delete_duplicates.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |     #[inline]
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/solutions/simple/delete_duplicates.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `delete_duplicates` is never used
[INFO] [stdout]   --> src/solutions/simple/delete_duplicates.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn delete_duplicates(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/exchange.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `exchange` is never used
[INFO] [stdout]  --> src/solutions/simple/exchange.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 3 |     pub fn exchange(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/find_content_children.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_content_children` is never used
[INFO] [stdout]  --> src/solutions/simple/find_content_children.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn find_content_children(mut g: Vec<i32>, mut s: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/find_max_consecutive_ones.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_max_consecutive_ones` is never used
[INFO] [stdout]  --> src/solutions/simple/find_max_consecutive_ones.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn find_max_consecutive_ones(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/first_uniq_char.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `first_uniq_char` is never used
[INFO] [stdout]  --> src/solutions/simple/first_uniq_char.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn first_uniq_char(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/generate.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `generate` and `sub_generate` are never used
[INFO] [stdout]  --> src/solutions/simple/generate.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated functions in this implementation
[INFO] [stdout] 3 |     pub fn generate(num_rows: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     fn sub_generate(num_rows: i32, sub_res: &mut Vec<Vec<i32>>) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/get_hint.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_hint` is never used
[INFO] [stdout]  --> src/solutions/simple/get_hint.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn get_hint(secret: String, guess: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/hamming_distance.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `hamming_distance` is never used
[INFO] [stdout]  --> src/solutions/simple/hamming_distance.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn hamming_distance(x: i32, y: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_anagram.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_anagram` is never used
[INFO] [stdout]  --> src/solutions/simple/is_anagram.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     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/solutions/simple/is_palindrome.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_palindrome` is never used
[INFO] [stdout]  --> src/solutions/simple/is_palindrome.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_palindrome(x: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/is_palindrome.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn test() {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_perfect_square.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_perfect_square` is never used
[INFO] [stdout]  --> src/solutions/simple/is_perfect_square.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_perfect_square(num: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_power_of_four.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_power_of_four` is never used
[INFO] [stdout]  --> src/solutions/simple/is_power_of_four.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_power_of_four(num: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/is_power_of_four.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_power_of_three.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_power_of_three` is never used
[INFO] [stdout]  --> src/solutions/simple/is_power_of_three.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_power_of_three(n: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_power_of_two.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_power_of_two` is never used
[INFO] [stdout]  --> src/solutions/simple/is_power_of_two.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_power_of_two(n: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/is_valid.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid` is never used
[INFO] [stdout]  --> src/solutions/simple/is_valid.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 3 |     pub fn is_valid(s: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/island_perimeter.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `island_perimeter` is never used
[INFO] [stdout]  --> src/solutions/simple/island_perimeter.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn island_perimeter(grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/last_stone_weight.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `last_stone_weight` is never used
[INFO] [stdout]  --> src/solutions/simple/last_stone_weight.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn last_stone_weight(stones: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/lemonade_change.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `lemonade_change` is never used
[INFO] [stdout]  --> src/solutions/simple/lemonade_change.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn lemonade_change(bills: Vec<i32>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/length_of_last_word.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `length_of_last_word` is never used
[INFO] [stdout]  --> src/solutions/simple/length_of_last_word.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn length_of_last_word(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/longest_common_prefix.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `longest_common_prefix` is never used
[INFO] [stdout]  --> src/solutions/simple/longest_common_prefix.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn longest_common_prefix(strs: Vec<String>) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/majority_element.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `majority_element` and `majority_element_v1` are never used
[INFO] [stdout]   --> src/solutions/simple/majority_element.rs:4:12
[INFO] [stdout]    |
[INFO] [stdout]  3 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  4 |     pub fn majority_element(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn majority_element_v1(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/max_profit.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]  --> src/solutions/simple/max_profit.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     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/solutions/simple/max_sub_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_sub_array` is never used
[INFO] [stdout]  --> src/solutions/simple/max_sub_array.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn max_sub_array(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/min_moves.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `min_moves` is never used
[INFO] [stdout]  --> src/solutions/simple/min_moves.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn min_moves(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/my_sqrt.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `my_sqrt_v1` and `my_sqrt` are never used
[INFO] [stdout]   --> src/solutions/simple/my_sqrt.rs:3:12
[INFO] [stdout]    |
[INFO] [stdout]  2 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  3 |     pub fn my_sqrt_v1(x: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn my_sqrt(x: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/my_sqrt.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/plus_one.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `plus_one` is never used
[INFO] [stdout]  --> src/solutions/simple/plus_one.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn plus_one(digits: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/remove_duplicates.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_duplicates` is never used
[INFO] [stdout]  --> src/solutions/simple/remove_duplicates.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/remove_element.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_element` is never used
[INFO] [stdout]  --> src/solutions/simple/remove_element.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/repeated_n_times.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `repeated_n_times` is never used
[INFO] [stdout]  --> src/solutions/simple/repeated_n_times.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn repeated_n_times(a: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/reverse.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reverse` is never used
[INFO] [stdout]  --> src/solutions/simple/reverse.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn reverse(x: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/reverse_string.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reverse_string` is never used
[INFO] [stdout]  --> src/solutions/simple/reverse_string.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn reverse_string(s: &mut Vec<char>) {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/roman_to_int.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `roman_to_int` is never used
[INFO] [stdout]  --> src/solutions/simple/roman_to_int.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn roman_to_int(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/self_dividing_numbers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `self_dividing_numbers` is never used
[INFO] [stdout]  --> src/solutions/simple/self_dividing_numbers.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn self_dividing_numbers(left: i32, right: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/self_dividing_numbers.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/single_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `single_number` is never used
[INFO] [stdout]  --> src/solutions/simple/single_number.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn single_number(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/sorted_squares.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sorted_squares` is never used
[INFO] [stdout]  --> src/solutions/simple/sorted_squares.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn sorted_squares(a: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/sorted_squares.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn test() {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/str_str.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `str_str` is never used
[INFO] [stdout]  --> src/solutions/simple/str_str.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn str_str(haystack: String, needle: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/to_goat_latin.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_goat_latin` is never used
[INFO] [stdout]  --> src/solutions/simple/to_goat_latin.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn to_goat_latin(s: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/two_city_sched_cost.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `two_city_sched_cost` is never used
[INFO] [stdout]  --> src/solutions/simple/two_city_sched_cost.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn two_city_sched_cost(costs: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/two_sum.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `two_sum` is never used
[INFO] [stdout]  --> src/solutions/simple/two_sum.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/solutions/simple/two_sum.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn test() {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/solutions/simple/unique_occurrences.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unique_occurrences` is never used
[INFO] [stdout]  --> src/solutions/simple/unique_occurrences.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn unique_occurrences(arr: Vec<i32>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `M` should have a snake case name
[INFO] [stdout]  --> src/solutions/middle/find_diagonal_order.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let (M, N) = (matrix.len() - 1, matrix.get(0).unwrap().len() - 1);
[INFO] [stdout]   |              ^ help: convert the identifier to snake case: `m`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]  --> src/solutions/middle/find_diagonal_order.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let (M, N) = (matrix.len() - 1, matrix.get(0).unwrap().len() - 1);
[INFO] [stdout]   |                 ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `MyQueue` should have a snake case name
[INFO] [stdout]  --> src/solutions/simple/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod MyQueue;
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `my_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `MyStack` should have a snake case name
[INFO] [stdout]  --> src/solutions/simple/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod MyStack;
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `my_stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s
[INFO] running `Command { std: "docker" "inspect" "c6f97d18b9df4ca504377162abf7a28090f0426a4ba0ba551ba2b10209407507", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6f97d18b9df4ca504377162abf7a28090f0426a4ba0ba551ba2b10209407507", kill_on_drop: false }`
[INFO] [stdout] c6f97d18b9df4ca504377162abf7a28090f0426a4ba0ba551ba2b10209407507
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bcc1a0febff80c4aaf77c9c0b0ab2f8f61918ca1778b4fb49b218f75165439a8
[INFO] running `Command { std: "docker" "start" "-a" "bcc1a0febff80c4aaf77c9c0b0ab2f8f61918ca1778b4fb49b218f75165439a8", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:138:32
[INFO] [stderr]     |
[INFO] [stderr] 138 |                 res_adverse *= (10 - num + 1);
[INFO] [stderr]     |                                ^            ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 138 -                 res_adverse *= (10 - num + 1);
[INFO] [stderr] 138 +                 res_adverse *= 10 - num + 1;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `while` condition
[INFO] [stderr]   --> src/solutions/middle/max_area.rs:46:15
[INFO] [stderr]    |
[INFO] [stderr] 46 |         while (i < j) {
[INFO] [stderr]    |               ^     ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 46 -         while (i < j) {
[INFO] [stderr] 46 +         while i < j {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `solutions::hard`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use solutions::hard;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `solutions::middle`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use solutions::middle;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `solutions::simple`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use solutions::simple;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/solutions/hard/longest_valid_parentheses.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 |         let mut v: Vec<char> = s.chars().collect();
[INFO] [stderr]   |             ----^
[INFO] [stderr]   |             |
[INFO] [stderr]   |             help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `max_n_sized_num`
[INFO] [stderr]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:171:13
[INFO] [stderr]     |
[INFO] [stderr] 171 |         let max_n_sized_num = 1;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_n_sized_num`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tmp`
[INFO] [stderr]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:174:21
[INFO] [stderr]     |
[INFO] [stderr] 174 |             let mut tmp = num_at_position < num_at_previous_position;
[INFO] [stderr]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_tmp`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:172:13
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let mut num_at_previous_position = 0;
[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/solutions/hard/num_dup_digits_at_most_n.rs:174:17
[INFO] [stderr]     |
[INFO] [stderr] 174 |             let mut tmp = num_at_position < num_at_previous_position;
[INFO] [stderr]     |                 ----^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `index` is never read
[INFO] [stderr]   --> src/solutions/middle/convert.rs:11:17
[INFO] [stderr]    |
[INFO] [stderr] 11 |         let mut index = 0;
[INFO] [stderr]    |                 ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `add` is never read
[INFO] [stderr]   --> src/solutions/middle/convert.rs:12:17
[INFO] [stderr]    |
[INFO] [stderr] 12 |         let mut add = 0;
[INFO] [stderr]    |                 ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]  --> src/solutions/middle/frequency_sort.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 7 |         for (i, c) in s.chars().enumerate() {
[INFO] [stderr]   |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/solutions/middle/frequency_sort.rs:20:17
[INFO] [stderr]    |
[INFO] [stderr] 20 |             for i in 0..item.1 {
[INFO] [stderr]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `remainder` is never read
[INFO] [stderr]   --> src/solutions/middle/int_to_roman.rs:18:17
[INFO] [stderr]    |
[INFO] [stderr] 18 |         let mut remainder: usize = 0;
[INFO] [stderr]    |                 ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]  --> src/solutions/middle/length_of_longest_substring.rs:4:40
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stderr]   |                                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]   --> src/solutions/middle/max_area.rs:15:17
[INFO] [stderr]    |
[INFO] [stderr] 15 |         for (i, n) in height.iter().enumerate() {
[INFO] [stderr]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `i_value` is never read
[INFO] [stderr]   --> src/solutions/middle/max_area.rs:44:32
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let (mut i, mut j, mut i_value, mut j_value): (usize, usize, i32, i32) =
[INFO] [stderr]    |                                ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `j_value` is never read
[INFO] [stderr]   --> src/solutions/middle/max_area.rs:44:45
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let (mut i, mut j, mut i_value, mut j_value): (usize, usize, i32, i32) =
[INFO] [stderr]    |                                             ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `test`
[INFO] [stderr]   --> src/solutions/middle/max_area_of_island.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let test = vec![
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_test`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/solutions/middle/sort_colors.rs:9:17
[INFO] [stderr]   |
[INFO] [stderr] 9 |             let mut middle_value = nums[middle];
[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/solutions/middle/subsets.rs:33:17
[INFO] [stderr]    |
[INFO] [stderr] 33 |             let mut temp_res = Solution::subsets(nums[1..].to_vec());
[INFO] [stderr]    |                 ----^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `i_tmp` is never read
[INFO] [stderr]   --> src/solutions/middle/three_sum.rs:10:18
[INFO] [stderr]    |
[INFO] [stderr] 10 |         let (mut i_tmp, mut j_tmp, mut k_tmp) = (0, 0, 0);
[INFO] [stderr]    |                  ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `j_tmp` is never read
[INFO] [stderr]   --> src/solutions/middle/three_sum.rs:10:29
[INFO] [stderr]    |
[INFO] [stderr] 10 |         let (mut i_tmp, mut j_tmp, mut k_tmp) = (0, 0, 0);
[INFO] [stderr]    |                             ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `k_tmp` is never read
[INFO] [stderr]   --> src/solutions/middle/three_sum.rs:10:40
[INFO] [stderr]    |
[INFO] [stderr] 10 |         let (mut i_tmp, mut j_tmp, mut k_tmp) = (0, 0, 0);
[INFO] [stderr]    |                                        ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]   --> src/solutions/middle/top_k_frequent.rs:21:17
[INFO] [stderr]    |
[INFO] [stderr] 21 |         for (i, n) in res2.iter() {
[INFO] [stderr]    |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/solutions/middle/top_k_frequent.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 |         let mut res2 = &res1[0..(k as usize)].to_vec();
[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/solutions/simple/backspace_compare.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 |         let mut s = s;
[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/solutions/simple/backspace_compare.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 |         let mut t = t;
[INFO] [stderr]   |             ----^
[INFO] [stderr]   |             |
[INFO] [stderr]   |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `diff` is never read
[INFO] [stderr]   --> src/solutions/simple/construct_rectangle.rs:15:25
[INFO] [stderr]    |
[INFO] [stderr] 15 |                         diff = j - i;
[INFO] [stderr]    |                         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/solutions/simple/construct_rectangle.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 |         let mut area_mut: f64 = area as f64;
[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/solutions/simple/construct_rectangle.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 |         let mut root: i32 = area_mut.sqrt().round() as 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/solutions/simple/construct_rectangle.rs:30:13
[INFO] [stderr]    |
[INFO] [stderr] 30 |         let mut area_mut: f64 = area as f64;
[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/solutions/simple/delete_duplicates.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |         mut head: Option<Box<ListNode>>,
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `temp` is never read
[INFO] [stderr]   --> src/solutions/simple/find_repeat_number.rs:16:17
[INFO] [stderr]    |
[INFO] [stderr] 16 |         let mut temp = -1_i32;
[INFO] [stderr]    |                 ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]   --> src/solutions/simple/first_uniq_char.rs:13:14
[INFO] [stderr]    |
[INFO] [stderr] 13 |         for (k, v) in map.iter() {
[INFO] [stderr]    |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/solutions/simple/is_palindrome.rs:9:21
[INFO] [stderr]   |
[INFO] [stderr] 9 |                 let mut s = x.to_string();
[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/solutions/simple/longest_common_prefix.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 |         let mut strs: Vec<&[u8]> = strs.iter().map(|s| s.as_bytes()).collect();
[INFO] [stderr]   |             ----^^^^
[INFO] [stderr]   |             |
[INFO] [stderr]   |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `i` is never read
[INFO] [stderr]  --> src/solutions/simple/my_sqrt.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 |         let mut i: i64 = 0;
[INFO] [stderr]   |                 ^
[INFO] [stderr]   |
[INFO] [stderr]   = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/solutions/simple/self_dividing_numbers.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 |         for mut num in left..=right {
[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/solutions/simple/to_goat_latin.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 |         let mut s = s;
[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/solutions/simple/to_goat_latin.rs:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 |         let mut vs: Vec<&str> = s.split(' ').collect();
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/solutions/simple/to_goat_latin.rs:21:17
[INFO] [stderr]    |
[INFO] [stderr] 21 |             for i in 0..n + 1 {
[INFO] [stderr]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/solutions/simple/unique_occurrences.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 |         let mut arr = arr;
[INFO] [stderr]   |             ----^^^
[INFO] [stderr]   |             |
[INFO] [stderr]   |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/hard/longest_valid_parentheses.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `longest_valid_parentheses` is never used
[INFO] [stderr]  --> src/solutions/hard/longest_valid_parentheses.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn longest_valid_parentheses(s: String) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/hard/maximum_gap.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `maximum_gap` is never used
[INFO] [stderr]  --> src/solutions/hard/maximum_gap.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn maximum_gap(nums: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/hard/num_dup_digits_at_most_n.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `num_dup_digits_at_most_n` is never used
[INFO] [stderr]  --> src/solutions/hard/num_dup_digits_at_most_n.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn num_dup_digits_at_most_n(n: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_VALUE_N` is never used
[INFO] [stderr]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:101:7
[INFO] [stderr]     |
[INFO] [stderr] 101 | const MAX_VALUE_N: i32 = 9;
[INFO] [stderr]     |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_sized_of` is never used
[INFO] [stderr]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:104:4
[INFO] [stderr]     |
[INFO] [stderr] 104 | fn is_sized_of(mut i: i32) -> i32 {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `n_size_num_dup_at_most` is never used
[INFO] [stderr]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:113:4
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn n_size_num_dup_at_most(n: i32, i: i32) -> i32 {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `from_n_sized_num_starter_to_num_dup_at_most_adverse` is never used
[INFO] [stderr]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:146:4
[INFO] [stderr]     |
[INFO] [stderr] 146 | fn from_n_sized_num_starter_to_num_dup_at_most_adverse(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]    --> src/solutions/hard/num_dup_digits_at_most_n.rs:182:8
[INFO] [stderr]     |
[INFO] [stderr] 182 | pub fn test() {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/add_two_numbers.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ListNode` is never constructed
[INFO] [stderr]  --> src/solutions/middle/add_two_numbers.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct ListNode {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/solutions/middle/add_two_numbers.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl ListNode {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 10 |     #[inline]
[INFO] [stderr] 11 |     fn new(val: i32) -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `add_two_numbers` is never used
[INFO] [stderr]   --> src/solutions/middle/add_two_numbers.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 17 |     pub fn add_two_numbers(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/combination_sum.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `combination_sum` is never used
[INFO] [stderr]  --> src/solutions/middle/combination_sum.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/combination_sum2.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `combination_sum2` is never used
[INFO] [stderr]  --> src/solutions/middle/combination_sum2.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn combination_sum2(
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/convert.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `convert` is never used
[INFO] [stderr]  --> src/solutions/middle/convert.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn convert(s: String, num_rows: i32) -> String {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/find_diagonal_order.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `find_diagonal_order` is never used
[INFO] [stderr]  --> src/solutions/middle/find_diagonal_order.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn find_diagonal_order(matrix: Vec<Vec<i32>>) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/frequency_sort.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `frequency_sort` is never used
[INFO] [stderr]  --> src/solutions/middle/frequency_sort.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn frequency_sort(s: String) -> String {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/generate_parenthesis.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `generate_parenthesis` is never used
[INFO] [stderr]  --> src/solutions/middle/generate_parenthesis.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn generate_parenthesis(n: i32) -> Vec<String> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/int_to_roman.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `int_to_roman` is never used
[INFO] [stderr]  --> src/solutions/middle/int_to_roman.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn int_to_roman(num: i32) -> String {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/integer_break.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `integer_break` is never used
[INFO] [stderr]  --> src/solutions/middle/integer_break.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn integer_break(n: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/length_of_longest_substring.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `length_of_longest_substring` is never used
[INFO] [stderr]  --> src/solutions/middle/length_of_longest_substring.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/middle/length_of_longest_substring.rs:50:4
[INFO] [stderr]    |
[INFO] [stderr] 50 | fn test() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/letter_combinations.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `letter_combinations` is never used
[INFO] [stderr]  --> src/solutions/middle/letter_combinations.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn letter_combinations(digits: String) -> Vec<String> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/max_area.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `max_area` and `max_area_slow` are never used
[INFO] [stderr]   --> src/solutions/middle/max_area.rs:4:12
[INFO] [stderr]    |
[INFO] [stderr]  3 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  4 |     pub fn max_area(height: Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     pub fn max_area_slow(height: Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/max_area_of_island.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_area_of_island` is never used
[INFO] [stderr]  --> src/solutions/middle/max_area_of_island.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn max_area_of_island(mut grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/middle/max_area_of_island.rs:39:8
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub fn test() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/max_product.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_product` is never used
[INFO] [stderr]  --> src/solutions/middle/max_product.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn max_product(words: Vec<String>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/max_width_ramp.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_width_ramp` is never used
[INFO] [stderr]  --> src/solutions/middle/max_width_ramp.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn max_width_ramp(a: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/my_atoi.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `my_atoi` is never used
[INFO] [stderr]  --> src/solutions/middle/my_atoi.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn my_atoi(str: String) -> i32 {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/permute.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `permute` is never used
[INFO] [stderr]  --> src/solutions/middle/permute.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn permute(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/range_bitwise_and.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `range_bitwise_and` is never used
[INFO] [stderr]  --> src/solutions/middle/range_bitwise_and.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn range_bitwise_and(mut m: i32, mut n: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/sort_colors.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `sort_colors` is never used
[INFO] [stderr]  --> src/solutions/middle/sort_colors.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/middle/sort_colors.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn test() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/subsets.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `subsets` is never used
[INFO] [stderr]   --> src/solutions/middle/subsets.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 28 |     pub fn subsets(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/middle/subsets.rs:47:8
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub fn test() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/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/solutions/middle/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(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution1` is never constructed
[INFO] [stderr]   --> src/solutions/middle/three_sum.rs:60:8
[INFO] [stderr]    |
[INFO] [stderr] 60 | struct Solution1;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `three_sum` is never used
[INFO] [stderr]   --> src/solutions/middle/three_sum.rs:62:12
[INFO] [stderr]    |
[INFO] [stderr] 61 | impl Solution1 {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 62 |     pub fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]    --> src/solutions/middle/three_sum.rs:106:8
[INFO] [stderr]     |
[INFO] [stderr] 106 | pub fn test() {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/middle/top_k_frequent.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `top_k_frequent` is never used
[INFO] [stderr]  --> src/solutions/middle/top_k_frequent.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn top_k_frequent(nums: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyQueue` is never constructed
[INFO] [stderr]  --> src/solutions/simple/MyQueue.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/solutions/simple/MyQueue.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl MyQueue {
[INFO] [stderr]    | ------------ associated items in this implementation
[INFO] [stderr] 11 |     /** Initialize your data structure here. */
[INFO] [stderr] 12 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 19 |     fn push(&mut self, x: i32) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     fn pop(&mut self) -> i32 {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     fn peek(&mut self) -> i32 {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |     fn empty(&self) -> bool {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyStack` is never constructed
[INFO] [stderr]  --> src/solutions/simple/MyStack.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct MyStack {
[INFO] [stderr]   |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `push`, `pop`, `top`, and `empty` are never used
[INFO] [stderr]   --> src/solutions/simple/MyStack.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl MyStack {
[INFO] [stderr]    | ------------ associated items in this implementation
[INFO] [stderr] 10 |     /** Initialize your data structure here. */
[INFO] [stderr] 11 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     fn push(&mut self, x: i32) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     fn pop(&mut self) -> i32 {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 28 |     fn top(&mut self) -> i32 {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     fn empty(&self) -> bool {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/add_binary.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `add_binary` is never used
[INFO] [stderr]  --> src/solutions/simple/add_binary.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn add_binary(a: String, b: String) -> String {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/add_digits.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `add_digits` is never used
[INFO] [stderr]  --> src/solutions/simple/add_digits.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn add_digits(num: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/add_strings.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `add_strings` is never used
[INFO] [stderr]  --> src/solutions/simple/add_strings.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn add_strings(num1: String, num2: String) -> String {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/add_to_array_form.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `add_to_array_form` is never used
[INFO] [stderr]  --> src/solutions/simple/add_to_array_form.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn add_to_array_form(mut a: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/backspace_compare.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `backspace_compare` is never used
[INFO] [stderr]  --> src/solutions/simple/backspace_compare.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 3 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/can_win_nim.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `can_win_nim` is never used
[INFO] [stderr]  --> src/solutions/simple/can_win_nim.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn can_win_nim(n: i32) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/construct_rectangle.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `construct_rectangle` and `construct_rectangle_v2` are never used
[INFO] [stderr]   --> src/solutions/simple/construct_rectangle.rs:4:12
[INFO] [stderr]    |
[INFO] [stderr]  3 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  4 |     pub fn construct_rectangle(area: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn construct_rectangle_v2(area: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/simple/construct_rectangle.rs:39:8
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub fn test() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/contains_duplicate.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `contains_duplicate` is never used
[INFO] [stderr]  --> src/solutions/simple/contains_duplicate.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn contains_duplicate(nums: Vec<i32>) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/contains_nearby_duplicate.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `contains_nearby_duplicate` is never used
[INFO] [stderr]  --> src/solutions/simple/contains_nearby_duplicate.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 3 |     pub fn contains_nearby_duplicate(nums: Vec<i32>, k: i32) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ListNode` is never constructed
[INFO] [stderr]  --> src/solutions/simple/delete_duplicates.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct ListNode {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/solutions/simple/delete_duplicates.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl ListNode {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr]  9 |     #[inline]
[INFO] [stderr] 10 |     fn new(val: i32) -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]   --> src/solutions/simple/delete_duplicates.rs:14:8
[INFO] [stderr]    |
[INFO] [stderr] 14 | struct Solution;
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `delete_duplicates` is never used
[INFO] [stderr]   --> src/solutions/simple/delete_duplicates.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 16 |     pub fn delete_duplicates(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/exchange.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `exchange` is never used
[INFO] [stderr]  --> src/solutions/simple/exchange.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 3 |     pub fn exchange(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/find_content_children.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `find_content_children` is never used
[INFO] [stderr]  --> src/solutions/simple/find_content_children.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn find_content_children(mut g: Vec<i32>, mut s: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/find_max_consecutive_ones.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `find_max_consecutive_ones` is never used
[INFO] [stderr]  --> src/solutions/simple/find_max_consecutive_ones.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn find_max_consecutive_ones(nums: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/first_uniq_char.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `first_uniq_char` is never used
[INFO] [stderr]  --> src/solutions/simple/first_uniq_char.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn first_uniq_char(s: String) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/generate.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `generate` and `sub_generate` are never used
[INFO] [stderr]  --> src/solutions/simple/generate.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | impl Solution {
[INFO] [stderr]   | ------------- associated functions in this implementation
[INFO] [stderr] 3 |     pub fn generate(num_rows: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 9 |     fn sub_generate(num_rows: i32, sub_res: &mut Vec<Vec<i32>>) {
[INFO] [stderr]   |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/get_hint.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get_hint` is never used
[INFO] [stderr]  --> src/solutions/simple/get_hint.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn get_hint(secret: String, guess: String) -> String {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/hamming_distance.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `hamming_distance` is never used
[INFO] [stderr]  --> src/solutions/simple/hamming_distance.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn hamming_distance(x: i32, y: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/is_anagram.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_anagram` is never used
[INFO] [stderr]  --> src/solutions/simple/is_anagram.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/is_palindrome.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_palindrome` is never used
[INFO] [stderr]  --> src/solutions/simple/is_palindrome.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn is_palindrome(x: i32) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/simple/is_palindrome.rs:23:8
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub fn test() {}
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/is_perfect_square.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_perfect_square` is never used
[INFO] [stderr]  --> src/solutions/simple/is_perfect_square.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn is_perfect_square(num: i32) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/is_power_of_four.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_power_of_four` is never used
[INFO] [stderr]  --> src/solutions/simple/is_power_of_four.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn is_power_of_four(num: i32) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/simple/is_power_of_four.rs:23:8
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub fn test() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/is_power_of_three.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_power_of_three` is never used
[INFO] [stderr]  --> src/solutions/simple/is_power_of_three.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn is_power_of_three(n: i32) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/is_power_of_two.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_power_of_two` is never used
[INFO] [stderr]  --> src/solutions/simple/is_power_of_two.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn is_power_of_two(n: i32) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/is_valid.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `is_valid` is never used
[INFO] [stderr]  --> src/solutions/simple/is_valid.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 3 |     pub fn is_valid(s: String) -> bool {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/island_perimeter.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `island_perimeter` is never used
[INFO] [stderr]  --> src/solutions/simple/island_perimeter.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn island_perimeter(grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/last_stone_weight.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `last_stone_weight` is never used
[INFO] [stderr]  --> src/solutions/simple/last_stone_weight.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn last_stone_weight(stones: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/lemonade_change.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `lemonade_change` is never used
[INFO] [stderr]  --> src/solutions/simple/lemonade_change.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn lemonade_change(bills: Vec<i32>) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/length_of_last_word.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `length_of_last_word` is never used
[INFO] [stderr]  --> src/solutions/simple/length_of_last_word.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn length_of_last_word(s: String) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/longest_common_prefix.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `longest_common_prefix` is never used
[INFO] [stderr]  --> src/solutions/simple/longest_common_prefix.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn longest_common_prefix(strs: Vec<String>) -> String {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/majority_element.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `majority_element` and `majority_element_v1` are never used
[INFO] [stderr]   --> src/solutions/simple/majority_element.rs:4:12
[INFO] [stderr]    |
[INFO] [stderr]  3 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  4 |     pub fn majority_element(nums: Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn majority_element_v1(nums: Vec<i32>) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/max_profit.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_profit` is never used
[INFO] [stderr]  --> src/solutions/simple/max_profit.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/max_sub_array.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `max_sub_array` is never used
[INFO] [stderr]  --> src/solutions/simple/max_sub_array.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn max_sub_array(nums: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/min_moves.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `min_moves` is never used
[INFO] [stderr]  --> src/solutions/simple/min_moves.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn min_moves(nums: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/my_sqrt.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `my_sqrt_v1` and `my_sqrt` are never used
[INFO] [stderr]   --> src/solutions/simple/my_sqrt.rs:3:12
[INFO] [stderr]    |
[INFO] [stderr]  2 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  3 |     pub fn my_sqrt_v1(x: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     pub fn my_sqrt(x: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/simple/my_sqrt.rs:47:8
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub fn test() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/plus_one.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `plus_one` is never used
[INFO] [stderr]  --> src/solutions/simple/plus_one.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn plus_one(digits: Vec<i32>) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/remove_duplicates.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `remove_duplicates` is never used
[INFO] [stderr]  --> src/solutions/simple/remove_duplicates.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/remove_element.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `remove_element` is never used
[INFO] [stderr]  --> src/solutions/simple/remove_element.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/repeated_n_times.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `repeated_n_times` is never used
[INFO] [stderr]  --> src/solutions/simple/repeated_n_times.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn repeated_n_times(a: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/reverse.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `reverse` is never used
[INFO] [stderr]  --> src/solutions/simple/reverse.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn reverse(x: i32) -> i32 {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/reverse_string.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `reverse_string` is never used
[INFO] [stderr]  --> src/solutions/simple/reverse_string.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn reverse_string(s: &mut Vec<char>) {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/roman_to_int.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `roman_to_int` is never used
[INFO] [stderr]  --> src/solutions/simple/roman_to_int.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn roman_to_int(s: String) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/self_dividing_numbers.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `self_dividing_numbers` is never used
[INFO] [stderr]  --> src/solutions/simple/self_dividing_numbers.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn self_dividing_numbers(left: i32, right: i32) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/simple/self_dividing_numbers.rs:30:8
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub fn test() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/single_number.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `single_number` is never used
[INFO] [stderr]  --> src/solutions/simple/single_number.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn single_number(nums: Vec<i32>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/sorted_squares.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `sorted_squares` is never used
[INFO] [stderr]  --> src/solutions/simple/sorted_squares.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn sorted_squares(a: Vec<i32>) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/simple/sorted_squares.rs:14:8
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub fn test() {}
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/str_str.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `str_str` is never used
[INFO] [stderr]  --> src/solutions/simple/str_str.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn str_str(haystack: String, needle: String) -> i32 {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/to_goat_latin.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `to_goat_latin` is never used
[INFO] [stderr]  --> src/solutions/simple/to_goat_latin.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn to_goat_latin(s: String) -> String {
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/two_city_sched_cost.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `two_city_sched_cost` is never used
[INFO] [stderr]  --> src/solutions/simple/two_city_sched_cost.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn two_city_sched_cost(costs: Vec<Vec<i32>>) -> i32 {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/two_sum.rs:1:12
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub struct Solution;
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `two_sum` is never used
[INFO] [stderr]  --> src/solutions/simple/two_sum.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test` is never used
[INFO] [stderr]   --> src/solutions/simple/two_sum.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub fn test() {}
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/solutions/simple/unique_occurrences.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `unique_occurrences` is never used
[INFO] [stderr]  --> src/solutions/simple/unique_occurrences.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl Solution {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 4 |     pub fn unique_occurrences(arr: Vec<i32>) -> bool {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `M` should have a snake case name
[INFO] [stderr]  --> src/solutions/middle/find_diagonal_order.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 8 |         let (M, N) = (matrix.len() - 1, matrix.get(0).unwrap().len() - 1);
[INFO] [stderr]   |              ^ help: convert the identifier to snake case: `m`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `N` should have a snake case name
[INFO] [stderr]  --> src/solutions/middle/find_diagonal_order.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 |         let (M, N) = (matrix.len() - 1, matrix.get(0).unwrap().len() - 1);
[INFO] [stderr]   |                 ^ help: convert the identifier to snake case: `n`
[INFO] [stderr] 
[INFO] [stderr] warning: module `MyQueue` should have a snake case name
[INFO] [stderr]  --> src/solutions/simple/mod.rs:1:9
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub mod MyQueue;
[INFO] [stderr]   |         ^^^^^^^ help: convert the identifier to snake case: `my_queue`
[INFO] [stderr] 
[INFO] [stderr] warning: module `MyStack` should have a snake case name
[INFO] [stderr]  --> src/solutions/simple/mod.rs:2:9
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub mod MyStack;
[INFO] [stderr]   |         ^^^^^^^ help: convert the identifier to snake case: `my_stack`
[INFO] [stderr] 
[INFO] [stderr] warning: `leetcode` (bin "leetcode" test) generated 223 warnings (run `cargo fix --bin "leetcode" --tests` to apply 23 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/leetcode-c55f08e37cfdfbce)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test solutions::middle::letter_case_permutation::test_it ... ok
[INFO] [stdout] test solutions::simple::repeated_n_times::test_it ... ok
[INFO] [stdout] test solutions::simple::find_repeat_number::test_it ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bcc1a0febff80c4aaf77c9c0b0ab2f8f61918ca1778b4fb49b218f75165439a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcc1a0febff80c4aaf77c9c0b0ab2f8f61918ca1778b4fb49b218f75165439a8", kill_on_drop: false }`
[INFO] [stdout] bcc1a0febff80c4aaf77c9c0b0ab2f8f61918ca1778b4fb49b218f75165439a8
