[INFO] cloning repository https://github.com/RumonHasan/Rust-Journey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RumonHasan/Rust-Journey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRumonHasan%2FRust-Journey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRumonHasan%2FRust-Journey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6187ea4d8ae2d59c145e932d5a4867d37a3ac3a3 [INFO] building RumonHasan/Rust-Journey against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRumonHasan%2FRust-Journey" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RumonHasan/Rust-Journey on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RumonHasan/Rust-Journey [INFO] finished tweaking git repo https://github.com/RumonHasan/Rust-Journey [INFO] tweaked toml for git repo https://github.com/RumonHasan/Rust-Journey written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RumonHasan/Rust-Journey already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e790099403b365eca4f7fbd4de39957cbe3b9e6fd3a138aafa1b34e6fd71b3e [INFO] running `Command { std: "docker" "start" "-a" "1e790099403b365eca4f7fbd4de39957cbe3b9e6fd3a138aafa1b34e6fd71b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e790099403b365eca4f7fbd4de39957cbe3b9e6fd3a138aafa1b34e6fd71b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e790099403b365eca4f7fbd4de39957cbe3b9e6fd3a138aafa1b34e6fd71b3e", kill_on_drop: false }` [INFO] [stdout] 1e790099403b365eca4f7fbd4de39957cbe3b9e6fd3a138aafa1b34e6fd71b3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7679b75ecd1eb21776e6ccda3f2d73f4315542e1ad32cfe93102fcbedae5e011 [INFO] running `Command { std: "docker" "start" "-a" "7679b75ecd1eb21776e6ccda3f2d73f4315542e1ad32cfe93102fcbedae5e011", kill_on_drop: false }` [INFO] [stderr] Compiling rust-basics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `concepts::concepts_modules::can_be_typed_words` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use concepts::concepts_modules::can_be_typed_words; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::find_and_replace_pattern` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use concepts::concepts_modules::find_and_replace_pattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::find_length_dp_sub` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use concepts::concepts_modules::find_length_dp_sub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::find_the_prefix_common_array` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use concepts::concepts_modules::find_the_prefix_common_array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::group_the_people` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use concepts::concepts_modules::group_the_people; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::grumpy_owner` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use concepts::concepts_modules::grumpy_owner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::min_sub_array_len` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use concepts::concepts_modules::min_sub_array_len; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::min_subsequence` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use concepts::concepts_modules::min_subsequence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::next_greater_el_ii` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use concepts::concepts_modules::next_greater_el_ii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::next_greater_element` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use concepts::concepts_modules::next_greater_element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::occurrences_of_element` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use concepts::concepts_modules::occurrences_of_element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::reorg_string` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use concepts::concepts_modules::reorg_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::asteroid_collision` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::concepts::concepts_modules::asteroid_collision; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::find_least_num_of_unique_ints` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::concepts::concepts_modules::find_least_num_of_unique_ints; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::find_lhs` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::concepts::concepts_modules::find_lhs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::is_long_pressed_name` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::concepts::concepts_modules::is_long_pressed_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::longest_substring_with_k` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::concepts::concepts_modules::longest_substring_with_k; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::max_subarray_sum_circular` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::concepts::concepts_modules::max_subarray_sum_circular; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::num_subarrays_with_sum` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::concepts::concepts_modules::num_subarrays_with_sum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::rearrange_nums` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::concepts::concepts_modules::rearrange_nums; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::replace_words` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::concepts::concepts_modules::replace_words; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/concepts.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/concepts.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_set::Difference` [INFO] [stdout] --> src/concepts.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::btree_set::Difference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::INFINITY` [INFO] [stdout] --> src/concepts.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/concepts.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32::MAX` [INFO] [stdout] --> src/concepts.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use std::i32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32::MIN` [INFO] [stdout] --> src/concepts.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use std::i32::MIN; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/concepts.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/concepts.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/rust_leetcode.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | for( key, value) in &anagram_map{ // vectors in map have ownership tied to the map [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/rust_leetcode.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | for index in 0..value{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/rust_leetcode.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | for (key, value) in hash.iter_mut(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filtered` [INFO] [stdout] --> src/rust_leetcode.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let filtered: Vec = get_vec.into_iter().filter(|&item| item > 2).collect(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/rust_leetcode.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | for (index , &item) in vec_freq.iter().enumerate(){ // here is returning immutable reference to vec_freq [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust_leetcode.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut consumed_vec: Vec = array.iter().map(|&x| x).collect(); // entirely consumed [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/rust_leetcode.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut mini_vec: Vec = vec![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/rust_leetcode.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut array: Vec = vec![1,2,3,4,5]; [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/rust_leetcode.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut get_vec: Vec = array.into_iter().map(|item| item).collect(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `el` [INFO] [stdout] --> src/concepts.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let el: i32 = array[1]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_el` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/concepts.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 487 | let mut result: String = String::from(""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_string` is never read [INFO] [stdout] --> src/concepts.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | let mut final_string: String = String::from(""); [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/concepts.rs:720:22 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn min_steps(mut s: String, mut t: String) -> i32 { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concepts.rs:720:37 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn min_steps(mut s: String, mut t: String) -> i32 { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/concepts.rs:881:17 [INFO] [stdout] | [INFO] [stdout] 881 | let mut end: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_one` [INFO] [stdout] --> src/concepts.rs:1160:13 [INFO] [stdout] | [INFO] [stdout] 1160 | let array_one: Vec = vec![1, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/concepts.rs:1162:14 [INFO] [stdout] | [INFO] [stdout] 1162 | for (index, item) in array.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_array` [INFO] [stdout] --> src/concepts.rs:1167:17 [INFO] [stdout] | [INFO] [stdout] 1167 | let mut new_array: Vec = array [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concepts.rs:1167:13 [INFO] [stdout] | [INFO] [stdout] 1167 | let mut new_array: Vec = array [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/concepts.rs:1213:29 [INFO] [stdout] | [INFO] [stdout] 1213 | let mut index: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> src/concepts.rs:1590:19 [INFO] [stdout] | [INFO] [stdout] 1590 | for (key, char) in ransom_hash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concepts.rs:2177:13 [INFO] [stdout] | [INFO] [stdout] 2177 | let mut res_char: char = 'a'; // filler char [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paragraph` [INFO] [stdout] --> src/concepts.rs:2197:29 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn most_common_word(paragraph: String, banned: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paragraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `banned` [INFO] [stdout] --> src/concepts.rs:2197:48 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn most_common_word(paragraph: String, banned: Vec) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_banned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `started` is never read [INFO] [stdout] --> src/concepts.rs:2778:17 [INFO] [stdout] | [INFO] [stdout] 2778 | let mut started: usize = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `started` is never read [INFO] [stdout] --> src/concepts.rs:2795:21 [INFO] [stdout] | [INFO] [stdout] 2795 | started = end; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `started` is never read [INFO] [stdout] --> src/concepts.rs:2801:17 [INFO] [stdout] | [INFO] [stdout] 2801 | started = end; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/concepts.rs:2993:14 [INFO] [stdout] | [INFO] [stdout] 2993 | for (index, curr_item) in vector_something.into_iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concepts.rs:3416:24 [INFO] [stdout] | [INFO] [stdout] 3416 | pub fn zero_filled(mut nums: Vec) -> i64 { [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/concepts.rs:3419:31 [INFO] [stdout] | [INFO] [stdout] 3419 | fn formulaic_approach(mut nums: &mut Vec) -> i64 { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_time` is never read [INFO] [stdout] --> src/concepts.rs:3474:17 [INFO] [stdout] | [INFO] [stdout] 3474 | let mut curr_time: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `counter` is never read [INFO] [stdout] --> src/concepts.rs:3902:17 [INFO] [stdout] | [INFO] [stdout] 3902 | let mut counter: i32 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/concepts.rs:4545:17 [INFO] [stdout] | [INFO] [stdout] 4545 | for i in 0..item.1{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anagram_input` [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut anagram_input: Vec = vec!["bat", "tea", "tan", "ate", "nat", "bat"] [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anagram_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `true_or_false` [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let true_or_false: bool = false; // also 0 and 1 can be used for false and true [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_true_or_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `letter` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let letter: char = 'a'; // for char have to use single quote in order to represent a char [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_letter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tup2` [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut tup2: (i8, bool, char) = (1, true, 's'); // here those are two different types of tuple; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tup2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let arr = [1, 23, 4, 4, 4, 32]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut input = String::new(); // mutable string [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let z: u8 = x / y; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let x: f32 = 10.4f32; // or it can be done using underscore; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let h: i64 = 123_000 as i64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let x = (i32::MAX as i64) + 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let number = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let result: Vec = divide_string("abcdefghij", 3, 'x'); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_sum` [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let add_sum: Vec = two_sum(vec![2, 7, 11, 15], 9); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_matric` [INFO] [stdout] --> src/main.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut vector_matric = vec![vec![1, 1, 1], vec![1, 0, 1], vec![1, 1, 1]]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_matric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut anagram_input: Vec = vec!["bat", "tea", "tan", "ate", "nat", "bat"] [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/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut tup2: (i8, bool, char) = (1, true, 's'); // here those are two different types of tuple; [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/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut input = String::new(); // mutable string [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut vector_matric = vec![vec![1, 1, 1], vec![1, 0, 1], vec![1, 1, 1]]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | for (index, &item) in arr.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | for (index, &item) in hash_values.into_iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut hash_values = hash_map.values(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_vec` [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let result_vec: Vec = vec_basic [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | for (index, item) in mutable_array.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let mut vec_basic: Vec = vec![1, 3, 4, 5, 6, 7, 6]; [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/main.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let mut array: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_number` [INFO] [stdout] --> src/main.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | for (col_index, &curr_number) in matrix[row_index].iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum_match` is never used [INFO] [stdout] --> src/main.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn two_sum_match(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_with_hash` is never used [INFO] [stdout] --> src/main.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn play_with_hash(arr: &mut Vec) -> (HashMap, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_map_iter` is never used [INFO] [stdout] --> src/main.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn check_map_iter(mutable_array: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_camel` is never used [INFO] [stdout] --> src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn random_camel() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matrix_set_zeroes` is never used [INFO] [stdout] --> src/main.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn matrix_set_zeroes(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition_string_match` is never used [INFO] [stdout] --> src/main.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn partition_string_match(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition_string` is never used [INFO] [stdout] --> src/main.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn partition_string(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_stack` is never used [INFO] [stdout] --> src/rust_leetcode.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn is_valid_stack(s:String)-> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_group_anagram` is never used [INFO] [stdout] --> src/rust_leetcode.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_group_anagram(strs: &mut Vec)-> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequency_sort` is never used [INFO] [stdout] --> src/rust_leetcode.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn frequency_sort(s:String)-> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_subarray_after_deletion` is never used [INFO] [stdout] --> src/rust_leetcode.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn longest_subarray_after_deletion(nums:Vec) -> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iterator_playground` is never used [INFO] [stdout] --> src/rust_leetcode.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn iterator_playground(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_str` is never used [INFO] [stdout] --> src/concepts.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn str_str(haystack: String, needle: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_palindrome` is never used [INFO] [stdout] --> src/concepts.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_palindrome(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_ocurrences` is never used [INFO] [stdout] --> src/concepts.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn find_ocurrences(text: String, first: String, second: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_disappeared_numbers` is never used [INFO] [stdout] --> src/concepts.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn find_disappeared_numbers(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_uniq_char` is never used [INFO] [stdout] --> src/concepts.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn first_uniq_char(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_colors` is never used [INFO] [stdout] --> src/concepts.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn sort_colors(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_zeroes` is never used [INFO] [stdout] --> src/concepts.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_zeroes(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `suggested_products` is never used [INFO] [stdout] --> src/concepts.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn suggested_products(mut products: Vec, search_word: String) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_peak_element` is never used [INFO] [stdout] --> src/concepts.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn find_peak_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_zeroes` is never used [INFO] [stdout] --> src/concepts.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn move_zeroes(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rob` is never used [INFO] [stdout] --> src/concepts.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn rob(nums: Vec) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_of_substrings` is never used [INFO] [stdout] --> src/concepts.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn number_of_substrings(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_of_strings` is never used [INFO] [stdout] --> src/concepts.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn num_of_strings(patterns: Vec, word: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_common_prefix` is never used [INFO] [stdout] --> src/concepts.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn longest_common_prefix(strs: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_substrings` is never used [INFO] [stdout] --> src/concepts.rs:392:12 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn count_substrings(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `common_chars` is never used [INFO] [stdout] --> src/concepts.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn common_chars(words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_ground` is never used [INFO] [stdout] --> src/concepts.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn play_ground() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_vowels` is never used [INFO] [stdout] --> src/concepts.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn reverse_vowels(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_duplicates` is never used [INFO] [stdout] --> src/concepts.rs:527:12 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn remove_duplicates(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_anagram` is never used [INFO] [stdout] --> src/concepts.rs:551:12 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn is_anagram(mut s: String, mut t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_earn` is never used [INFO] [stdout] --> src/concepts.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | pub fn delete_earn(mut nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_rank_transform` is never used [INFO] [stdout] --> src/concepts.rs:647:12 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn array_rank_transform(mut arr: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_of_subarrays` is never used [INFO] [stdout] --> src/concepts.rs:679:12 [INFO] [stdout] | [INFO] [stdout] 679 | pub fn number_of_subarrays(nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_steps` is never used [INFO] [stdout] --> src/concepts.rs:720:12 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn min_steps(mut s: String, mut t: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_parity` is never used [INFO] [stdout] --> src/concepts.rs:765:12 [INFO] [stdout] | [INFO] [stdout] 765 | pub fn sort_by_parity(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `house_robber_ii` is never used [INFO] [stdout] --> src/concepts.rs:788:12 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn house_robber_ii(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_ground_two` is never used [INFO] [stdout] --> src/concepts.rs:842:12 [INFO] [stdout] | [INFO] [stdout] 842 | pub fn play_ground_two() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `percentage_letter` is never used [INFO] [stdout] --> src/concepts.rs:859:12 [INFO] [stdout] | [INFO] [stdout] 859 | pub fn percentage_letter(s: String, letter: char) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimum_recolors` is never used [INFO] [stdout] --> src/concepts.rs:878:12 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn minimum_recolors(blocks: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_longest_palindrome` is never used [INFO] [stdout] --> src/concepts.rs:914:12 [INFO] [stdout] | [INFO] [stdout] 914 | pub fn get_longest_palindrome(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection` is never used [INFO] [stdout] --> src/concepts.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | pub fn intersection(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition_labels` is never used [INFO] [stdout] --> src/concepts.rs:974:12 [INFO] [stdout] | [INFO] [stdout] 974 | pub fn partition_labels(s: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subarray_sum` is never used [INFO] [stdout] --> src/concepts.rs:1026:12 [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn subarray_sum(nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pivot_index` is never used [INFO] [stdout] --> src/concepts.rs:1050:12 [INFO] [stdout] | [INFO] [stdout] 1050 | pub fn pivot_index(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeated_character` is never used [INFO] [stdout] --> src/concepts.rs:1063:12 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn repeated_character(s: String) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_char_replacement` is never used [INFO] [stdout] --> src/concepts.rs:1078:12 [INFO] [stdout] | [INFO] [stdout] 1078 | pub fn longest_char_replacement(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect_array` is never used [INFO] [stdout] --> src/concepts.rs:1111:12 [INFO] [stdout] | [INFO] [stdout] 1111 | pub fn intersect_array(mut nums1: Vec, mut nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fucking_function` is never used [INFO] [stdout] --> src/concepts.rs:1157:12 [INFO] [stdout] | [INFO] [stdout] 1157 | pub fn fucking_function() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shortest_distance_to_char` is never used [INFO] [stdout] --> src/concepts.rs:1177:12 [INFO] [stdout] | [INFO] [stdout] 1177 | pub fn shortest_distance_to_char(mut s: String, mut c: char) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uncommon_from_sentences` is never used [INFO] [stdout] --> src/concepts.rs:1243:12 [INFO] [stdout] | [INFO] [stdout] 1243 | pub fn uncommon_from_sentences(mut s1: String, mut s2: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_dominoes` is never used [INFO] [stdout] --> src/concepts.rs:1278:12 [INFO] [stdout] | [INFO] [stdout] 1278 | pub fn push_dominoes(dominoes: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `word_pattern` is never used [INFO] [stdout] --> src/concepts.rs:1347:12 [INFO] [stdout] | [INFO] [stdout] 1347 | pub fn word_pattern(pattern: String, s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequency_sort_two` is never used [INFO] [stdout] --> src/concepts.rs:1388:12 [INFO] [stdout] | [INFO] [stdout] 1388 | pub fn frequency_sort_two(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subarray_ranges` is never used [INFO] [stdout] --> src/concepts.rs:1417:12 [INFO] [stdout] | [INFO] [stdout] 1417 | pub fn subarray_ranges(nums: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_len` is never used [INFO] [stdout] --> src/concepts.rs:1434:12 [INFO] [stdout] | [INFO] [stdout] 1434 | pub fn min_len(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_consequtive_ones` is never used [INFO] [stdout] --> src/concepts.rs:1462:12 [INFO] [stdout] | [INFO] [stdout] 1462 | pub fn max_consequtive_ones(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_subsequence` is never used [INFO] [stdout] --> src/concepts.rs:1488:12 [INFO] [stdout] | [INFO] [stdout] 1488 | pub fn is_subsequence(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `license_key_formatting` is never used [INFO] [stdout] --> src/concepts.rs:1517:12 [INFO] [stdout] | [INFO] [stdout] 1517 | pub fn license_key_formatting(s: String, k: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_construct` is never used [INFO] [stdout] --> src/concepts.rs:1553:12 [INFO] [stdout] | [INFO] [stdout] 1553 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_winners` is never used [INFO] [stdout] --> src/concepts.rs:1599:12 [INFO] [stdout] | [INFO] [stdout] 1599 | pub fn find_winners(matches: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_vowel_substrings` is never used [INFO] [stdout] --> src/concepts.rs:1660:12 [INFO] [stdout] | [INFO] [stdout] 1660 | pub fn count_vowel_substrings(word: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_find_word_in_sub` is never used [INFO] [stdout] --> src/concepts.rs:1709:12 [INFO] [stdout] | [INFO] [stdout] 1709 | pub fn is_find_word_in_sub(array: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_palindromic_substring` is never used [INFO] [stdout] --> src/concepts.rs:1744:12 [INFO] [stdout] | [INFO] [stdout] 1744 | pub fn first_palindromic_substring(words: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_sub_without_repeating_chars` is never used [INFO] [stdout] --> src/concepts.rs:1787:12 [INFO] [stdout] | [INFO] [stdout] 1787 | pub fn longest_sub_without_repeating_chars(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_complete_subarrays` is never used [INFO] [stdout] --> src/concepts.rs:1826:12 [INFO] [stdout] | [INFO] [stdout] 1826 | pub fn count_complete_subarrays(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `container_water` is never used [INFO] [stdout] --> src/concepts.rs:1848:12 [INFO] [stdout] | [INFO] [stdout] 1848 | pub fn container_water(height: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_substring` is never used [INFO] [stdout] --> src/concepts.rs:1870:12 [INFO] [stdout] | [INFO] [stdout] 1870 | pub fn longest_substring(word: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_occurence` is never used [INFO] [stdout] --> src/concepts.rs:1911:12 [INFO] [stdout] | [INFO] [stdout] 1911 | pub fn unique_occurence(arr: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_palindrome` is never used [INFO] [stdout] --> src/concepts.rs:1939:12 [INFO] [stdout] | [INFO] [stdout] 1939 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_word_in_dict` is never used [INFO] [stdout] --> src/concepts.rs:1970:12 [INFO] [stdout] | [INFO] [stdout] 1970 | pub fn longest_word_in_dict(mut words: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_last_word` is never used [INFO] [stdout] --> src/concepts.rs:2006:12 [INFO] [stdout] | [INFO] [stdout] 2006 | pub fn length_of_last_word(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `peak_index` is never used [INFO] [stdout] --> src/concepts.rs:2021:12 [INFO] [stdout] | [INFO] [stdout] 2021 | pub fn peak_index(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_place_flowers` is never used [INFO] [stdout] --> src/concepts.rs:2040:12 [INFO] [stdout] | [INFO] [stdout] 2040 | pub fn can_place_flowers(flowerbed: Vec, n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `halves_in_string` is never used [INFO] [stdout] --> src/concepts.rs:2093:12 [INFO] [stdout] | [INFO] [stdout] 2093 | pub fn halves_in_string(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_num_iii` is never used [INFO] [stdout] --> src/concepts.rs:2113:12 [INFO] [stdout] | [INFO] [stdout] 2113 | pub fn single_num_iii(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_words` is never used [INFO] [stdout] --> src/concepts.rs:2136:12 [INFO] [stdout] | [INFO] [stdout] 2136 | pub fn count_words(words1: Vec, words2: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rep_chars` is never used [INFO] [stdout] --> src/concepts.rs:2176:12 [INFO] [stdout] | [INFO] [stdout] 2176 | pub fn rep_chars(s: String) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `most_common_word` is never used [INFO] [stdout] --> src/concepts.rs:2197:12 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn most_common_word(paragraph: String, banned: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_subarray` is never used [INFO] [stdout] --> src/concepts.rs:2243:12 [INFO] [stdout] | [INFO] [stdout] 2243 | pub fn max_subarray(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_absolute_sum` is never used [INFO] [stdout] --> src/concepts.rs:2268:12 [INFO] [stdout] | [INFO] [stdout] 2268 | pub fn max_absolute_sum(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_toeplix_matrix` is never used [INFO] [stdout] --> src/concepts.rs:2306:12 [INFO] [stdout] | [INFO] [stdout] 2306 | pub fn is_toeplix_matrix(matrix: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `word_pattern_check` is never used [INFO] [stdout] --> src/concepts.rs:2329:12 [INFO] [stdout] | [INFO] [stdout] 2329 | pub fn word_pattern_check(pattern: String, s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_vowels_in_given_sub` is never used [INFO] [stdout] --> src/concepts.rs:2377:12 [INFO] [stdout] | [INFO] [stdout] 2377 | pub fn max_vowels_in_given_sub(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_freq` is never used [INFO] [stdout] --> src/concepts.rs:2452:12 [INFO] [stdout] | [INFO] [stdout] 2452 | pub fn max_freq(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_of_subarrays_two` is never used [INFO] [stdout] --> src/concepts.rs:2484:12 [INFO] [stdout] | [INFO] [stdout] 2484 | pub fn num_of_subarrays_two(arr: Vec, k: i32, threshold: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_good_sub` is never used [INFO] [stdout] --> src/concepts.rs:2527:12 [INFO] [stdout] | [INFO] [stdout] 2527 | pub fn count_good_sub(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kth_distinct` is never used [INFO] [stdout] --> src/concepts.rs:2579:12 [INFO] [stdout] | [INFO] [stdout] 2579 | pub fn kth_distinct(arr: Vec, k: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_relative_ranks` is never used [INFO] [stdout] --> src/concepts.rs:2626:12 [INFO] [stdout] | [INFO] [stdout] 2626 | pub fn find_relative_ranks(score: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_set_size` is never used [INFO] [stdout] --> src/concepts.rs:2656:12 [INFO] [stdout] | [INFO] [stdout] 2656 | pub fn min_set_size(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_k_frequent_elements` is never used [INFO] [stdout] --> src/concepts.rs:2698:12 [INFO] [stdout] | [INFO] [stdout] 2698 | pub fn top_k_frequent_elements(nums: Vec, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_anagrams` is never used [INFO] [stdout] --> src/concepts.rs:2726:12 [INFO] [stdout] | [INFO] [stdout] 2726 | pub fn find_all_anagrams(s: String, p: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zero_filled_subarrays` is never used [INFO] [stdout] --> src/concepts.rs:2776:12 [INFO] [stdout] | [INFO] [stdout] 2776 | pub fn zero_filled_subarrays(mut nums: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_power` is never used [INFO] [stdout] --> src/concepts.rs:2808:12 [INFO] [stdout] | [INFO] [stdout] 2808 | pub fn max_power(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_lucky` is never used [INFO] [stdout] --> src/concepts.rs:2830:12 [INFO] [stdout] | [INFO] [stdout] 2830 | pub fn find_lucky(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_consequtive_sequence` is never used [INFO] [stdout] --> src/concepts.rs:2853:12 [INFO] [stdout] | [INFO] [stdout] 2853 | pub fn longest_consequtive_sequence(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `similar_pairs` is never used [INFO] [stdout] --> src/concepts.rs:2875:12 [INFO] [stdout] | [INFO] [stdout] 2875 | pub fn similar_pairs(words: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_dom` is never used [INFO] [stdout] --> src/concepts.rs:2911:12 [INFO] [stdout] | [INFO] [stdout] 2911 | pub fn push_dom(dominoes: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vowel_strings` is never used [INFO] [stdout] --> src/concepts.rs:2965:12 [INFO] [stdout] | [INFO] [stdout] 2965 | pub fn vowel_strings(words: Vec, left: i32, right: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_shit` is never used [INFO] [stdout] --> src/concepts.rs:2982:12 [INFO] [stdout] | [INFO] [stdout] 2982 | pub fn random_shit() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shortest_to_char_try` is never used [INFO] [stdout] --> src/concepts.rs:3001:12 [INFO] [stdout] | [INFO] [stdout] 3001 | pub fn shortest_to_char_try(s: String, c: char) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_k_frequent` is never used [INFO] [stdout] --> src/concepts.rs:3038:12 [INFO] [stdout] | [INFO] [stdout] 3038 | pub fn top_k_frequent(mut words: Vec, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_words` is never used [INFO] [stdout] --> src/concepts.rs:3070:12 [INFO] [stdout] | [INFO] [stdout] 3070 | pub fn reverse_words(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition_string_two` is never used [INFO] [stdout] --> src/concepts.rs:3100:12 [INFO] [stdout] | [INFO] [stdout] 3100 | pub fn partition_string_two(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_increasing_subsequence` is never used [INFO] [stdout] --> src/concepts.rs:3121:12 [INFO] [stdout] | [INFO] [stdout] 3121 | pub fn longest_increasing_subsequence(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_kth_largest` is never used [INFO] [stdout] --> src/concepts.rs:3141:12 [INFO] [stdout] | [INFO] [stdout] 3141 | pub fn find_kth_largest(mut nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_good_integer` is never used [INFO] [stdout] --> src/concepts.rs:3161:12 [INFO] [stdout] | [INFO] [stdout] 3161 | pub fn largest_good_integer(num: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_all_codes` is never used [INFO] [stdout] --> src/concepts.rs:3202:12 [INFO] [stdout] | [INFO] [stdout] 3202 | pub fn has_all_codes(s: String, k: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_palindromic_subsequence` is never used [INFO] [stdout] --> src/concepts.rs:3234:12 [INFO] [stdout] | [INFO] [stdout] 3234 | pub fn count_palindromic_subsequence(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_ascending_sum` is never used [INFO] [stdout] --> src/concepts.rs:3305:12 [INFO] [stdout] | [INFO] [stdout] 3305 | pub fn max_ascending_sum(mut nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_characters` is never used [INFO] [stdout] --> src/concepts.rs:3325:12 [INFO] [stdout] | [INFO] [stdout] 3325 | pub fn count_characters(words: Vec, chars: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_deletions` is never used [INFO] [stdout] --> src/concepts.rs:3364:12 [INFO] [stdout] | [INFO] [stdout] 3364 | pub fn min_deletions(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zero_filled` is never used [INFO] [stdout] --> src/concepts.rs:3416:12 [INFO] [stdout] | [INFO] [stdout] 3416 | pub fn zero_filled(mut nums: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `car_fleet` is never used [INFO] [stdout] --> src/concepts.rs:3459:12 [INFO] [stdout] | [INFO] [stdout] 3459 | pub fn car_fleet(target: i32, position: Vec, speed: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_car_collisions` is never used [INFO] [stdout] --> src/concepts.rs:3505:12 [INFO] [stdout] | [INFO] [stdout] 3505 | pub fn count_car_collisions(directions: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_rescue_boats` is never used [INFO] [stdout] --> src/concepts.rs:3537:12 [INFO] [stdout] | [INFO] [stdout] 3537 | pub fn num_rescue_boats(people: Vec, limit: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_continuous_alphbetic_sum` is never used [INFO] [stdout] --> src/concepts.rs:3564:12 [INFO] [stdout] | [INFO] [stdout] 3564 | pub fn longest_continuous_alphbetic_sum(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_vowels` is never used [INFO] [stdout] --> src/concepts.rs:3592:12 [INFO] [stdout] | [INFO] [stdout] 3592 | pub fn max_vowels(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_ones` is never used [INFO] [stdout] --> src/concepts.rs:3629:12 [INFO] [stdout] | [INFO] [stdout] 3629 | pub fn longest_ones(nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_stars` is never used [INFO] [stdout] --> src/concepts.rs:3652:12 [INFO] [stdout] | [INFO] [stdout] 3652 | pub fn remove_stars(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_distance` is never used [INFO] [stdout] --> src/concepts.rs:3672:12 [INFO] [stdout] | [INFO] [stdout] 3672 | pub fn check_distance(s: String, distance: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_alternately` is never used [INFO] [stdout] --> src/concepts.rs:3709:12 [INFO] [stdout] | [INFO] [stdout] 3709 | pub fn merge_alternately(word1: String, word2: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rearrange_nums` is never used [INFO] [stdout] --> src/concepts.rs:3750:12 [INFO] [stdout] | [INFO] [stdout] 3750 | pub fn rearrange_nums(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_lhs` is never used [INFO] [stdout] --> src/concepts.rs:3801:12 [INFO] [stdout] | [INFO] [stdout] 3801 | pub fn find_lhs(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_long_pressed_name` is never used [INFO] [stdout] --> src/concepts.rs:3836:12 [INFO] [stdout] | [INFO] [stdout] 3836 | pub fn is_long_pressed_name(name: String, typed: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_words` is never used [INFO] [stdout] --> src/concepts.rs:3870:12 [INFO] [stdout] | [INFO] [stdout] 3870 | pub fn replace_words(dictionary: Vec, sentence: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_subarrays_with_sum` is never used [INFO] [stdout] --> src/concepts.rs:3901:12 [INFO] [stdout] | [INFO] [stdout] 3901 | pub fn num_subarrays_with_sum(mut nums: Vec, mut goal: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_substring_with_k` is never used [INFO] [stdout] --> src/concepts.rs:3933:12 [INFO] [stdout] | [INFO] [stdout] 3933 | pub fn longest_substring_with_k(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turbulent` is never used [INFO] [stdout] --> src/concepts.rs:3992:12 [INFO] [stdout] | [INFO] [stdout] 3992 | pub fn turbulent(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asteroid_collision` is never used [INFO] [stdout] --> src/concepts.rs:4029:12 [INFO] [stdout] | [INFO] [stdout] 4029 | pub fn asteroid_collision(asteroids: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_least_num_of_unique_ints` is never used [INFO] [stdout] --> src/concepts.rs:4067:12 [INFO] [stdout] | [INFO] [stdout] 4067 | pub fn find_least_num_of_unique_ints(arr: Vec, mut k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_subarray_sum_circular` is never used [INFO] [stdout] --> src/concepts.rs:4103:12 [INFO] [stdout] | [INFO] [stdout] 4103 | pub fn max_subarray_sum_circular(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `occurrences_of_element` is never used [INFO] [stdout] --> src/concepts.rs:4134:12 [INFO] [stdout] | [INFO] [stdout] 4134 | pub fn occurrences_of_element(nums: Vec, queries: Vec, x: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_the_prefix_common_array` is never used [INFO] [stdout] --> src/concepts.rs:4153:12 [INFO] [stdout] | [INFO] [stdout] 4153 | pub fn find_the_prefix_common_array(a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reorg_string` is never used [INFO] [stdout] --> src/concepts.rs:4191:12 [INFO] [stdout] | [INFO] [stdout] 4191 | pub fn reorg_string(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_greater_element` is never used [INFO] [stdout] --> src/concepts.rs:4258:12 [INFO] [stdout] | [INFO] [stdout] 4258 | pub fn next_greater_element(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_and_replace_pattern` is never used [INFO] [stdout] --> src/concepts.rs:4308:12 [INFO] [stdout] | [INFO] [stdout] 4308 | pub fn find_and_replace_pattern(words: Vec, pattern: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_the_people` is never used [INFO] [stdout] --> src/concepts.rs:4356:12 [INFO] [stdout] | [INFO] [stdout] 4356 | pub fn group_the_people(group_sizes: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_subsequence` is never used [INFO] [stdout] --> src/concepts.rs:4381:12 [INFO] [stdout] | [INFO] [stdout] 4381 | pub fn min_subsequence(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_length_dp_sub` is never used [INFO] [stdout] --> src/concepts.rs:4399:12 [INFO] [stdout] | [INFO] [stdout] 4399 | pub fn find_length_dp_sub(nums1: Vec, nums2: Vec)-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_sub_array_len` is never used [INFO] [stdout] --> src/concepts.rs:4417:12 [INFO] [stdout] | [INFO] [stdout] 4417 | pub fn min_sub_array_len(target: i32, nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_typed_words` is never used [INFO] [stdout] --> src/concepts.rs:4438:12 [INFO] [stdout] | [INFO] [stdout] 4438 | pub fn can_be_typed_words(text: String, broken_letters: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_greater_el_ii` is never used [INFO] [stdout] --> src/concepts.rs:4458:12 [INFO] [stdout] | [INFO] [stdout] 4458 | pub fn next_greater_el_ii(nums: Vec)->Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grumpy_owner` is never used [INFO] [stdout] --> src/concepts.rs:4486:12 [INFO] [stdout] | [INFO] [stdout] 4486 | pub fn grumpy_owner(customers: Vec, grumpy: Vec, minutes: i32)-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sChar` should have a snake case name [INFO] [stdout] --> src/concepts.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | for (index, sChar) in s_vec.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `s_char` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "7679b75ecd1eb21776e6ccda3f2d73f4315542e1ad32cfe93102fcbedae5e011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7679b75ecd1eb21776e6ccda3f2d73f4315542e1ad32cfe93102fcbedae5e011", kill_on_drop: false }` [INFO] [stdout] 7679b75ecd1eb21776e6ccda3f2d73f4315542e1ad32cfe93102fcbedae5e011 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 166884e0c4e8d80827d72598c38b4e06ff6d9acd4e44c1da2394e1fd6a352b15 [INFO] running `Command { std: "docker" "start" "-a" "166884e0c4e8d80827d72598c38b4e06ff6d9acd4e44c1da2394e1fd6a352b15", kill_on_drop: false }` [INFO] [stderr] Compiling rust-basics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `concepts::concepts_modules::can_be_typed_words` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use concepts::concepts_modules::can_be_typed_words; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::find_and_replace_pattern` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use concepts::concepts_modules::find_and_replace_pattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::find_length_dp_sub` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use concepts::concepts_modules::find_length_dp_sub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::find_the_prefix_common_array` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use concepts::concepts_modules::find_the_prefix_common_array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::group_the_people` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use concepts::concepts_modules::group_the_people; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::grumpy_owner` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use concepts::concepts_modules::grumpy_owner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::min_sub_array_len` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use concepts::concepts_modules::min_sub_array_len; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::min_subsequence` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use concepts::concepts_modules::min_subsequence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::next_greater_el_ii` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use concepts::concepts_modules::next_greater_el_ii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::next_greater_element` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use concepts::concepts_modules::next_greater_element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::occurrences_of_element` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use concepts::concepts_modules::occurrences_of_element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concepts::concepts_modules::reorg_string` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use concepts::concepts_modules::reorg_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::asteroid_collision` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::concepts::concepts_modules::asteroid_collision; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::find_least_num_of_unique_ints` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::concepts::concepts_modules::find_least_num_of_unique_ints; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::find_lhs` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::concepts::concepts_modules::find_lhs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::is_long_pressed_name` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::concepts::concepts_modules::is_long_pressed_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::longest_substring_with_k` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::concepts::concepts_modules::longest_substring_with_k; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::max_subarray_sum_circular` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::concepts::concepts_modules::max_subarray_sum_circular; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::num_subarrays_with_sum` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::concepts::concepts_modules::num_subarrays_with_sum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::rearrange_nums` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::concepts::concepts_modules::rearrange_nums; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::concepts::concepts_modules::replace_words` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::concepts::concepts_modules::replace_words; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/concepts.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/concepts.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_set::Difference` [INFO] [stdout] --> src/concepts.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::btree_set::Difference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::INFINITY` [INFO] [stdout] --> src/concepts.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/concepts.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32::MAX` [INFO] [stdout] --> src/concepts.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use std::i32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32::MIN` [INFO] [stdout] --> src/concepts.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use std::i32::MIN; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/concepts.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/concepts.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/rust_leetcode.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | for( key, value) in &anagram_map{ // vectors in map have ownership tied to the map [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/rust_leetcode.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | for index in 0..value{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/rust_leetcode.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | for (key, value) in hash.iter_mut(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filtered` [INFO] [stdout] --> src/rust_leetcode.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let filtered: Vec = get_vec.into_iter().filter(|&item| item > 2).collect(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/rust_leetcode.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | for (index , &item) in vec_freq.iter().enumerate(){ // here is returning immutable reference to vec_freq [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust_leetcode.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut consumed_vec: Vec = array.iter().map(|&x| x).collect(); // entirely consumed [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/rust_leetcode.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut mini_vec: Vec = vec![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/rust_leetcode.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut array: Vec = vec![1,2,3,4,5]; [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/rust_leetcode.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut get_vec: Vec = array.into_iter().map(|item| item).collect(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `el` [INFO] [stdout] --> src/concepts.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let el: i32 = array[1]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_el` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/concepts.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 487 | let mut result: String = String::from(""); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_string` is never read [INFO] [stdout] --> src/concepts.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | let mut final_string: String = String::from(""); [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/concepts.rs:720:22 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn min_steps(mut s: String, mut t: String) -> i32 { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concepts.rs:720:37 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn min_steps(mut s: String, mut t: String) -> i32 { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/concepts.rs:881:17 [INFO] [stdout] | [INFO] [stdout] 881 | let mut end: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_one` [INFO] [stdout] --> src/concepts.rs:1160:13 [INFO] [stdout] | [INFO] [stdout] 1160 | let array_one: Vec = vec![1, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/concepts.rs:1162:14 [INFO] [stdout] | [INFO] [stdout] 1162 | for (index, item) in array.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_array` [INFO] [stdout] --> src/concepts.rs:1167:17 [INFO] [stdout] | [INFO] [stdout] 1167 | let mut new_array: Vec = array [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concepts.rs:1167:13 [INFO] [stdout] | [INFO] [stdout] 1167 | let mut new_array: Vec = array [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/concepts.rs:1213:29 [INFO] [stdout] | [INFO] [stdout] 1213 | let mut index: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> src/concepts.rs:1590:19 [INFO] [stdout] | [INFO] [stdout] 1590 | for (key, char) in ransom_hash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concepts.rs:2177:13 [INFO] [stdout] | [INFO] [stdout] 2177 | let mut res_char: char = 'a'; // filler char [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paragraph` [INFO] [stdout] --> src/concepts.rs:2197:29 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn most_common_word(paragraph: String, banned: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paragraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `banned` [INFO] [stdout] --> src/concepts.rs:2197:48 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn most_common_word(paragraph: String, banned: Vec) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_banned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `started` is never read [INFO] [stdout] --> src/concepts.rs:2778:17 [INFO] [stdout] | [INFO] [stdout] 2778 | let mut started: usize = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `started` is never read [INFO] [stdout] --> src/concepts.rs:2795:21 [INFO] [stdout] | [INFO] [stdout] 2795 | started = end; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `started` is never read [INFO] [stdout] --> src/concepts.rs:2801:17 [INFO] [stdout] | [INFO] [stdout] 2801 | started = end; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/concepts.rs:2993:14 [INFO] [stdout] | [INFO] [stdout] 2993 | for (index, curr_item) in vector_something.into_iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concepts.rs:3416:24 [INFO] [stdout] | [INFO] [stdout] 3416 | pub fn zero_filled(mut nums: Vec) -> i64 { [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/concepts.rs:3419:31 [INFO] [stdout] | [INFO] [stdout] 3419 | fn formulaic_approach(mut nums: &mut Vec) -> i64 { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_time` is never read [INFO] [stdout] --> src/concepts.rs:3474:17 [INFO] [stdout] | [INFO] [stdout] 3474 | let mut curr_time: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `counter` is never read [INFO] [stdout] --> src/concepts.rs:3902:17 [INFO] [stdout] | [INFO] [stdout] 3902 | let mut counter: i32 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/concepts.rs:4545:17 [INFO] [stdout] | [INFO] [stdout] 4545 | for i in 0..item.1{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anagram_input` [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut anagram_input: Vec = vec!["bat", "tea", "tan", "ate", "nat", "bat"] [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anagram_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `true_or_false` [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let true_or_false: bool = false; // also 0 and 1 can be used for false and true [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_true_or_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `letter` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let letter: char = 'a'; // for char have to use single quote in order to represent a char [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_letter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tup2` [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut tup2: (i8, bool, char) = (1, true, 's'); // here those are two different types of tuple; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tup2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let arr = [1, 23, 4, 4, 4, 32]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut input = String::new(); // mutable string [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let z: u8 = x / y; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let x: f32 = 10.4f32; // or it can be done using underscore; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let h: i64 = 123_000 as i64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let x = (i32::MAX as i64) + 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let number = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let result: Vec = divide_string("abcdefghij", 3, 'x'); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_sum` [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let add_sum: Vec = two_sum(vec![2, 7, 11, 15], 9); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_matric` [INFO] [stdout] --> src/main.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut vector_matric = vec![vec![1, 1, 1], vec![1, 0, 1], vec![1, 1, 1]]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_matric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut anagram_input: Vec = vec!["bat", "tea", "tan", "ate", "nat", "bat"] [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/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut tup2: (i8, bool, char) = (1, true, 's'); // here those are two different types of tuple; [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/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut input = String::new(); // mutable string [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut vector_matric = vec![vec![1, 1, 1], vec![1, 0, 1], vec![1, 1, 1]]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | for (index, &item) in arr.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | for (index, &item) in hash_values.into_iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut hash_values = hash_map.values(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_vec` [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let result_vec: Vec = vec_basic [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | for (index, item) in mutable_array.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let mut vec_basic: Vec = vec![1, 3, 4, 5, 6, 7, 6]; [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/main.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let mut array: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_number` [INFO] [stdout] --> src/main.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | for (col_index, &curr_number) in matrix[row_index].iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum_match` is never used [INFO] [stdout] --> src/main.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn two_sum_match(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_with_hash` is never used [INFO] [stdout] --> src/main.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn play_with_hash(arr: &mut Vec) -> (HashMap, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_map_iter` is never used [INFO] [stdout] --> src/main.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn check_map_iter(mutable_array: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_camel` is never used [INFO] [stdout] --> src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn random_camel() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matrix_set_zeroes` is never used [INFO] [stdout] --> src/main.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn matrix_set_zeroes(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition_string_match` is never used [INFO] [stdout] --> src/main.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn partition_string_match(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition_string` is never used [INFO] [stdout] --> src/main.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn partition_string(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_stack` is never used [INFO] [stdout] --> src/rust_leetcode.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn is_valid_stack(s:String)-> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_group_anagram` is never used [INFO] [stdout] --> src/rust_leetcode.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_group_anagram(strs: &mut Vec)-> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequency_sort` is never used [INFO] [stdout] --> src/rust_leetcode.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn frequency_sort(s:String)-> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_subarray_after_deletion` is never used [INFO] [stdout] --> src/rust_leetcode.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn longest_subarray_after_deletion(nums:Vec) -> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iterator_playground` is never used [INFO] [stdout] --> src/rust_leetcode.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn iterator_playground(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_str` is never used [INFO] [stdout] --> src/concepts.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn str_str(haystack: String, needle: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_palindrome` is never used [INFO] [stdout] --> src/concepts.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_palindrome(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_ocurrences` is never used [INFO] [stdout] --> src/concepts.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn find_ocurrences(text: String, first: String, second: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_disappeared_numbers` is never used [INFO] [stdout] --> src/concepts.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn find_disappeared_numbers(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_uniq_char` is never used [INFO] [stdout] --> src/concepts.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn first_uniq_char(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_colors` is never used [INFO] [stdout] --> src/concepts.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn sort_colors(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_zeroes` is never used [INFO] [stdout] --> src/concepts.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_zeroes(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `suggested_products` is never used [INFO] [stdout] --> src/concepts.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn suggested_products(mut products: Vec, search_word: String) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_peak_element` is never used [INFO] [stdout] --> src/concepts.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn find_peak_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_zeroes` is never used [INFO] [stdout] --> src/concepts.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn move_zeroes(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rob` is never used [INFO] [stdout] --> src/concepts.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn rob(nums: Vec) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_of_substrings` is never used [INFO] [stdout] --> src/concepts.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn number_of_substrings(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_of_strings` is never used [INFO] [stdout] --> src/concepts.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn num_of_strings(patterns: Vec, word: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_common_prefix` is never used [INFO] [stdout] --> src/concepts.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn longest_common_prefix(strs: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_substrings` is never used [INFO] [stdout] --> src/concepts.rs:392:12 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn count_substrings(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `common_chars` is never used [INFO] [stdout] --> src/concepts.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn common_chars(words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_ground` is never used [INFO] [stdout] --> src/concepts.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn play_ground() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_vowels` is never used [INFO] [stdout] --> src/concepts.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn reverse_vowels(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_duplicates` is never used [INFO] [stdout] --> src/concepts.rs:527:12 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn remove_duplicates(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_anagram` is never used [INFO] [stdout] --> src/concepts.rs:551:12 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn is_anagram(mut s: String, mut t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_earn` is never used [INFO] [stdout] --> src/concepts.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | pub fn delete_earn(mut nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_rank_transform` is never used [INFO] [stdout] --> src/concepts.rs:647:12 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn array_rank_transform(mut arr: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_of_subarrays` is never used [INFO] [stdout] --> src/concepts.rs:679:12 [INFO] [stdout] | [INFO] [stdout] 679 | pub fn number_of_subarrays(nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_steps` is never used [INFO] [stdout] --> src/concepts.rs:720:12 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn min_steps(mut s: String, mut t: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_parity` is never used [INFO] [stdout] --> src/concepts.rs:765:12 [INFO] [stdout] | [INFO] [stdout] 765 | pub fn sort_by_parity(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `house_robber_ii` is never used [INFO] [stdout] --> src/concepts.rs:788:12 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn house_robber_ii(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_ground_two` is never used [INFO] [stdout] --> src/concepts.rs:842:12 [INFO] [stdout] | [INFO] [stdout] 842 | pub fn play_ground_two() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `percentage_letter` is never used [INFO] [stdout] --> src/concepts.rs:859:12 [INFO] [stdout] | [INFO] [stdout] 859 | pub fn percentage_letter(s: String, letter: char) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimum_recolors` is never used [INFO] [stdout] --> src/concepts.rs:878:12 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn minimum_recolors(blocks: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_longest_palindrome` is never used [INFO] [stdout] --> src/concepts.rs:914:12 [INFO] [stdout] | [INFO] [stdout] 914 | pub fn get_longest_palindrome(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection` is never used [INFO] [stdout] --> src/concepts.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | pub fn intersection(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition_labels` is never used [INFO] [stdout] --> src/concepts.rs:974:12 [INFO] [stdout] | [INFO] [stdout] 974 | pub fn partition_labels(s: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subarray_sum` is never used [INFO] [stdout] --> src/concepts.rs:1026:12 [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn subarray_sum(nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pivot_index` is never used [INFO] [stdout] --> src/concepts.rs:1050:12 [INFO] [stdout] | [INFO] [stdout] 1050 | pub fn pivot_index(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeated_character` is never used [INFO] [stdout] --> src/concepts.rs:1063:12 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn repeated_character(s: String) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_char_replacement` is never used [INFO] [stdout] --> src/concepts.rs:1078:12 [INFO] [stdout] | [INFO] [stdout] 1078 | pub fn longest_char_replacement(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect_array` is never used [INFO] [stdout] --> src/concepts.rs:1111:12 [INFO] [stdout] | [INFO] [stdout] 1111 | pub fn intersect_array(mut nums1: Vec, mut nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fucking_function` is never used [INFO] [stdout] --> src/concepts.rs:1157:12 [INFO] [stdout] | [INFO] [stdout] 1157 | pub fn fucking_function() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shortest_distance_to_char` is never used [INFO] [stdout] --> src/concepts.rs:1177:12 [INFO] [stdout] | [INFO] [stdout] 1177 | pub fn shortest_distance_to_char(mut s: String, mut c: char) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uncommon_from_sentences` is never used [INFO] [stdout] --> src/concepts.rs:1243:12 [INFO] [stdout] | [INFO] [stdout] 1243 | pub fn uncommon_from_sentences(mut s1: String, mut s2: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_dominoes` is never used [INFO] [stdout] --> src/concepts.rs:1278:12 [INFO] [stdout] | [INFO] [stdout] 1278 | pub fn push_dominoes(dominoes: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `word_pattern` is never used [INFO] [stdout] --> src/concepts.rs:1347:12 [INFO] [stdout] | [INFO] [stdout] 1347 | pub fn word_pattern(pattern: String, s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequency_sort_two` is never used [INFO] [stdout] --> src/concepts.rs:1388:12 [INFO] [stdout] | [INFO] [stdout] 1388 | pub fn frequency_sort_two(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subarray_ranges` is never used [INFO] [stdout] --> src/concepts.rs:1417:12 [INFO] [stdout] | [INFO] [stdout] 1417 | pub fn subarray_ranges(nums: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_len` is never used [INFO] [stdout] --> src/concepts.rs:1434:12 [INFO] [stdout] | [INFO] [stdout] 1434 | pub fn min_len(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_consequtive_ones` is never used [INFO] [stdout] --> src/concepts.rs:1462:12 [INFO] [stdout] | [INFO] [stdout] 1462 | pub fn max_consequtive_ones(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_subsequence` is never used [INFO] [stdout] --> src/concepts.rs:1488:12 [INFO] [stdout] | [INFO] [stdout] 1488 | pub fn is_subsequence(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `license_key_formatting` is never used [INFO] [stdout] --> src/concepts.rs:1517:12 [INFO] [stdout] | [INFO] [stdout] 1517 | pub fn license_key_formatting(s: String, k: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_construct` is never used [INFO] [stdout] --> src/concepts.rs:1553:12 [INFO] [stdout] | [INFO] [stdout] 1553 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_winners` is never used [INFO] [stdout] --> src/concepts.rs:1599:12 [INFO] [stdout] | [INFO] [stdout] 1599 | pub fn find_winners(matches: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_vowel_substrings` is never used [INFO] [stdout] --> src/concepts.rs:1660:12 [INFO] [stdout] | [INFO] [stdout] 1660 | pub fn count_vowel_substrings(word: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_find_word_in_sub` is never used [INFO] [stdout] --> src/concepts.rs:1709:12 [INFO] [stdout] | [INFO] [stdout] 1709 | pub fn is_find_word_in_sub(array: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_palindromic_substring` is never used [INFO] [stdout] --> src/concepts.rs:1744:12 [INFO] [stdout] | [INFO] [stdout] 1744 | pub fn first_palindromic_substring(words: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_sub_without_repeating_chars` is never used [INFO] [stdout] --> src/concepts.rs:1787:12 [INFO] [stdout] | [INFO] [stdout] 1787 | pub fn longest_sub_without_repeating_chars(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_complete_subarrays` is never used [INFO] [stdout] --> src/concepts.rs:1826:12 [INFO] [stdout] | [INFO] [stdout] 1826 | pub fn count_complete_subarrays(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `container_water` is never used [INFO] [stdout] --> src/concepts.rs:1848:12 [INFO] [stdout] | [INFO] [stdout] 1848 | pub fn container_water(height: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_substring` is never used [INFO] [stdout] --> src/concepts.rs:1870:12 [INFO] [stdout] | [INFO] [stdout] 1870 | pub fn longest_substring(word: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_occurence` is never used [INFO] [stdout] --> src/concepts.rs:1911:12 [INFO] [stdout] | [INFO] [stdout] 1911 | pub fn unique_occurence(arr: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_palindrome` is never used [INFO] [stdout] --> src/concepts.rs:1939:12 [INFO] [stdout] | [INFO] [stdout] 1939 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_word_in_dict` is never used [INFO] [stdout] --> src/concepts.rs:1970:12 [INFO] [stdout] | [INFO] [stdout] 1970 | pub fn longest_word_in_dict(mut words: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_last_word` is never used [INFO] [stdout] --> src/concepts.rs:2006:12 [INFO] [stdout] | [INFO] [stdout] 2006 | pub fn length_of_last_word(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `peak_index` is never used [INFO] [stdout] --> src/concepts.rs:2021:12 [INFO] [stdout] | [INFO] [stdout] 2021 | pub fn peak_index(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_place_flowers` is never used [INFO] [stdout] --> src/concepts.rs:2040:12 [INFO] [stdout] | [INFO] [stdout] 2040 | pub fn can_place_flowers(flowerbed: Vec, n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `halves_in_string` is never used [INFO] [stdout] --> src/concepts.rs:2093:12 [INFO] [stdout] | [INFO] [stdout] 2093 | pub fn halves_in_string(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_num_iii` is never used [INFO] [stdout] --> src/concepts.rs:2113:12 [INFO] [stdout] | [INFO] [stdout] 2113 | pub fn single_num_iii(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_words` is never used [INFO] [stdout] --> src/concepts.rs:2136:12 [INFO] [stdout] | [INFO] [stdout] 2136 | pub fn count_words(words1: Vec, words2: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rep_chars` is never used [INFO] [stdout] --> src/concepts.rs:2176:12 [INFO] [stdout] | [INFO] [stdout] 2176 | pub fn rep_chars(s: String) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `most_common_word` is never used [INFO] [stdout] --> src/concepts.rs:2197:12 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn most_common_word(paragraph: String, banned: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_subarray` is never used [INFO] [stdout] --> src/concepts.rs:2243:12 [INFO] [stdout] | [INFO] [stdout] 2243 | pub fn max_subarray(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_absolute_sum` is never used [INFO] [stdout] --> src/concepts.rs:2268:12 [INFO] [stdout] | [INFO] [stdout] 2268 | pub fn max_absolute_sum(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_toeplix_matrix` is never used [INFO] [stdout] --> src/concepts.rs:2306:12 [INFO] [stdout] | [INFO] [stdout] 2306 | pub fn is_toeplix_matrix(matrix: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `word_pattern_check` is never used [INFO] [stdout] --> src/concepts.rs:2329:12 [INFO] [stdout] | [INFO] [stdout] 2329 | pub fn word_pattern_check(pattern: String, s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_vowels_in_given_sub` is never used [INFO] [stdout] --> src/concepts.rs:2377:12 [INFO] [stdout] | [INFO] [stdout] 2377 | pub fn max_vowels_in_given_sub(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_freq` is never used [INFO] [stdout] --> src/concepts.rs:2452:12 [INFO] [stdout] | [INFO] [stdout] 2452 | pub fn max_freq(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_of_subarrays_two` is never used [INFO] [stdout] --> src/concepts.rs:2484:12 [INFO] [stdout] | [INFO] [stdout] 2484 | pub fn num_of_subarrays_two(arr: Vec, k: i32, threshold: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_good_sub` is never used [INFO] [stdout] --> src/concepts.rs:2527:12 [INFO] [stdout] | [INFO] [stdout] 2527 | pub fn count_good_sub(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kth_distinct` is never used [INFO] [stdout] --> src/concepts.rs:2579:12 [INFO] [stdout] | [INFO] [stdout] 2579 | pub fn kth_distinct(arr: Vec, k: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_relative_ranks` is never used [INFO] [stdout] --> src/concepts.rs:2626:12 [INFO] [stdout] | [INFO] [stdout] 2626 | pub fn find_relative_ranks(score: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_set_size` is never used [INFO] [stdout] --> src/concepts.rs:2656:12 [INFO] [stdout] | [INFO] [stdout] 2656 | pub fn min_set_size(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_k_frequent_elements` is never used [INFO] [stdout] --> src/concepts.rs:2698:12 [INFO] [stdout] | [INFO] [stdout] 2698 | pub fn top_k_frequent_elements(nums: Vec, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_anagrams` is never used [INFO] [stdout] --> src/concepts.rs:2726:12 [INFO] [stdout] | [INFO] [stdout] 2726 | pub fn find_all_anagrams(s: String, p: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zero_filled_subarrays` is never used [INFO] [stdout] --> src/concepts.rs:2776:12 [INFO] [stdout] | [INFO] [stdout] 2776 | pub fn zero_filled_subarrays(mut nums: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_power` is never used [INFO] [stdout] --> src/concepts.rs:2808:12 [INFO] [stdout] | [INFO] [stdout] 2808 | pub fn max_power(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_lucky` is never used [INFO] [stdout] --> src/concepts.rs:2830:12 [INFO] [stdout] | [INFO] [stdout] 2830 | pub fn find_lucky(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_consequtive_sequence` is never used [INFO] [stdout] --> src/concepts.rs:2853:12 [INFO] [stdout] | [INFO] [stdout] 2853 | pub fn longest_consequtive_sequence(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `similar_pairs` is never used [INFO] [stdout] --> src/concepts.rs:2875:12 [INFO] [stdout] | [INFO] [stdout] 2875 | pub fn similar_pairs(words: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_dom` is never used [INFO] [stdout] --> src/concepts.rs:2911:12 [INFO] [stdout] | [INFO] [stdout] 2911 | pub fn push_dom(dominoes: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vowel_strings` is never used [INFO] [stdout] --> src/concepts.rs:2965:12 [INFO] [stdout] | [INFO] [stdout] 2965 | pub fn vowel_strings(words: Vec, left: i32, right: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_shit` is never used [INFO] [stdout] --> src/concepts.rs:2982:12 [INFO] [stdout] | [INFO] [stdout] 2982 | pub fn random_shit() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shortest_to_char_try` is never used [INFO] [stdout] --> src/concepts.rs:3001:12 [INFO] [stdout] | [INFO] [stdout] 3001 | pub fn shortest_to_char_try(s: String, c: char) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_k_frequent` is never used [INFO] [stdout] --> src/concepts.rs:3038:12 [INFO] [stdout] | [INFO] [stdout] 3038 | pub fn top_k_frequent(mut words: Vec, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_words` is never used [INFO] [stdout] --> src/concepts.rs:3070:12 [INFO] [stdout] | [INFO] [stdout] 3070 | pub fn reverse_words(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition_string_two` is never used [INFO] [stdout] --> src/concepts.rs:3100:12 [INFO] [stdout] | [INFO] [stdout] 3100 | pub fn partition_string_two(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_increasing_subsequence` is never used [INFO] [stdout] --> src/concepts.rs:3121:12 [INFO] [stdout] | [INFO] [stdout] 3121 | pub fn longest_increasing_subsequence(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_kth_largest` is never used [INFO] [stdout] --> src/concepts.rs:3141:12 [INFO] [stdout] | [INFO] [stdout] 3141 | pub fn find_kth_largest(mut nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_good_integer` is never used [INFO] [stdout] --> src/concepts.rs:3161:12 [INFO] [stdout] | [INFO] [stdout] 3161 | pub fn largest_good_integer(num: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_all_codes` is never used [INFO] [stdout] --> src/concepts.rs:3202:12 [INFO] [stdout] | [INFO] [stdout] 3202 | pub fn has_all_codes(s: String, k: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_palindromic_subsequence` is never used [INFO] [stdout] --> src/concepts.rs:3234:12 [INFO] [stdout] | [INFO] [stdout] 3234 | pub fn count_palindromic_subsequence(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_ascending_sum` is never used [INFO] [stdout] --> src/concepts.rs:3305:12 [INFO] [stdout] | [INFO] [stdout] 3305 | pub fn max_ascending_sum(mut nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_characters` is never used [INFO] [stdout] --> src/concepts.rs:3325:12 [INFO] [stdout] | [INFO] [stdout] 3325 | pub fn count_characters(words: Vec, chars: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_deletions` is never used [INFO] [stdout] --> src/concepts.rs:3364:12 [INFO] [stdout] | [INFO] [stdout] 3364 | pub fn min_deletions(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zero_filled` is never used [INFO] [stdout] --> src/concepts.rs:3416:12 [INFO] [stdout] | [INFO] [stdout] 3416 | pub fn zero_filled(mut nums: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `car_fleet` is never used [INFO] [stdout] --> src/concepts.rs:3459:12 [INFO] [stdout] | [INFO] [stdout] 3459 | pub fn car_fleet(target: i32, position: Vec, speed: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_car_collisions` is never used [INFO] [stdout] --> src/concepts.rs:3505:12 [INFO] [stdout] | [INFO] [stdout] 3505 | pub fn count_car_collisions(directions: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_rescue_boats` is never used [INFO] [stdout] --> src/concepts.rs:3537:12 [INFO] [stdout] | [INFO] [stdout] 3537 | pub fn num_rescue_boats(people: Vec, limit: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_continuous_alphbetic_sum` is never used [INFO] [stdout] --> src/concepts.rs:3564:12 [INFO] [stdout] | [INFO] [stdout] 3564 | pub fn longest_continuous_alphbetic_sum(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_vowels` is never used [INFO] [stdout] --> src/concepts.rs:3592:12 [INFO] [stdout] | [INFO] [stdout] 3592 | pub fn max_vowels(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_ones` is never used [INFO] [stdout] --> src/concepts.rs:3629:12 [INFO] [stdout] | [INFO] [stdout] 3629 | pub fn longest_ones(nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_stars` is never used [INFO] [stdout] --> src/concepts.rs:3652:12 [INFO] [stdout] | [INFO] [stdout] 3652 | pub fn remove_stars(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_distance` is never used [INFO] [stdout] --> src/concepts.rs:3672:12 [INFO] [stdout] | [INFO] [stdout] 3672 | pub fn check_distance(s: String, distance: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_alternately` is never used [INFO] [stdout] --> src/concepts.rs:3709:12 [INFO] [stdout] | [INFO] [stdout] 3709 | pub fn merge_alternately(word1: String, word2: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rearrange_nums` is never used [INFO] [stdout] --> src/concepts.rs:3750:12 [INFO] [stdout] | [INFO] [stdout] 3750 | pub fn rearrange_nums(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_lhs` is never used [INFO] [stdout] --> src/concepts.rs:3801:12 [INFO] [stdout] | [INFO] [stdout] 3801 | pub fn find_lhs(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_long_pressed_name` is never used [INFO] [stdout] --> src/concepts.rs:3836:12 [INFO] [stdout] | [INFO] [stdout] 3836 | pub fn is_long_pressed_name(name: String, typed: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_words` is never used [INFO] [stdout] --> src/concepts.rs:3870:12 [INFO] [stdout] | [INFO] [stdout] 3870 | pub fn replace_words(dictionary: Vec, sentence: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_subarrays_with_sum` is never used [INFO] [stdout] --> src/concepts.rs:3901:12 [INFO] [stdout] | [INFO] [stdout] 3901 | pub fn num_subarrays_with_sum(mut nums: Vec, mut goal: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_substring_with_k` is never used [INFO] [stdout] --> src/concepts.rs:3933:12 [INFO] [stdout] | [INFO] [stdout] 3933 | pub fn longest_substring_with_k(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turbulent` is never used [INFO] [stdout] --> src/concepts.rs:3992:12 [INFO] [stdout] | [INFO] [stdout] 3992 | pub fn turbulent(arr: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asteroid_collision` is never used [INFO] [stdout] --> src/concepts.rs:4029:12 [INFO] [stdout] | [INFO] [stdout] 4029 | pub fn asteroid_collision(asteroids: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_least_num_of_unique_ints` is never used [INFO] [stdout] --> src/concepts.rs:4067:12 [INFO] [stdout] | [INFO] [stdout] 4067 | pub fn find_least_num_of_unique_ints(arr: Vec, mut k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_subarray_sum_circular` is never used [INFO] [stdout] --> src/concepts.rs:4103:12 [INFO] [stdout] | [INFO] [stdout] 4103 | pub fn max_subarray_sum_circular(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `occurrences_of_element` is never used [INFO] [stdout] --> src/concepts.rs:4134:12 [INFO] [stdout] | [INFO] [stdout] 4134 | pub fn occurrences_of_element(nums: Vec, queries: Vec, x: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_the_prefix_common_array` is never used [INFO] [stdout] --> src/concepts.rs:4153:12 [INFO] [stdout] | [INFO] [stdout] 4153 | pub fn find_the_prefix_common_array(a: Vec, b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reorg_string` is never used [INFO] [stdout] --> src/concepts.rs:4191:12 [INFO] [stdout] | [INFO] [stdout] 4191 | pub fn reorg_string(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_greater_element` is never used [INFO] [stdout] --> src/concepts.rs:4258:12 [INFO] [stdout] | [INFO] [stdout] 4258 | pub fn next_greater_element(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_and_replace_pattern` is never used [INFO] [stdout] --> src/concepts.rs:4308:12 [INFO] [stdout] | [INFO] [stdout] 4308 | pub fn find_and_replace_pattern(words: Vec, pattern: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_the_people` is never used [INFO] [stdout] --> src/concepts.rs:4356:12 [INFO] [stdout] | [INFO] [stdout] 4356 | pub fn group_the_people(group_sizes: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_subsequence` is never used [INFO] [stdout] --> src/concepts.rs:4381:12 [INFO] [stdout] | [INFO] [stdout] 4381 | pub fn min_subsequence(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_length_dp_sub` is never used [INFO] [stdout] --> src/concepts.rs:4399:12 [INFO] [stdout] | [INFO] [stdout] 4399 | pub fn find_length_dp_sub(nums1: Vec, nums2: Vec)-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_sub_array_len` is never used [INFO] [stdout] --> src/concepts.rs:4417:12 [INFO] [stdout] | [INFO] [stdout] 4417 | pub fn min_sub_array_len(target: i32, nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_typed_words` is never used [INFO] [stdout] --> src/concepts.rs:4438:12 [INFO] [stdout] | [INFO] [stdout] 4438 | pub fn can_be_typed_words(text: String, broken_letters: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_greater_el_ii` is never used [INFO] [stdout] --> src/concepts.rs:4458:12 [INFO] [stdout] | [INFO] [stdout] 4458 | pub fn next_greater_el_ii(nums: Vec)->Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grumpy_owner` is never used [INFO] [stdout] --> src/concepts.rs:4486:12 [INFO] [stdout] | [INFO] [stdout] 4486 | pub fn grumpy_owner(customers: Vec, grumpy: Vec, minutes: i32)-> i32{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sChar` should have a snake case name [INFO] [stdout] --> src/concepts.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | for (index, sChar) in s_vec.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `s_char` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "166884e0c4e8d80827d72598c38b4e06ff6d9acd4e44c1da2394e1fd6a352b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "166884e0c4e8d80827d72598c38b4e06ff6d9acd4e44c1da2394e1fd6a352b15", kill_on_drop: false }` [INFO] [stdout] 166884e0c4e8d80827d72598c38b4e06ff6d9acd4e44c1da2394e1fd6a352b15