[INFO] cloning repository https://github.com/kalinavladd/leetcode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kalinavladd/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalinavladd%2Fleetcode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalinavladd%2Fleetcode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c52f29e1c813abb9448abd3754884635567db336
[INFO] checking kalinavladd/leetcode against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalinavladd%2Fleetcode" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kalinavladd/leetcode on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kalinavladd/leetcode
[INFO] finished tweaking git repo https://github.com/kalinavladd/leetcode
[INFO] tweaked toml for git repo https://github.com/kalinavladd/leetcode written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/kalinavladd/leetcode already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[ERROR] this task or one of its parent failed!
[ERROR] no output for 300 seconds
[ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.
[INFO] checking kalinavladd/leetcode against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalinavladd%2Fleetcode" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kalinavladd/leetcode on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kalinavladd/leetcode
[INFO] finished tweaking git repo https://github.com/kalinavladd/leetcode
[INFO] tweaked toml for git repo https://github.com/kalinavladd/leetcode written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/kalinavladd/leetcode already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking kalinavladd/leetcode against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalinavladd%2Fleetcode" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kalinavladd/leetcode on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kalinavladd/leetcode
[INFO] finished tweaking git repo https://github.com/kalinavladd/leetcode
[INFO] tweaked toml for git repo https://github.com/kalinavladd/leetcode written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/kalinavladd/leetcode already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c67aee8f45dd76652c5c9af36ebc887057ab771976cd2878897880660a16a56e
[INFO] running `Command { std: "docker" "start" "-a" "c67aee8f45dd76652c5c9af36ebc887057ab771976cd2878897880660a16a56e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c67aee8f45dd76652c5c9af36ebc887057ab771976cd2878897880660a16a56e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c67aee8f45dd76652c5c9af36ebc887057ab771976cd2878897880660a16a56e", kill_on_drop: false }`
[INFO] [stdout] c67aee8f45dd76652c5c9af36ebc887057ab771976cd2878897880660a16a56e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3025076b6fa792f4e6c5088480b32a0c3609f054a98c6ac5fc2ff2bfb4cda92b
[INFO] running `Command { std: "docker" "start" "-a" "3025076b6fa792f4e6c5088480b32a0c3609f054a98c6ac5fc2ff2bfb4cda92b", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::iter::zip`
[INFO] [stdout]  --> src/leetcode_easy/arrays/shuffle_array.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::iter::zip;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::zip`
[INFO] [stdout]  --> src/leetcode_easy/arrays/shuffle_array.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::iter::zip;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/leetcode_easy/arrays/decompress_run_length.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         for i in 0..nums[freq_index] {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `result` is never read
[INFO] [stdout]   --> src/leetcode_easy/arrays/difference_of_sum.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut result = 0;
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sent` is never read
[INFO] [stdout]  --> src/leetcode_easy/arrays/max_number_of_word.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut sent = Vec::new();
[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/leetcode_easy/arrays/sum_odd_length_subarrays.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut result = (1..=arr.len()).step_by(2).fold(0, |acc, curr_len| {
[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: function `array_strings_are_equal` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/array_strings_are_equal.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn array_strings_are_equal(word1: Vec<String>, word2: Vec<String>) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `array_strings_are_equal2` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/array_strings_are_equal.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn array_strings_are_equal2(word1: Vec<String>, word2: Vec<String>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `balanced_string_split` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/balanced_strings.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn balanced_string_split(s: String) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_array` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/build_array_from_permutation.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn build_array(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_build_array` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/build_array_from_permutation.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn test_build_array() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_concatenation` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/concatenation_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn get_concatenation(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_concatenation2` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/concatenation_array.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn get_concatenation2(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_concatenation3` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/concatenation_array.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn get_concatenation3(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_consistent_strings` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/count_consistent_strings.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn count_consistent_strings(allowed: String, words: Vec<String>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_k_difference` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/count_k_difference.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn count_k_difference(nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_matches` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/count_matches.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn count_matches(items: Vec<Vec<String>>, rule_key: String, rule_value: String) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_target_array` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/create_target_array.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn create_target_array(nums: Vec<i32>, index: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_target_array2` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/create_target_array.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn create_target_array2(nums: Vec<i32>, index: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decompress_rl_elist` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/decompress_run_length.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn decompress_rl_elist(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `defang_i_paddr` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/defanging_ip_address.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn defang_i_paddr(address: String) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `difference_of_sum` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/difference_of_sum.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn difference_of_sum(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `difference_of_sum_2` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/difference_of_sum.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn difference_of_sum_2(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `final_value_after_operations` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/final_value_after_performing_operations.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn final_value_after_operations(operations: Vec<String>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interpret` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/goal_parser.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn interpret(command: String) -> String {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `smaller_numbers_than_current` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/how_many_numbers_smaller_than_current_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn smaller_numbers_than_current(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `num_jewels_in_stones` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/jewels_and_stones.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn num_jewels_in_stones(jewels: String, stones: String) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kids_with_candies` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/kids_with_greatest_number_candies.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn kids_with_candies(candies: Vec<i32>, extra_candies: i32) -> Vec<bool> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length_of_last_word` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/length_of_last_word.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn length_of_last_word(s: String) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `most_words_found` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/max_number_of_word.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn most_words_found(sentences: Vec<String>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `num_identical_pairs` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/number_good_pairs.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn num_identical_pairs(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/plus_one.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn plus_one(mut digits: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_element` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/remove_value.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `restore_string` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/restore_string.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn restore_string(s: String, indices: Vec<i32>) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `restore_string_2` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/restore_string.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn restore_string_2(s: String, indices: Vec<i32>) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `maximum_wealth` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/richest_customer_wealth.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn maximum_wealth(accounts: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `running_sum` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/running_sum_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn running_sum(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shuffle` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/shuffle_array.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn shuffle(nums: Vec<i32>, n: i32) -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_odd_length_subarrays` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/sum_odd_length_subarrays.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sum_odd_length_subarrays(arr: Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_odd_length_subarrays2` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/sum_odd_length_subarrays.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn sum_odd_length_subarrays2(arr: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `truncate_sentence` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/truncate_sentence.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn truncate_sentence(s: String, k: i32) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `two_sum` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/two_nums.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/valid_parentheses.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn is_valid(s: String) -> bool {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 42 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/leetcode_easy/arrays/decompress_run_length.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         for i in 0..nums[freq_index] {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `result` is never read
[INFO] [stdout]   --> src/leetcode_easy/arrays/difference_of_sum.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut result = 0;
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sent` is never read
[INFO] [stdout]  --> src/leetcode_easy/arrays/max_number_of_word.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut sent = Vec::new();
[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/leetcode_easy/arrays/sum_odd_length_subarrays.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut result = (1..=arr.len()).step_by(2).fold(0, |acc, curr_len| {
[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: function `build_array` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/build_array_from_permutation.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn build_array(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_build_array` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/build_array_from_permutation.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn test_build_array() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `restore_string_2` is never used
[INFO] [stdout]   --> src/leetcode_easy/arrays/restore_string.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn restore_string_2(s: String, indices: Vec<i32>) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `two_sum` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/two_nums.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid` is never used
[INFO] [stdout]  --> src/leetcode_easy/arrays/valid_parentheses.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn is_valid(s: String) -> bool {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "3025076b6fa792f4e6c5088480b32a0c3609f054a98c6ac5fc2ff2bfb4cda92b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3025076b6fa792f4e6c5088480b32a0c3609f054a98c6ac5fc2ff2bfb4cda92b", kill_on_drop: false }`
[INFO] [stdout] 3025076b6fa792f4e6c5088480b32a0c3609f054a98c6ac5fc2ff2bfb4cda92b
