[INFO] cloning repository https://github.com/VeyronSakai/my_leetcode_submits [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VeyronSakai/my_leetcode_submits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeyronSakai%2Fmy_leetcode_submits", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeyronSakai%2Fmy_leetcode_submits'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39a4c20a7ce38eaf67cc6c7c4122c29566ac1955 [INFO] testing VeyronSakai/my_leetcode_submits against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeyronSakai%2Fmy_leetcode_submits" "/workspace/builds/worker-38/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-38/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VeyronSakai/my_leetcode_submits on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VeyronSakai/my_leetcode_submits [INFO] finished tweaking git repo https://github.com/VeyronSakai/my_leetcode_submits [INFO] tweaked toml for git repo https://github.com/VeyronSakai/my_leetcode_submits written to /workspace/builds/worker-38/source/Cargo.toml [INFO] crate git repo https://github.com/VeyronSakai/my_leetcode_submits already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b72dd1cdefd97a5339485056c5a19ce2e0c3dc1d3ab45e8f3aab5a2909b2dc7 [INFO] running `Command { std: "docker" "start" "-a" "9b72dd1cdefd97a5339485056c5a19ce2e0c3dc1d3ab45e8f3aab5a2909b2dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b72dd1cdefd97a5339485056c5a19ce2e0c3dc1d3ab45e8f3aab5a2909b2dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b72dd1cdefd97a5339485056c5a19ce2e0c3dc1d3ab45e8f3aab5a2909b2dc7", kill_on_drop: false }` [INFO] [stdout] 9b72dd1cdefd97a5339485056c5a19ce2e0c3dc1d3ab45e8f3aab5a2909b2dc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9714038c17eb00989f8f936265cee36a901acb4dde8aa53db1d755d6a04cc90 [INFO] running `Command { std: "docker" "start" "-a" "f9714038c17eb00989f8f936265cee36a901acb4dde8aa53db1d755d6a04cc90", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling my_leetcode_submits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/problem15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/problem104.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/problem168.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let char_num = (t + ('A' as u8)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - let char_num = (t + ('A' as u8)); [INFO] [stdout] 11 + let char_num = t + ('A' as u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/problem169.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/problem219.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap(); [INFO] [stdout] 22 + let c = mp.get_mut(&nums[max(0, i as i32 - k - 1) as usize]).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/problem246.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/problem387.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/problem1592.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1))) [INFO] [stdout] 10 + (total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/problem1636.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cur` is never read [INFO] [stdout] --> src/problem206.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut cur: Option> = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/problem567.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let mut left = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/problem567.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut right = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/problem876.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | for i in 0..c { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/problem1022.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | (Some(l), Some(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/problem1022.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | (Some(l), Some(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problem205.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut s_chars = 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: variable does not need to be mutable [INFO] [stdout] --> src/problem205.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut t_chars = t.chars().collect::>(); [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/problem206.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let mut node = ListNode { [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/problem219.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut count = mp.entry(nums[i]).or_insert(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/problem219.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut count = mp.entry(nums[i]).or_insert(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/problem246.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let mut rotated_char_1 = match Solution::rotate_single_num(&tmp[i]) { [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/problem246.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut rotated_char_2 = match Solution::rotate_single_num(&tmp[num.len() - i - 1]) { [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/problem283.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | for mut i in 0..nums.len() - 1 { [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/problem383.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let mut count = magazine_map.entry(char).or_insert(0); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `magazine_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/problem383.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(num) = magazine_map.get(&char) { [INFO] [stdout] | ----------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 20 | magazine_map.insert(char, *num - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problem567.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut left = 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/problem567.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut right = 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/problem637.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cur_level = 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/problem637.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut vec = map.entry(cur_level).or_insert(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/problem914.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut deck = deck; [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/problem914.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut count = mp.entry(*val).or_insert(0); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `mp` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/problem1122.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | let tmp = mp.get(&val).unwrap_or(&0); [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 19 | mp.insert(val, tmp + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/problem1207.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | let count = map.get(&num).unwrap_or(&(0 as usize)); [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] 11 | map.insert(num, count + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Data` [INFO] [stdout] --> src/problem1_two_sum.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1_two_sum.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_sum` [INFO] [stdout] --> src/problem1_two_sum.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/problem1_two_sum.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn add(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_inverse_tuple` [INFO] [stdout] --> src/problem1_two_sum.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_inverse_tuple(x: i32, y: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem15.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem21.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem66.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus_one` [INFO] [stdout] --> src/problem66.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plus_one(digits: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem69.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `my_sqrt` [INFO] [stdout] --> src/problem69.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn my_sqrt(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem70.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `climb_stairs` [INFO] [stdout] --> src/problem70.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn climb_stairs(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem94.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem94.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorder_traversal` [INFO] [stdout] --> src/problem94.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn inorder_traversal(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorder_traversal_internal` [INFO] [stdout] --> src/problem94.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn inorder_traversal_internal(root: &Option>>, list: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem104.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem104.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_depth` [INFO] [stdout] --> src/problem104.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn max_depth(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/problem104.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn helper(root: &Option>>) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem118.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate` [INFO] [stdout] --> src/problem118.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate(num_rows: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_vec` [INFO] [stdout] --> src/problem118.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_vec(input: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem136.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_number` [INFO] [stdout] --> src/problem136.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_sum_slow` [INFO] [stdout] --> src/problem167.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn two_sum_slow(numbers: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem168.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_to_title` [INFO] [stdout] --> src/problem168.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn convert_to_title(column_number: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem169.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `majority_element` [INFO] [stdout] --> src/problem169.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem171.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `title_to_number` [INFO] [stdout] --> src/problem171.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn title_to_number(column_title: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_alphabet_num` [INFO] [stdout] --> src/problem171.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_alphabet_num(alphabet: char) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem191.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hammingWeight` [INFO] [stdout] --> src/problem191.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hammingWeight(n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem202.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_happy` [INFO] [stdout] --> src/problem202.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_happy(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tmp` [INFO] [stdout] --> src/problem202.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn tmp(set: &mut HashSet, num: i32) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem205.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_isomorphic` [INFO] [stdout] --> src/problem205.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_isomorphic(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem206.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem206.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_list` [INFO] [stdout] --> src/problem206.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reverse_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_head` [INFO] [stdout] --> src/problem206.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_head(list: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem217.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_duplicate` [INFO] [stdout] --> src/problem217.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem219.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_nearby_duplicate` [INFO] [stdout] --> src/problem219.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn contains_nearby_duplicate(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem226.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem226.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invert_tree` [INFO] [stdout] --> src/problem226.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn invert_tree(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invert_tree_internal` [INFO] [stdout] --> src/problem226.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn invert_tree_internal(root: &Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem228.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `summary_ranges` [INFO] [stdout] --> src/problem228.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn summary_ranges(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem231.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_power_of_two` [INFO] [stdout] --> src/problem231.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_power_of_two(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem242.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_anagram` [INFO] [stdout] --> src/problem242.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem246.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_strobogrammatic` [INFO] [stdout] --> src/problem246.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_strobogrammatic(num: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_single_num` [INFO] [stdout] --> src/problem246.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn rotate_single_num(num: &char) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem252.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_attend_meetings` [INFO] [stdout] --> src/problem252.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn can_attend_meetings(intervals: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem268.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `missing_number` [INFO] [stdout] --> src/problem268.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn missing_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem278.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem278.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(bad_version: i32) -> Solution { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_bad_version` [INFO] [stdout] --> src/problem278.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn first_bad_version(&self, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_bad_version` [INFO] [stdout] --> src/problem278.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_bad_version(&self, version: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem338.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_bits` [INFO] [stdout] --> src/problem338.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn count_bits(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem349.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersection` [INFO] [stdout] --> src/problem349.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn intersection(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Logger` [INFO] [stdout] --> src/problem359.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Logger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem359.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `should_print_message` [INFO] [stdout] --> src/problem359.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn should_print_message(&mut self, timestamp: i32, message: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem383.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_construct` [INFO] [stdout] --> src/problem383.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem387.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_uniq_char` [INFO] [stdout] --> src/problem387.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn first_uniq_char(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem389.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_the_difference` [INFO] [stdout] --> src/problem389.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_the_difference(s: String, t: String) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem408.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid_word_abbreviation` [INFO] [stdout] --> src/problem408.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn valid_word_abbreviation(word: String, abbr: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem415.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_strings` [INFO] [stdout] --> src/problem415.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add_strings(num1: String, num2: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem461.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hamming_distance` [INFO] [stdout] --> src/problem461.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hamming_distance(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem463.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `island_perimeter` [INFO] [stdout] --> src/problem463.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn island_perimeter(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem551.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_record` [INFO] [stdout] --> src/problem551.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn check_record(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem617.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem617.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_trees` [INFO] [stdout] --> src/problem617.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn merge_trees(root1: Option>>, root2: Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_trees_internal` [INFO] [stdout] --> src/problem617.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn merge_trees_internal(root1: &Option>>, root2: &Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem637.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem637.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `average_of_levels` [INFO] [stdout] --> src/problem637.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn average_of_levels(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/problem637.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn build(root: &Option>>, map: &mut HashMap>, cur_level: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem700.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem700.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_bst` [INFO] [stdout] --> src/problem700.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn search_bst(root: Option>>, val: i32) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem724.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pivot_index` [INFO] [stdout] --> src/problem724.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn pivot_index(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem733.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flood_fill` [INFO] [stdout] --> src/problem733.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn flood_fill(image: Vec>, sr: i32, sc: i32, new_color: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill` [INFO] [stdout] --> src/problem733.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn fill(image: &mut Vec>, sr: i32, sc: i32, orig_color: i32, new_color: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem766.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_toeplitz_matrix` [INFO] [stdout] --> src/problem766.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_toeplitz_matrix(matrix: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem832.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flip_and_invert_image` [INFO] [stdout] --> src/problem832.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn flip_and_invert_image(image: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem852.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peak_index_in_mountain_array` [INFO] [stdout] --> src/problem852.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn peak_index_in_mountain_array(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem876.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem897.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem897.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increasing_bst` [INFO] [stdout] --> src/problem897.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn increasing_bst(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_ans_node` [INFO] [stdout] --> src/problem897.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn build_ans_node(list: &mut Vec) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_list` [INFO] [stdout] --> src/problem897.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn build_list(root: &Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_list_internal` [INFO] [stdout] --> src/problem897.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn build_list_internal(root: &Option>>, list: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem905.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_array_by_parity` [INFO] [stdout] --> src/problem905.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn sort_array_by_parity(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem914.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_groups_size_x` [INFO] [stdout] --> src/problem914.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn has_groups_size_x(deck: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem925.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_long_pressed_name` [INFO] [stdout] --> src/problem925.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_long_pressed_name(name: String, typed: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem938.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem938.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range_sum_bst` [INFO] [stdout] --> src/problem938.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn range_sum_bst(root: Option>>, low: i32, high: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range_sum_bst_internal` [INFO] [stdout] --> src/problem938.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn range_sum_bst_internal(root: &Option>>, low: i32, high: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem965.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem965.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_unival_tree` [INFO] [stdout] --> src/problem965.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn is_unival_tree(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_inival_tree_internal` [INFO] [stdout] --> src/problem965.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_inival_tree_internal(root: &Option>>, root_num: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem1022.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1022.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_root_to_leaf` [INFO] [stdout] --> src/problem1022.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sum_root_to_leaf(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_binary` [INFO] [stdout] --> src/problem1022.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn calculate_binary(binary: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_binary_list` [INFO] [stdout] --> src/problem1022.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_binary_list(root: &Option>>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1047.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_duplicates` [INFO] [stdout] --> src/problem1047.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn remove_duplicates(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1108.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `defang_i_paddr` [INFO] [stdout] --> src/problem1108.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn defang_i_paddr(address: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1122.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `relative_sort_array` [INFO] [stdout] --> src/problem1122.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn relative_sort_array(arr1: Vec, arr2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1200.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minimum_abs_difference` [INFO] [stdout] --> src/problem1200.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn minimum_abs_difference(arr: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1207.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_occurrences` [INFO] [stdout] --> src/problem1207.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn unique_occurrences(arr: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1275.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tictactoe` [INFO] [stdout] --> src/problem1275.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn tictactoe(moves: Vec>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1331.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Input` [INFO] [stdout] --> src/problem1331.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem1331.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(value: i32, index: usize) -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `array_rank_transform` [INFO] [stdout] --> src/problem1331.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn array_rank_transform(arr: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1446.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_power` [INFO] [stdout] --> src/problem1446.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn max_power(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem1469.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1469.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_lonely_nodes` [INFO] [stdout] --> src/problem1469.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_lonely_nodes(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1480.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `running_sum` [INFO] [stdout] --> src/problem1480.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn running_sum(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1624.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_length_between_equal_characters` [INFO] [stdout] --> src/problem1624.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn max_length_between_equal_characters(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1636.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `frequency_sort` [INFO] [stdout] --> src/problem1636.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn frequency_sort(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1859.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_sentence` [INFO] [stdout] --> src/problem1859.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn sort_sentence(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem2089.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `target_indices` [INFO] [stdout] --> src/problem2089.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn target_indices(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/problem2103.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem2236.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem2236.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_tree` [INFO] [stdout] --> src/problem2236.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn check_tree(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hammingWeight` should have a snake case name [INFO] [stdout] --> src/problem191.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hammingWeight(n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `hamming_weight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/problem408.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let W: Vec = word.as_bytes().iter().map(|x| *x as char).collect(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/problem408.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let A: Vec = abbr.as_bytes().iter().map(|x| *x as char).collect(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/problem408.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let D: i32 = A[s..a].iter().collect::().parse::().unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 213 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.43s [INFO] running `Command { std: "docker" "inspect" "f9714038c17eb00989f8f936265cee36a901acb4dde8aa53db1d755d6a04cc90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9714038c17eb00989f8f936265cee36a901acb4dde8aa53db1d755d6a04cc90", kill_on_drop: false }` [INFO] [stdout] f9714038c17eb00989f8f936265cee36a901acb4dde8aa53db1d755d6a04cc90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4dcf11842f36d56cffa144a95fd62f53afe0196c2b2e78cf2bb8a3f084874b2 [INFO] running `Command { std: "docker" "start" "-a" "c4dcf11842f36d56cffa144a95fd62f53afe0196c2b2e78cf2bb8a3f084874b2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/problem15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling test-macro v0.1.9 [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/problem104.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/problem168.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let char_num = (t + ('A' as u8)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - let char_num = (t + ('A' as u8)); [INFO] [stdout] 11 + let char_num = t + ('A' as u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/problem169.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/problem219.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap(); [INFO] [stdout] 22 + let c = mp.get_mut(&nums[max(0, i as i32 - k - 1) as usize]).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/problem246.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/problem387.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/problem1592.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1))) [INFO] [stdout] 10 + (total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/problem1636.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cur` is never read [INFO] [stdout] --> src/problem206.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut cur: Option> = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/problem567.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let mut left = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/problem567.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut right = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/problem876.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | for i in 0..c { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/problem1022.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | (Some(l), Some(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/problem1022.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | (Some(l), Some(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problem205.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut s_chars = 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: variable does not need to be mutable [INFO] [stdout] --> src/problem205.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut t_chars = t.chars().collect::>(); [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/problem206.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let mut node = ListNode { [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/problem219.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut count = mp.entry(nums[i]).or_insert(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/problem219.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut count = mp.entry(nums[i]).or_insert(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/problem246.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let mut rotated_char_1 = match Solution::rotate_single_num(&tmp[i]) { [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/problem246.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut rotated_char_2 = match Solution::rotate_single_num(&tmp[num.len() - i - 1]) { [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/problem283.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | for mut i in 0..nums.len() - 1 { [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/problem383.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let mut count = magazine_map.entry(char).or_insert(0); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `magazine_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/problem383.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(num) = magazine_map.get(&char) { [INFO] [stdout] | ----------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 20 | magazine_map.insert(char, *num - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problem567.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut left = 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/problem567.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut right = 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/problem637.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cur_level = 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/problem637.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut vec = map.entry(cur_level).or_insert(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/problem914.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut deck = deck; [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/problem914.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut count = mp.entry(*val).or_insert(0); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `mp` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/problem1122.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | let tmp = mp.get(&val).unwrap_or(&0); [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 19 | mp.insert(val, tmp + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/problem1207.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | let count = map.get(&num).unwrap_or(&(0 as usize)); [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] 11 | map.insert(num, count + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Data` [INFO] [stdout] --> src/problem1_two_sum.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1_two_sum.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_sum` [INFO] [stdout] --> src/problem1_two_sum.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/problem1_two_sum.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn add(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_inverse_tuple` [INFO] [stdout] --> src/problem1_two_sum.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_inverse_tuple(x: i32, y: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem15.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem21.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem66.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus_one` [INFO] [stdout] --> src/problem66.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plus_one(digits: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem69.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `my_sqrt` [INFO] [stdout] --> src/problem69.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn my_sqrt(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem70.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `climb_stairs` [INFO] [stdout] --> src/problem70.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn climb_stairs(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem94.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem94.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorder_traversal` [INFO] [stdout] --> src/problem94.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn inorder_traversal(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorder_traversal_internal` [INFO] [stdout] --> src/problem94.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn inorder_traversal_internal(root: &Option>>, list: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem104.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem104.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_depth` [INFO] [stdout] --> src/problem104.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn max_depth(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/problem104.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn helper(root: &Option>>) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem118.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate` [INFO] [stdout] --> src/problem118.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate(num_rows: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_vec` [INFO] [stdout] --> src/problem118.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_vec(input: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem136.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_number` [INFO] [stdout] --> src/problem136.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_sum_slow` [INFO] [stdout] --> src/problem167.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn two_sum_slow(numbers: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem168.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_to_title` [INFO] [stdout] --> src/problem168.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn convert_to_title(column_number: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem169.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `majority_element` [INFO] [stdout] --> src/problem169.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem171.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `title_to_number` [INFO] [stdout] --> src/problem171.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn title_to_number(column_title: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_alphabet_num` [INFO] [stdout] --> src/problem171.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_alphabet_num(alphabet: char) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem191.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hammingWeight` [INFO] [stdout] --> src/problem191.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hammingWeight(n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem202.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_happy` [INFO] [stdout] --> src/problem202.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_happy(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tmp` [INFO] [stdout] --> src/problem202.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn tmp(set: &mut HashSet, num: i32) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem205.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_isomorphic` [INFO] [stdout] --> src/problem205.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_isomorphic(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem206.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem206.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_list` [INFO] [stdout] --> src/problem206.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reverse_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_head` [INFO] [stdout] --> src/problem206.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_head(list: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem217.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_duplicate` [INFO] [stdout] --> src/problem217.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem219.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_nearby_duplicate` [INFO] [stdout] --> src/problem219.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn contains_nearby_duplicate(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem226.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem226.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invert_tree` [INFO] [stdout] --> src/problem226.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn invert_tree(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invert_tree_internal` [INFO] [stdout] --> src/problem226.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn invert_tree_internal(root: &Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem228.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `summary_ranges` [INFO] [stdout] --> src/problem228.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn summary_ranges(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem231.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_power_of_two` [INFO] [stdout] --> src/problem231.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_power_of_two(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem242.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_anagram` [INFO] [stdout] --> src/problem242.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem246.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_strobogrammatic` [INFO] [stdout] --> src/problem246.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_strobogrammatic(num: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_single_num` [INFO] [stdout] --> src/problem246.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn rotate_single_num(num: &char) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem252.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_attend_meetings` [INFO] [stdout] --> src/problem252.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn can_attend_meetings(intervals: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem268.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `missing_number` [INFO] [stdout] --> src/problem268.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn missing_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem278.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem278.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(bad_version: i32) -> Solution { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_bad_version` [INFO] [stdout] --> src/problem278.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn first_bad_version(&self, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_bad_version` [INFO] [stdout] --> src/problem278.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_bad_version(&self, version: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem338.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_bits` [INFO] [stdout] --> src/problem338.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn count_bits(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem349.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersection` [INFO] [stdout] --> src/problem349.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn intersection(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Logger` [INFO] [stdout] --> src/problem359.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Logger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem359.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `should_print_message` [INFO] [stdout] --> src/problem359.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn should_print_message(&mut self, timestamp: i32, message: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem383.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_construct` [INFO] [stdout] --> src/problem383.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem387.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_uniq_char` [INFO] [stdout] --> src/problem387.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn first_uniq_char(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem389.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_the_difference` [INFO] [stdout] --> src/problem389.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_the_difference(s: String, t: String) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem408.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid_word_abbreviation` [INFO] [stdout] --> src/problem408.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn valid_word_abbreviation(word: String, abbr: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem415.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_strings` [INFO] [stdout] --> src/problem415.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add_strings(num1: String, num2: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem461.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hamming_distance` [INFO] [stdout] --> src/problem461.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hamming_distance(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem463.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `island_perimeter` [INFO] [stdout] --> src/problem463.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn island_perimeter(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem551.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_record` [INFO] [stdout] --> src/problem551.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn check_record(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem617.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem617.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_trees` [INFO] [stdout] --> src/problem617.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn merge_trees(root1: Option>>, root2: Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_trees_internal` [INFO] [stdout] --> src/problem617.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn merge_trees_internal(root1: &Option>>, root2: &Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem637.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem637.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `average_of_levels` [INFO] [stdout] --> src/problem637.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn average_of_levels(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/problem637.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn build(root: &Option>>, map: &mut HashMap>, cur_level: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem700.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem700.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_bst` [INFO] [stdout] --> src/problem700.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn search_bst(root: Option>>, val: i32) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem724.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pivot_index` [INFO] [stdout] --> src/problem724.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn pivot_index(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem733.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flood_fill` [INFO] [stdout] --> src/problem733.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn flood_fill(image: Vec>, sr: i32, sc: i32, new_color: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill` [INFO] [stdout] --> src/problem733.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn fill(image: &mut Vec>, sr: i32, sc: i32, orig_color: i32, new_color: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem766.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_toeplitz_matrix` [INFO] [stdout] --> src/problem766.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_toeplitz_matrix(matrix: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem832.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flip_and_invert_image` [INFO] [stdout] --> src/problem832.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn flip_and_invert_image(image: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem852.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peak_index_in_mountain_array` [INFO] [stdout] --> src/problem852.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn peak_index_in_mountain_array(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem876.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem897.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem897.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increasing_bst` [INFO] [stdout] --> src/problem897.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn increasing_bst(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_ans_node` [INFO] [stdout] --> src/problem897.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn build_ans_node(list: &mut Vec) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_list` [INFO] [stdout] --> src/problem897.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn build_list(root: &Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_list_internal` [INFO] [stdout] --> src/problem897.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn build_list_internal(root: &Option>>, list: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem905.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_array_by_parity` [INFO] [stdout] --> src/problem905.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn sort_array_by_parity(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem914.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_groups_size_x` [INFO] [stdout] --> src/problem914.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn has_groups_size_x(deck: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem925.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_long_pressed_name` [INFO] [stdout] --> src/problem925.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_long_pressed_name(name: String, typed: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem938.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem938.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range_sum_bst` [INFO] [stdout] --> src/problem938.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn range_sum_bst(root: Option>>, low: i32, high: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range_sum_bst_internal` [INFO] [stdout] --> src/problem938.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn range_sum_bst_internal(root: &Option>>, low: i32, high: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem965.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem965.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_unival_tree` [INFO] [stdout] --> src/problem965.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn is_unival_tree(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_inival_tree_internal` [INFO] [stdout] --> src/problem965.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_inival_tree_internal(root: &Option>>, root_num: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem1022.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1022.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_root_to_leaf` [INFO] [stdout] --> src/problem1022.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sum_root_to_leaf(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_binary` [INFO] [stdout] --> src/problem1022.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn calculate_binary(binary: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_binary_list` [INFO] [stdout] --> src/problem1022.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_binary_list(root: &Option>>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1047.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_duplicates` [INFO] [stdout] --> src/problem1047.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn remove_duplicates(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1108.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `defang_i_paddr` [INFO] [stdout] --> src/problem1108.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn defang_i_paddr(address: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1122.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `relative_sort_array` [INFO] [stdout] --> src/problem1122.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn relative_sort_array(arr1: Vec, arr2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1200.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minimum_abs_difference` [INFO] [stdout] --> src/problem1200.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn minimum_abs_difference(arr: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1207.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_occurrences` [INFO] [stdout] --> src/problem1207.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn unique_occurrences(arr: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1275.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tictactoe` [INFO] [stdout] --> src/problem1275.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn tictactoe(moves: Vec>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1331.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Input` [INFO] [stdout] --> src/problem1331.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem1331.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(value: i32, index: usize) -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `array_rank_transform` [INFO] [stdout] --> src/problem1331.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn array_rank_transform(arr: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1446.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_power` [INFO] [stdout] --> src/problem1446.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn max_power(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem1469.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1469.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_lonely_nodes` [INFO] [stdout] --> src/problem1469.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_lonely_nodes(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1480.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `running_sum` [INFO] [stdout] --> src/problem1480.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn running_sum(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1624.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_length_between_equal_characters` [INFO] [stdout] --> src/problem1624.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn max_length_between_equal_characters(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1636.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `frequency_sort` [INFO] [stdout] --> src/problem1636.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn frequency_sort(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1859.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_sentence` [INFO] [stdout] --> src/problem1859.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn sort_sentence(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem2089.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `target_indices` [INFO] [stdout] --> src/problem2089.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn target_indices(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/problem2103.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem2236.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem2236.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_tree` [INFO] [stdout] --> src/problem2236.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn check_tree(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hammingWeight` should have a snake case name [INFO] [stdout] --> src/problem191.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hammingWeight(n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `hamming_weight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/problem408.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let W: Vec = word.as_bytes().iter().map(|x| *x as char).collect(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/problem408.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let A: Vec = abbr.as_bytes().iter().map(|x| *x as char).collect(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/problem408.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let D: i32 = A[s..a].iter().collect::().parse::().unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 213 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling test-case v2.0.0-rc2 [INFO] [stderr] Compiling my_leetcode_submits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/problem15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem21.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem26.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem27.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem28.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem35.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/problem104.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/problem168.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let char_num = (t + ('A' as u8)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - let char_num = (t + ('A' as u8)); [INFO] [stdout] 11 + let char_num = t + ('A' as u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/problem169.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem189.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem191.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/problem219.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap(); [INFO] [stdout] 22 + let c = mp.get_mut(&nums[max(0, i as i32 - k - 1) as usize]).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/problem246.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem283.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem359.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/problem387.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_macro::*` [INFO] [stdout] --> src/problem876.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use test_macro::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/problem1592.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1))) [INFO] [stdout] 10 + (total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/problem1636.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cur` is never read [INFO] [stdout] --> src/problem206.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut cur: Option> = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/problem567.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let mut left = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/problem567.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut right = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/problem876.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | for i in 0..c { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/problem1022.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | (Some(l), Some(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/problem1022.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | (Some(l), Some(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cur` is never read [INFO] [stdout] --> src/problem15.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let mut cur: Option> = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cur` is never read [INFO] [stdout] --> src/problem876.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut cur: Option> = None; [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/problem15.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let mut node = ListNode { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problem205.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut s_chars = s.chars().collect::>(); [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/problem205.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut t_chars = t.chars().collect::>(); [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/problem206.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let mut node = ListNode { [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/problem219.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut count = mp.entry(nums[i]).or_insert(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/problem219.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut count = mp.entry(nums[i]).or_insert(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/problem246.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let mut rotated_char_1 = match Solution::rotate_single_num(&tmp[i]) { [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/problem246.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut rotated_char_2 = match Solution::rotate_single_num(&tmp[num.len() - i - 1]) { [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/problem283.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | for mut i in 0..nums.len() - 1 { [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/problem383.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let mut count = magazine_map.entry(char).or_insert(0); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `magazine_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/problem383.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(num) = magazine_map.get(&char) { [INFO] [stdout] | ----------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 20 | magazine_map.insert(char, *num - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problem567.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut left = 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/problem567.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut right = 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/problem637.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cur_level = 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/problem637.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut vec = map.entry(cur_level).or_insert(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/problem876.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut node = ListNode { [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/problem914.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut deck = deck; [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/problem914.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut count = mp.entry(*val).or_insert(0); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `mp` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/problem1122.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | let tmp = mp.get(&val).unwrap_or(&0); [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 19 | mp.insert(val, tmp + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/problem1207.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | let count = map.get(&num).unwrap_or(&(0 as usize)); [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] 11 | map.insert(num, count + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem94.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem104.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem104.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_depth` [INFO] [stdout] --> src/problem104.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn max_depth(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/problem104.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn helper(root: &Option>>) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_sum_slow` [INFO] [stdout] --> src/problem167.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn two_sum_slow(numbers: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem226.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem617.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem637.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem700.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem897.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem938.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem938.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range_sum_bst` [INFO] [stdout] --> src/problem938.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn range_sum_bst(root: Option>>, low: i32, high: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range_sum_bst_internal` [INFO] [stdout] --> src/problem938.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn range_sum_bst_internal(root: &Option>>, low: i32, high: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem965.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem1022.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem1469.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problem1469.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_lonely_nodes` [INFO] [stdout] --> src/problem1469.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_lonely_nodes(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/problem2103.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem2236.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hammingWeight` should have a snake case name [INFO] [stdout] --> src/problem191.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hammingWeight(n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `hamming_weight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/problem408.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let W: Vec = word.as_bytes().iter().map(|x| *x as char).collect(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/problem408.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let A: Vec = abbr.as_bytes().iter().map(|x| *x as char).collect(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/problem408.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let D: i32 = A[s..a].iter().collect::().parse::().unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3m 24s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_leetcode_submits-66945901fa365723) [INFO] running `Command { std: "docker" "inspect" "c4dcf11842f36d56cffa144a95fd62f53afe0196c2b2e78cf2bb8a3f084874b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4dcf11842f36d56cffa144a95fd62f53afe0196c2b2e78cf2bb8a3f084874b2", kill_on_drop: false }` [INFO] [stdout] c4dcf11842f36d56cffa144a95fd62f53afe0196c2b2e78cf2bb8a3f084874b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2461f1dd299d9e90000ee6a35eeb0bf69d0ee1c1d54b31d5d1237636e9f56815 [INFO] running `Command { std: "docker" "start" "-a" "2461f1dd299d9e90000ee6a35eeb0bf69d0ee1c1d54b31d5d1237636e9f56815", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::env::var` [INFO] [stderr] --> src/problem15.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::env::var; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::max` [INFO] [stderr] --> src/problem104.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use std::cmp::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/problem168.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | let char_num = (t + ('A' as u8)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 11 - let char_num = (t + ('A' as u8)); [INFO] [stderr] 11 + let char_num = t + ('A' as u8); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::max` [INFO] [stderr] --> src/problem169.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/problem219.rs:22:45 [INFO] [stderr] | [INFO] [stderr] 22 | let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap(); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 22 - let c = mp.get_mut(&nums[max(0, (i as i32 - k - 1)) as usize]).unwrap(); [INFO] [stderr] 22 + let c = mp.get_mut(&nums[max(0, i as i32 - k - 1) as usize]).unwrap(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem::swap` [INFO] [stderr] --> src/problem246.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::mem::swap; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/problem387.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/problem1592.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 10 - ((total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1))) [INFO] [stderr] 10 + (total_spaces_num / (words.len() - 1), total_spaces_num % (words.len() - 1)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `BTreeMap` [INFO] [stderr] --> src/problem1636.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `cur` is never read [INFO] [stderr] --> src/problem206.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | let mut cur: Option> = None; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `left` [INFO] [stderr] --> src/problem567.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | let mut left = 0; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `right` [INFO] [stderr] --> src/problem567.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | let mut right = 0; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/problem876.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | for i in 0..c { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/problem1022.rs:57:27 [INFO] [stderr] | [INFO] [stderr] 57 | (Some(l), Some(r)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/problem1022.rs:57:36 [INFO] [stderr] | [INFO] [stderr] 57 | (Some(l), Some(r)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/problem205.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | let mut s_chars = 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: variable does not need to be mutable [INFO] [stderr] --> src/problem205.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | let mut t_chars = t.chars().collect::>(); [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/problem206.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | let mut node = ListNode { [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/problem219.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | let mut count = mp.entry(nums[i]).or_insert(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/problem219.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | let mut count = mp.entry(nums[i]).or_insert(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/problem246.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | let mut rotated_char_1 = match Solution::rotate_single_num(&tmp[i]) { [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/problem246.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | let mut rotated_char_2 = match Solution::rotate_single_num(&tmp[num.len() - i - 1]) { [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/problem283.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | for mut i in 0..nums.len() - 1 { [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/problem383.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | let mut count = magazine_map.entry(char).or_insert(0); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `magazine_map` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/problem383.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 15 | if let Some(num) = magazine_map.get(&char) { [INFO] [stderr] | ----------------------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 20 | magazine_map.insert(char, *num - 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/problem567.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | let mut left = 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/problem567.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | let mut right = 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/problem637.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cur_level = 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/problem637.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | let mut vec = map.entry(cur_level).or_insert(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/problem914.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | let mut deck = deck; [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/problem914.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | let mut count = mp.entry(*val).or_insert(0); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `mp` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/problem1122.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 18 | let tmp = mp.get(&val).unwrap_or(&0); [INFO] [stderr] | ------------ immutable borrow occurs here [INFO] [stderr] 19 | mp.insert(val, tmp + 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^---^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/problem1207.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 10 | let count = map.get(&num).unwrap_or(&(0 as usize)); [INFO] [stderr] | ------------- immutable borrow occurs here [INFO] [stderr] 11 | map.insert(num, count + 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Data` [INFO] [stderr] --> src/problem1_two_sum.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Data { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1_two_sum.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `two_sum` [INFO] [stderr] --> src/problem1_two_sum.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add` [INFO] [stderr] --> src/problem1_two_sum.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | fn add(x: i32, y: i32) -> i32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_inverse_tuple` [INFO] [stderr] --> src/problem1_two_sum.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | fn get_inverse_tuple(x: i32, y: i32) -> (i32, i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem15.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem21.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem66.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `plus_one` [INFO] [stderr] --> src/problem66.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn plus_one(digits: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem69.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `my_sqrt` [INFO] [stderr] --> src/problem69.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn my_sqrt(x: i32) -> i32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem70.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `climb_stairs` [INFO] [stderr] --> src/problem70.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn climb_stairs(n: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem94.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem94.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inorder_traversal` [INFO] [stderr] --> src/problem94.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn inorder_traversal(root: Option>>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inorder_traversal_internal` [INFO] [stderr] --> src/problem94.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | fn inorder_traversal_internal(root: &Option>>, list: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem104.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem104.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `max_depth` [INFO] [stderr] --> src/problem104.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn max_depth(root: Option>>) -> i32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `helper` [INFO] [stderr] --> src/problem104.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | fn helper(root: &Option>>) -> i32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem118.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `generate` [INFO] [stderr] --> src/problem118.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn generate(num_rows: i32) -> Vec> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_vec` [INFO] [stderr] --> src/problem118.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | fn get_vec(input: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem136.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `single_number` [INFO] [stderr] --> src/problem136.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `two_sum_slow` [INFO] [stderr] --> src/problem167.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | fn two_sum_slow(numbers: Vec, target: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem168.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `convert_to_title` [INFO] [stderr] --> src/problem168.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn convert_to_title(column_number: i32) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem169.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `majority_element` [INFO] [stderr] --> src/problem169.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem171.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `title_to_number` [INFO] [stderr] --> src/problem171.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn title_to_number(column_title: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_alphabet_num` [INFO] [stderr] --> src/problem171.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | fn get_alphabet_num(alphabet: char) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem191.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hammingWeight` [INFO] [stderr] --> src/problem191.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn hammingWeight(n: u32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem202.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_happy` [INFO] [stderr] --> src/problem202.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn is_happy(n: i32) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tmp` [INFO] [stderr] --> src/problem202.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | fn tmp(set: &mut HashSet, num: i32) -> bool { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem205.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_isomorphic` [INFO] [stderr] --> src/problem205.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn is_isomorphic(s: String, t: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem206.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem206.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reverse_list` [INFO] [stderr] --> src/problem206.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn reverse_list(head: Option>) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_head` [INFO] [stderr] --> src/problem206.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | fn get_head(list: Vec) -> Option> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem217.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `contains_duplicate` [INFO] [stderr] --> src/problem217.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem219.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `contains_nearby_duplicate` [INFO] [stderr] --> src/problem219.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn contains_nearby_duplicate(nums: Vec, k: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem226.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem226.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `invert_tree` [INFO] [stderr] --> src/problem226.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn invert_tree(root: Option>>) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `invert_tree_internal` [INFO] [stderr] --> src/problem226.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | fn invert_tree_internal(root: &Option>>) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem228.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `summary_ranges` [INFO] [stderr] --> src/problem228.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn summary_ranges(nums: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem231.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_power_of_two` [INFO] [stderr] --> src/problem231.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn is_power_of_two(n: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem242.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_anagram` [INFO] [stderr] --> src/problem242.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn is_anagram(s: String, t: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem246.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_strobogrammatic` [INFO] [stderr] --> src/problem246.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn is_strobogrammatic(num: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rotate_single_num` [INFO] [stderr] --> src/problem246.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | fn rotate_single_num(num: &char) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem252.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `can_attend_meetings` [INFO] [stderr] --> src/problem252.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn can_attend_meetings(intervals: Vec>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem268.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `missing_number` [INFO] [stderr] --> src/problem268.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn missing_number(nums: Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem278.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct Solution { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem278.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | fn new(bad_version: i32) -> Solution { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `first_bad_version` [INFO] [stderr] --> src/problem278.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn first_bad_version(&self, n: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_bad_version` [INFO] [stderr] --> src/problem278.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn is_bad_version(&self, version: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem338.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `count_bits` [INFO] [stderr] --> src/problem338.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn count_bits(n: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem349.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `intersection` [INFO] [stderr] --> src/problem349.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn intersection(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Logger` [INFO] [stderr] --> src/problem359.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Logger { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem359.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `should_print_message` [INFO] [stderr] --> src/problem359.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | fn should_print_message(&mut self, timestamp: i32, message: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem383.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `can_construct` [INFO] [stderr] --> src/problem383.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem387.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `first_uniq_char` [INFO] [stderr] --> src/problem387.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn first_uniq_char(s: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem389.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_the_difference` [INFO] [stderr] --> src/problem389.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn find_the_difference(s: String, t: String) -> char { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem408.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `valid_word_abbreviation` [INFO] [stderr] --> src/problem408.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn valid_word_abbreviation(word: String, abbr: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem415.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_strings` [INFO] [stderr] --> src/problem415.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn add_strings(num1: String, num2: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem461.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hamming_distance` [INFO] [stderr] --> src/problem461.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn hamming_distance(x: i32, y: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem463.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `island_perimeter` [INFO] [stderr] --> src/problem463.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn island_perimeter(grid: Vec>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem551.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_record` [INFO] [stderr] --> src/problem551.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn check_record(s: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem617.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem617.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `merge_trees` [INFO] [stderr] --> src/problem617.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn merge_trees(root1: Option>>, root2: Option>>) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `merge_trees_internal` [INFO] [stderr] --> src/problem617.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | fn merge_trees_internal(root1: &Option>>, root2: &Option>>) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem637.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem637.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `average_of_levels` [INFO] [stderr] --> src/problem637.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn average_of_levels(root: Option>>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `build` [INFO] [stderr] --> src/problem637.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | fn build(root: &Option>>, map: &mut HashMap>, cur_level: usize) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem700.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem700.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `search_bst` [INFO] [stderr] --> src/problem700.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn search_bst(root: Option>>, val: i32) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem724.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pivot_index` [INFO] [stderr] --> src/problem724.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn pivot_index(nums: Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem733.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `flood_fill` [INFO] [stderr] --> src/problem733.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn flood_fill(image: Vec>, sr: i32, sc: i32, new_color: i32) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fill` [INFO] [stderr] --> src/problem733.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | fn fill(image: &mut Vec>, sr: i32, sc: i32, orig_color: i32, new_color: i32) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem766.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_toeplitz_matrix` [INFO] [stderr] --> src/problem766.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn is_toeplitz_matrix(matrix: Vec>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem832.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `flip_and_invert_image` [INFO] [stderr] --> src/problem832.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn flip_and_invert_image(image: Vec>) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem852.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `peak_index_in_mountain_array` [INFO] [stderr] --> src/problem852.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn peak_index_in_mountain_array(arr: Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem876.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem897.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem897.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `increasing_bst` [INFO] [stderr] --> src/problem897.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn increasing_bst(root: Option>>) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `build_ans_node` [INFO] [stderr] --> src/problem897.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | fn build_ans_node(list: &mut Vec) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `build_list` [INFO] [stderr] --> src/problem897.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | fn build_list(root: &Option>>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `build_list_internal` [INFO] [stderr] --> src/problem897.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | fn build_list_internal(root: &Option>>, list: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem905.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sort_array_by_parity` [INFO] [stderr] --> src/problem905.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn sort_array_by_parity(nums: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem914.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_groups_size_x` [INFO] [stderr] --> src/problem914.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn has_groups_size_x(deck: Vec) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem925.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_long_pressed_name` [INFO] [stderr] --> src/problem925.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn is_long_pressed_name(name: String, typed: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem938.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem938.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `range_sum_bst` [INFO] [stderr] --> src/problem938.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn range_sum_bst(root: Option>>, low: i32, high: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `range_sum_bst_internal` [INFO] [stderr] --> src/problem938.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | fn range_sum_bst_internal(root: &Option>>, low: i32, high: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem965.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem965.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_unival_tree` [INFO] [stderr] --> src/problem965.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn is_unival_tree(root: Option>>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_inival_tree_internal` [INFO] [stderr] --> src/problem965.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | fn is_inival_tree_internal(root: &Option>>, root_num: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem1022.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1022.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sum_root_to_leaf` [INFO] [stderr] --> src/problem1022.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn sum_root_to_leaf(root: Option>>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `calculate_binary` [INFO] [stderr] --> src/problem1022.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | fn calculate_binary(binary: &Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_binary_list` [INFO] [stderr] --> src/problem1022.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | fn get_binary_list(root: &Option>>) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1047.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_duplicates` [INFO] [stderr] --> src/problem1047.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn remove_duplicates(s: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1108.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `defang_i_paddr` [INFO] [stderr] --> src/problem1108.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn defang_i_paddr(address: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1122.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `relative_sort_array` [INFO] [stderr] --> src/problem1122.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn relative_sort_array(arr1: Vec, arr2: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1200.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `minimum_abs_difference` [INFO] [stderr] --> src/problem1200.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn minimum_abs_difference(arr: Vec) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1207.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unique_occurrences` [INFO] [stderr] --> src/problem1207.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn unique_occurrences(arr: Vec) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1275.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tictactoe` [INFO] [stderr] --> src/problem1275.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn tictactoe(moves: Vec>) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1331.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Input` [INFO] [stderr] --> src/problem1331.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Input { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem1331.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | fn new(value: i32, index: usize) -> Input { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `array_rank_transform` [INFO] [stderr] --> src/problem1331.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn array_rank_transform(arr: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1446.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `max_power` [INFO] [stderr] --> src/problem1446.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn max_power(s: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem1469.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1469.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_lonely_nodes` [INFO] [stderr] --> src/problem1469.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn get_lonely_nodes(root: Option>>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1480.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `running_sum` [INFO] [stderr] --> src/problem1480.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn running_sum(nums: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1624.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `max_length_between_equal_characters` [INFO] [stderr] --> src/problem1624.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn max_length_between_equal_characters(s: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1636.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `frequency_sort` [INFO] [stderr] --> src/problem1636.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn frequency_sort(nums: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem1859.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sort_sentence` [INFO] [stderr] --> src/problem1859.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn sort_sentence(s: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem2089.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `target_indices` [INFO] [stderr] --> src/problem2089.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn target_indices(nums: Vec, target: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/problem2103.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | id: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem2236.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problem2236.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Solution; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_tree` [INFO] [stderr] --> src/problem2236.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn check_tree(root: Option>>) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `hammingWeight` should have a snake case name [INFO] [stderr] --> src/problem191.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn hammingWeight(n: u32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `hamming_weight` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `W` should have a snake case name [INFO] [stderr] --> src/problem408.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | let W: Vec = word.as_bytes().iter().map(|x| *x as char).collect(); [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stderr] [INFO] [stderr] warning: variable `A` should have a snake case name [INFO] [stderr] --> src/problem408.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | let A: Vec = abbr.as_bytes().iter().map(|x| *x as char).collect(); [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] [INFO] [stderr] warning: variable `D` should have a snake case name [INFO] [stderr] --> src/problem408.rs:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | let D: i32 = A[s..a].iter().collect::().parse::().unwrap(); [INFO] [stderr] | ^ help: convert the identifier to snake case: `d` [INFO] [stderr] [INFO] [stderr] warning: `my_leetcode_submits` (lib) generated 213 warnings [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem21.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem26.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem27.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem28.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem35.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem189.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem191.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem283.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem359.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_macro::*` [INFO] [stderr] --> src/problem876.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | use test_macro::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `cur` is never read [INFO] [stderr] --> src/problem15.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | let mut cur: Option> = None; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `cur` is never read [INFO] [stderr] --> src/problem876.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | let mut cur: Option> = None; [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/problem15.rs:63:17 [INFO] [stderr] | [INFO] [stderr] 63 | let mut node = ListNode { [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: variable does not need to be mutable [INFO] [stderr] --> src/problem205.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | let mut s_chars = s.chars().collect::>(); [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/problem876.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | let mut node = ListNode { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problem94.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(val: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `my_leetcode_submits` (lib test) generated 73 warnings (57 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 43s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_leetcode_submits-66945901fa365723) [INFO] [stdout] [INFO] [stdout] running 294 tests [INFO] [stdout] test problem1022::tests::calculate_binary_test ... ok [INFO] [stdout] test problem1022::tests::example1 ... ok [INFO] [stdout] test problem1022::tests::get_binary_list_test ... ok [INFO] [stdout] test problem1047::tests::example1 ... ok [INFO] [stdout] test problem1047::tests::example2 ... ok [INFO] [stdout] test problem1108::tests::example1 ... ok [INFO] [stdout] test problem1122::tests::example1 ... ok [INFO] [stdout] test problem1108::tests::example2 ... ok [INFO] [stdout] test problem1122::tests::example2 ... ok [INFO] [stdout] test problem118::tests::example1 ... ok [INFO] [stdout] test problem118::tests::example2 ... ok [INFO] [stdout] test problem1200::tests::example2 ... ok [INFO] [stdout] test problem1200::tests::example1 ... ok [INFO] [stdout] test problem1200::tests::example3 ... ok [INFO] [stdout] test problem1207::tests::example1 ... ok [INFO] [stdout] test problem1207::tests::example2 ... ok [INFO] [stdout] test problem1207::tests::example3 ... ok [INFO] [stdout] test problem1275::tests::example1 ... ok [INFO] [stdout] test problem1275::tests::example2 ... ok [INFO] [stdout] test problem1275::tests::test1 ... ok [INFO] [stdout] test problem1275::tests::example3 ... ok [INFO] [stdout] test problem1331::tests::example1 ... ok [INFO] [stdout] test problem1331::tests::example3 ... ok [INFO] [stdout] test problem136::tests::example1 ... ok [INFO] [stdout] test problem1331::tests::example2 ... ok [INFO] [stdout] test problem136::tests::example2 ... ok [INFO] [stdout] test problem13::tests::test1 ... ok [INFO] [stdout] test problem136::tests::example3 ... ok [INFO] [stdout] test problem13::tests::test10 ... ok [INFO] [stdout] test problem13::tests::test11 ... ok [INFO] [stdout] test problem13::tests::test12 ... ok [INFO] [stdout] test problem13::tests::test13 ... ok [INFO] [stdout] test problem13::tests::test14 ... ok [INFO] [stdout] test problem13::tests::test2 ... ok [INFO] [stdout] test problem13::tests::test3 ... ok [INFO] [stdout] test problem13::tests::test4 ... ok [INFO] [stdout] test problem13::tests::test5 ... ok [INFO] [stdout] test problem13::tests::test6 ... ok [INFO] [stdout] test problem13::tests::test7 ... ok [INFO] [stdout] test problem13::tests::test8 ... ok [INFO] [stdout] test problem13::tests::test9 ... ok [INFO] [stdout] test problem1446::tests::example1 ... ok [INFO] [stdout] test problem1446::tests::example2 ... ok [INFO] [stdout] test problem1480::tests::example1 ... ok [INFO] [stdout] test problem1480::tests::example2 ... ok [INFO] [stdout] test problem1480::tests::example3 ... ok [INFO] [stdout] test problem14::tests::test1 ... ok [INFO] [stdout] test problem14::tests::test3 ... ok [INFO] [stdout] test problem14::tests::test4 ... ok [INFO] [stdout] test problem14::tests::test5 ... ok [INFO] [stdout] test problem14::tests::test2 ... ok [INFO] [stdout] test problem150::tests::test1 ... ok [INFO] [stdout] test problem150::tests::test2 ... ok [INFO] [stdout] test problem1512::tests::example1 ... ok [INFO] [stdout] test problem1512::tests::example2 ... ok [INFO] [stdout] test problem1512::tests::example3 ... ok [INFO] [stdout] test problem1528::tests::example1 ... ok [INFO] [stdout] test problem1528::tests::example2 ... ok [INFO] [stdout] test problem1592::tests::example1 ... ok [INFO] [stdout] test problem1592::tests::example2 ... ok [INFO] [stdout] test problem1592::tests::test1 ... ok [INFO] [stdout] test problem1592::tests::test2 ... ok [INFO] [stdout] test problem15::tests::example1 ... ok [INFO] [stdout] test problem1624::tests::example1 ... ok [INFO] [stdout] test problem1624::tests::example2 ... ok [INFO] [stdout] test problem1624::tests::example3 ... ok [INFO] [stdout] test problem1636::tests::example1 ... ok [INFO] [stdout] test problem1636::tests::example2 ... ok [INFO] [stdout] test problem167::tests::exmaple1 ... ok [INFO] [stdout] test problem1636::tests::example3 ... ok [INFO] [stdout] test problem167::tests::exmaple2 ... ok [INFO] [stdout] test problem167::tests::exmaple3 ... ok [INFO] [stdout] test problem168::tests::example2 ... ok [INFO] [stdout] test problem168::tests::example3 ... ok [INFO] [stdout] test problem168::tests::example1 ... ok [INFO] [stdout] test problem168::tests::test2 ... ok [INFO] [stdout] test problem168::tests::test1 ... ok [INFO] [stdout] test problem168::tests::test3 ... ok [INFO] [stdout] test problem168::tests::test4 ... ok [INFO] [stdout] test problem168::tests::test5 ... ok [INFO] [stdout] test problem169::tests::example1 ... ok [INFO] [stdout] test problem169::tests::example2 ... ok [INFO] [stdout] test problem171::tests::example1 ... ok [INFO] [stdout] test problem171::tests::example2 ... ok [INFO] [stdout] test problem171::tests::get_alphabet_num_test1 ... ok [INFO] [stdout] test problem171::tests::example3 ... ok [INFO] [stdout] test problem171::tests::get_alphabet_num_test2 ... ok [INFO] [stdout] test problem1859::tests::example1 ... ok [INFO] [stdout] test problem1859::tests::example2 ... ok [INFO] [stdout] test problem189::tests::example1 ... ok [INFO] [stdout] test problem189::tests::example2 ... ok [INFO] [stdout] test problem189::tests::example3 ... ok [INFO] [stdout] test problem191::tests::example1 ... ok [INFO] [stdout] test problem1920::tests::example1 ... ok [INFO] [stdout] test problem1920::tests::example2 ... ok [INFO] [stdout] test problem1_two_sum::tests2::two_sum_test::vec_2_7_11_15_9_expects_vec_0_1_ ... ok [INFO] [stdout] test problem1929::tests::example1 ... ok [INFO] [stdout] test problem1_two_sum::tests::test1 ... ok [INFO] [stdout] test problem1_two_sum::tests::test2 ... ok [INFO] [stdout] test problem1_two_sum::tests::test3 ... ok [INFO] [stdout] test problem1_two_sum::tests::test4 ... ok [INFO] [stdout] test problem1_two_sum::tests::test5 ... ok [INFO] [stdout] test problem1_two_sum::tests::test6 ... ok [INFO] [stdout] test problem1_two_sum::tests::two_sum_test1 ... ok [INFO] [stdout] test problem1_two_sum::tests::two_sum_test2 ... ok [INFO] [stdout] test problem202::tests::example1 ... ok [INFO] [stdout] test problem202::tests::example2 ... ok [INFO] [stdout] test problem205::tests::example1 ... ok [INFO] [stdout] test problem205::tests::example2 ... ok [INFO] [stdout] test problem205::tests::example3 ... ok [INFO] [stdout] test problem205::tests::test1 ... ok [INFO] [stdout] test problem206::tests::example1 ... ok [INFO] [stdout] test problem206::tests::example2 ... ok [INFO] [stdout] test problem206::tests::example3 ... ok [INFO] [stdout] test problem2089::tests::example3 ... ok [INFO] [stdout] test problem2089::tests::example1 ... ok [INFO] [stdout] test problem2089::tests::example2 ... ok [INFO] [stdout] test problem20::tests::test1 ... ok [INFO] [stdout] test problem20::tests::test2 ... ok [INFO] [stdout] test problem20::tests::test3 ... ok [INFO] [stdout] test problem20::tests::test4 ... ok [INFO] [stdout] test problem20::tests::test5 ... ok [INFO] [stdout] test problem20::tests::test6 ... ok [INFO] [stdout] test problem2103::tests::example1 ... ok [INFO] [stdout] test problem2103::tests::example2 ... ok [INFO] [stdout] test problem2103::tests::example3 ... ok [INFO] [stdout] test problem217::tests::example1 ... ok [INFO] [stdout] test problem217::tests::example2 ... ok [INFO] [stdout] test problem217::tests::example3 ... ok [INFO] [stdout] test problem219::tests::example1 ... ok [INFO] [stdout] test problem219::tests::example2 ... ok [INFO] [stdout] test problem219::tests::example3 ... ok [INFO] [stdout] test problem21::tests::example1 ... ok [INFO] [stdout] test problem21::tests::example2 ... ok [INFO] [stdout] test problem21::tests::example3 ... ok [INFO] [stdout] test problem226::tests::example1 ... ok [INFO] [stdout] test problem2236::tests::example1 ... ok [INFO] [stdout] test problem2236::tests::example2 ... ok [INFO] [stdout] test problem226::tests::example2 ... ok [INFO] [stdout] test problem228::tests::example1 ... ok [INFO] [stdout] test problem228::tests::example2 ... ok [INFO] [stdout] test problem231::tests::example2 ... ok [INFO] [stdout] test problem231::tests::example1 ... ok [INFO] [stdout] test problem231::tests::example3 ... ok [INFO] [stdout] test problem242::tests::example1 ... ok [INFO] [stdout] test problem242::tests::example2 ... ok [INFO] [stdout] test problem246::tests::example1 ... ok [INFO] [stdout] test problem246::tests::example2 ... ok [INFO] [stdout] test problem246::tests::example3 ... ok [INFO] [stdout] test problem246::tests::rotate_num_test1 ... ok [INFO] [stdout] test problem246::tests::rotate_num_test2 ... ok [INFO] [stdout] test problem246::tests::rotate_num_test3 ... ok [INFO] [stdout] test problem246::tests::rotate_num_test4 ... ok [INFO] [stdout] test problem246::tests::test1 ... ok [INFO] [stdout] test problem252::tests::example2 ... ok [INFO] [stdout] test problem268::tests::example1 ... ok [INFO] [stdout] test problem268::tests::example2 ... ok [INFO] [stdout] test problem268::tests::example3 ... ok [INFO] [stdout] test problem26::tests::example2 ... ok [INFO] [stdout] test problem252::tests::example1 ... ok [INFO] [stdout] test problem278::tests::example1 ... ok [INFO] [stdout] test problem26::tests::example1 ... ok [INFO] [stdout] test problem278::tests::example3 ... ok [INFO] [stdout] test problem278::tests::example2 ... ok [INFO] [stdout] test problem27::tests::example1 ... ok [INFO] [stdout] test problem27::tests::example2 ... ok [INFO] [stdout] test problem283::tests::example2 ... ok [INFO] [stdout] test problem283::tests::example1 ... ok [INFO] [stdout] test problem283::tests::example3 ... ok [INFO] [stdout] test problem28::tests::example1 ... ok [INFO] [stdout] test problem28::tests::example2 ... ok [INFO] [stdout] test problem28::tests::example3 ... ok [INFO] [stdout] test problem28::tests::example4 ... ok [INFO] [stdout] test problem28::tests::example5 ... ok [INFO] [stdout] test problem28::tests::example6 ... ok [INFO] [stdout] test problem28::tests::example7 ... ok [INFO] [stdout] test problem28::tests::example8 ... ok [INFO] [stdout] test problem338::tests::example1 ... ok [INFO] [stdout] test problem338::tests::example2 ... ok [INFO] [stdout] test problem344::tests::example1 ... ok [INFO] [stdout] test problem349::tests::example1 ... ok [INFO] [stdout] test problem359::tests::hoge ... ok [INFO] [stdout] test problem35::tests::example1 ... ok [INFO] [stdout] test problem35::tests::example2 ... ok [INFO] [stdout] test problem35::tests::example3 ... ok [INFO] [stdout] test problem383::tests::example1 ... ok [INFO] [stdout] test problem383::tests::example2 ... ok [INFO] [stdout] test problem383::tests::example3 ... ok [INFO] [stdout] test problem387::tests::example1 ... ok [INFO] [stdout] test problem387::tests::example2 ... ok [INFO] [stdout] test problem387::tests::example3 ... ok [INFO] [stdout] test problem389::tests::example1 ... ok [INFO] [stdout] test problem389::tests::example2 ... ok [INFO] [stdout] test problem3::tests::example1 ... ok [INFO] [stdout] test problem3::tests::example2 ... ok [INFO] [stdout] test problem3::tests::example3 ... ok [INFO] [stdout] test problem3::tests::test2 ... ok [INFO] [stdout] test problem3::tests::test1 ... ok [INFO] [stdout] test problem3::tests::test3 ... ok [INFO] [stdout] test problem408::tests::example2 ... ok [INFO] [stdout] test problem408::tests::example1 ... ok [INFO] [stdout] test problem408::tests::test1 ... ok [INFO] [stdout] test problem408::tests::test2 ... ok [INFO] [stdout] test problem408::tests::test3 ... ok [INFO] [stdout] test problem408::tests::test5 ... ok [INFO] [stdout] test problem408::tests::test4 ... ok [INFO] [stdout] test problem408::tests::test6 ... ok [INFO] [stdout] test problem408::tests::test7 ... ok [INFO] [stdout] test problem408::tests::test8 ... ok [INFO] [stdout] test problem415::tests::example1 ... ok [INFO] [stdout] test problem415::tests::example2 ... ok [INFO] [stdout] test problem415::tests::test1 ... ok [INFO] [stdout] test problem415::tests::example3 ... ok [INFO] [stdout] test problem415::tests::test2 ... ok [INFO] [stdout] test problem461::tests::example1 ... ok [INFO] [stdout] test problem415::tests::test3 ... ok [INFO] [stdout] test problem461::tests::example2 ... ok [INFO] [stdout] test problem463::tests::example1 ... ok [INFO] [stdout] test problem463::tests::example2 ... ok [INFO] [stdout] test problem463::tests::example3 ... ok [INFO] [stdout] test problem53::tests::exmaple1 ... ok [INFO] [stdout] test problem53::tests::exmaple2 ... ok [INFO] [stdout] test problem53::tests::exmaple3 ... ok [INFO] [stdout] test problem53::tests::exmaple4 ... ok [INFO] [stdout] test problem551::tests::example2 ... ok [INFO] [stdout] test problem551::tests::example1 ... ok [INFO] [stdout] test problem557::tests::example1 ... ok [INFO] [stdout] test problem557::tests::example2 ... ok [INFO] [stdout] test problem567::tests::example1 ... ok [INFO] [stdout] test problem617::tests::example1 ... ok [INFO] [stdout] test problem66::tests::example1 ... ok [INFO] [stdout] test problem637::tests::example1 ... ok [INFO] [stdout] test problem66::tests::example2 ... ok [INFO] [stdout] test problem66::tests::example3 ... ok [INFO] [stdout] test problem66::tests::example4 ... ok [INFO] [stdout] test problem68::tests::test10 ... ok [INFO] [stdout] test problem68::tests::test1 ... ok [INFO] [stdout] test problem68::tests::test2 ... ok [INFO] [stdout] test problem68::tests::test3 ... ok [INFO] [stdout] test problem68::tests::test4 ... ok [INFO] [stdout] test problem68::tests::test5 ... ok [INFO] [stdout] test problem68::tests::test7 ... ok [INFO] [stdout] test problem68::tests::test6 ... ok [INFO] [stdout] test problem69::tests::example1 ... ok [INFO] [stdout] test problem69::tests::example2 ... ok [INFO] [stdout] test problem68::tests::test8 ... ok [INFO] [stdout] test problem69::tests::test2 ... ok [INFO] [stdout] test problem69::tests::test1 ... ok [INFO] [stdout] test problem68::tests::test9 ... ok [INFO] [stdout] test problem704::tests::exmaple2 ... ok [INFO] [stdout] test problem69::tests::test3 ... ok [INFO] [stdout] test problem700::tests::example1 ... ok [INFO] [stdout] test problem704::tests::exmaple3 ... ok [INFO] [stdout] test problem704::tests::exmaple1 ... ok [INFO] [stdout] test problem704::tests::exmaple4 ... ok [INFO] [stdout] test problem70::tests::example2 ... ok [INFO] [stdout] test problem70::tests::example1 ... ok [INFO] [stdout] test problem70::tests::test1 ... ok [INFO] [stdout] test problem724::tests::example1 ... ok [INFO] [stdout] test problem724::tests::example3 ... ok [INFO] [stdout] test problem733::tests::example1 ... ok [INFO] [stdout] test problem724::tests::test1 ... ok [INFO] [stdout] test problem733::tests::test1 ... ok [INFO] [stdout] test problem733::tests::test2 ... ok [INFO] [stdout] test problem724::tests::example2 ... ok [INFO] [stdout] test problem766::tests::example1 ... ok [INFO] [stdout] test problem832::tests::example1 ... ok [INFO] [stdout] test problem832::tests::example2 ... ok [INFO] [stdout] test problem766::tests::example2 ... ok [INFO] [stdout] test problem733::tests::example2 ... ok [INFO] [stdout] test problem852::tests::example1 ... ok [INFO] [stdout] test problem852::tests::example2 ... ok [INFO] [stdout] test problem852::tests::example3 ... ok [INFO] [stdout] test problem876::tests::example1 ... ok [INFO] [stdout] test problem876::tests::example2 ... ok [INFO] [stdout] test problem897::tests::build_list_test ... ok [INFO] [stdout] test problem897::tests::example1 ... ok [INFO] [stdout] test problem905::tests::example1 ... ok [INFO] [stdout] test problem905::tests::example2 ... ok [INFO] [stdout] test problem914::tests::example1 ... ok [INFO] [stdout] test problem914::tests::example2 ... ok [INFO] [stdout] test problem925::tests::example2 ... ok [INFO] [stdout] test problem925::tests::test1 ... ok [INFO] [stdout] test problem925::tests::test2 ... ok [INFO] [stdout] test problem94::tests::example1 ... ok [INFO] [stdout] test problem925::tests::example1 ... ok [INFO] [stdout] test problem965::tests::example1 ... ok [INFO] [stdout] test problem977::tests::example1 ... ok [INFO] [stdout] test problem965::tests::example2 ... ok [INFO] [stdout] test problem9_palindrome_number::tests::test1 ... ok [INFO] [stdout] test problem9_palindrome_number::tests::test2 ... ok [INFO] [stdout] test problem9_palindrome_number::tests::test3 ... ok [INFO] [stdout] test problem977::tests::example2 ... ok [INFO] [stdout] test problem567::tests::example2 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- problem567::tests::example2 stdout ---- [INFO] [stdout] thread 'problem567::tests::example2' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `true`, [INFO] [stdout] right: `false`', src/problem567.rs:26:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x559c70c5589d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x559c70c5589d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x559c70c5589d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x559c70c5589d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x559c70c7867c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x559c70c52261 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x559c70c575e5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x559c70c575e5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x559c70c575e5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x559c70c572d4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x559c70c57b32 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x559c70c57a17 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x559c70c55d54 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x559c70c57749 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x559c70b324e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x559c70c76f78 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x559c70bcae2a - core::panicking::assert_failed::h63c2158191007543 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x559c70bb31dc - my_leetcode_submits::problem567::tests::example2::he7fddcb9b9c786f6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/test-macro-0.1.9/src/test_macro.rs:55:13 [INFO] [stdout] 18: 0x559c70bb308a - my_leetcode_submits::problem567::tests::example2::{{closure}}::h62f3dff36da6df44 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/test-macro-0.1.9/src/test_macro.rs:54:9 [INFO] [stdout] 19: 0x559c70b68b1e - core::ops::function::FnOnce::call_once::h12093fed97723f1f [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x559c70c31603 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x559c70c31603 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x559c70c303b9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x559c70c303b9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x559c70c303b9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x559c70c303b9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x559c70c303b9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x559c70c303b9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x559c70c303b9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x559c70bfc56e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x559c70bfc56e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x559c70c01ad8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x559c70c01ad8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x559c70c01ad8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x559c70c01ad8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x559c70c01ad8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x559c70c01ad8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x559c70c01ad8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x559c70c5c343 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x559c70c5c343 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x559c70c5c343 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fe1fd6db609 - start_thread [INFO] [stdout] 42: 0x7fe1fd4ab163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] problem567::tests::example2 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 293 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "2461f1dd299d9e90000ee6a35eeb0bf69d0ee1c1d54b31d5d1237636e9f56815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2461f1dd299d9e90000ee6a35eeb0bf69d0ee1c1d54b31d5d1237636e9f56815", kill_on_drop: false }` [INFO] [stdout] 2461f1dd299d9e90000ee6a35eeb0bf69d0ee1c1d54b31d5d1237636e9f56815