[INFO] cloning repository https://github.com/riyadshauk/leetcode_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/riyadshauk/leetcode_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friyadshauk%2Fleetcode_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friyadshauk%2Fleetcode_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 35b7bf455fd874f69dfffdd9d9a8ee758a15203b
[INFO] checking riyadshauk/leetcode_rust against try#b66808126f24f2f30898306a881e1676824ea80c for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friyadshauk%2Fleetcode_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/riyadshauk/leetcode_rust
[INFO] finished tweaking git repo https://github.com/riyadshauk/leetcode_rust
[INFO] tweaked toml for git repo https://github.com/riyadshauk/leetcode_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/riyadshauk/leetcode_rust on toolchain b66808126f24f2f30898306a881e1676824ea80c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/riyadshauk/leetcode_rust 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" "+b66808126f24f2f30898306a881e1676824ea80c" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ed14b6e57d923d4ce1fde59e253c81bf1f12870e2d0e009b667aa9101c760133
[INFO] running `Command { std: "docker" "start" "ed14b6e57d923d4ce1fde59e253c81bf1f12870e2d0e009b667aa9101c760133", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed14b6e57d923d4ce1fde59e253c81bf1f12870e2d0e009b667aa9101c760133", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed14b6e57d923d4ce1fde59e253c81bf1f12870e2d0e009b667aa9101c760133" "/opt/rustwide/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed14b6e57d923d4ce1fde59e253c81bf1f12870e2d0e009b667aa9101c760133", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed14b6e57d923d4ce1fde59e253c81bf1f12870e2d0e009b667aa9101c760133" "/opt/rustwide/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::problems::three_sum`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::problems::three_sum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashSet` and `LinkedList`
[INFO] [stdout]  --> src/problems/combination_sum3.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashSet, LinkedList};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::helper_macros::macros::vec_2d`
[INFO] [stdout]  --> src/problems/combination_sum3.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::utils::helper_macros::macros::vec_2d;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/merge_intervals.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::convert_array_to_binary_tree`
[INFO] [stdout]  --> src/problems/right_side_view.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{utils::binary_tree::TreeNode, utils::convert_array_to_binary_tree};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::problems::three_sum`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::problems::three_sum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashSet` and `LinkedList`
[INFO] [stdout]  --> src/problems/combination_sum3.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashSet, LinkedList};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::helper_macros::macros::vec_2d`
[INFO] [stdout]  --> src/problems/combination_sum3.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::utils::helper_macros::macros::vec_2d;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/merge_intervals.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::convert_array_to_binary_tree`
[INFO] [stdout]  --> src/problems/right_side_view.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{utils::binary_tree::TreeNode, utils::convert_array_to_binary_tree};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `vec_2d`
[INFO] [stdout]   --> src/utils/helper_macros.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     macro_rules! vec_2d {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/combination_sum3.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut combination_sum: Vec<Vec<i32>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/problems/combination_sum3.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn solution(k: i32, n: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/problems/combination_sum3.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn solution(k: i32, n: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/merge_intervals.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut merged_intervals: Vec<Vec<i32>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals`
[INFO] [stdout]   --> src/problems/merge_intervals.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn solution(intervals: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]  --> src/problems/right_side_view.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solution(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stdout]   |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/combination_sum3.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut combination_sum: Vec<Vec<i32>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/problems/combination_sum3.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn solution(k: i32, n: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/problems/combination_sum3.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn solution(k: i32, n: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encoded_tree`
[INFO] [stdout]  --> src/utils/convert_array_to_binary_tree.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     encoded_tree: Vec<i32>,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `helper` is never used
[INFO] [stdout]  --> src/problems/combination_sum3.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn helper(k: i32, n: i32, sum: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/merge_intervals.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut merged_intervals: Vec<Vec<i32>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals`
[INFO] [stdout]   --> src/problems/merge_intervals.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn solution(intervals: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]  --> src/problems/right_side_view.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solution(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stdout]   |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encoded_tree`
[INFO] [stdout]  --> src/utils/convert_array_to_binary_tree.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     encoded_tree: Vec<i32>,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `helper` is never used
[INFO] [stdout]  --> src/problems/combination_sum3.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn helper(k: i32, n: i32, sum: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `minNum` should have a snake case name
[INFO] [stdout]   --> src/utils/convert_array_to_binary_tree.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let minNum = -100;
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `min_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashSet` and `LinkedList`
[INFO] [stdout]  --> src/problems/combination_sum3.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashSet, LinkedList};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::helper_macros::macros::vec_2d`
[INFO] [stdout]  --> src/problems/combination_sum3.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::utils::helper_macros::macros::vec_2d;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/merge_intervals.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::convert_array_to_binary_tree`
[INFO] [stdout]  --> src/problems/right_side_view.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{utils::binary_tree::TreeNode, utils::convert_array_to_binary_tree};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `vec_2d`
[INFO] [stdout]   --> src/utils/helper_macros.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     macro_rules! vec_2d {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashSet` and `LinkedList`
[INFO] [stdout]  --> src/problems/combination_sum3.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashSet, LinkedList};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::helper_macros::macros::vec_2d`
[INFO] [stdout]  --> src/problems/combination_sum3.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::utils::helper_macros::macros::vec_2d;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/merge_intervals.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::convert_array_to_binary_tree`
[INFO] [stdout]  --> src/problems/right_side_view.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{utils::binary_tree::TreeNode, utils::convert_array_to_binary_tree};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/combination_sum3.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut combination_sum: Vec<Vec<i32>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/problems/combination_sum3.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn solution(k: i32, n: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/problems/combination_sum3.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn solution(k: i32, n: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/merge_intervals.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut merged_intervals: Vec<Vec<i32>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals`
[INFO] [stdout]   --> src/problems/merge_intervals.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn solution(intervals: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]  --> src/problems/right_side_view.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solution(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stdout]   |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encoded_tree`
[INFO] [stdout]  --> src/utils/convert_array_to_binary_tree.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     encoded_tree: Vec<i32>,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `helper` is never used
[INFO] [stdout]  --> src/problems/combination_sum3.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn helper(k: i32, n: i32, sum: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/combination_sum3.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut combination_sum: Vec<Vec<i32>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/problems/combination_sum3.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn solution(k: i32, n: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/problems/combination_sum3.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn solution(k: i32, n: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/merge_intervals.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut merged_intervals: Vec<Vec<i32>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals`
[INFO] [stdout]   --> src/problems/merge_intervals.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn solution(intervals: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]  --> src/problems/right_side_view.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solution(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stdout]   |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encoded_tree`
[INFO] [stdout]  --> src/utils/convert_array_to_binary_tree.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     encoded_tree: Vec<i32>,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `helper` is never used
[INFO] [stdout]  --> src/problems/combination_sum3.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn helper(k: i32, n: i32, sum: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `minNum` should have a snake case name
[INFO] [stdout]   --> src/utils/convert_array_to_binary_tree.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let minNum = -100;
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `min_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "ed14b6e57d923d4ce1fde59e253c81bf1f12870e2d0e009b667aa9101c760133", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed14b6e57d923d4ce1fde59e253c81bf1f12870e2d0e009b667aa9101c760133", kill_on_drop: false }`
[INFO] [stdout] ed14b6e57d923d4ce1fde59e253c81bf1f12870e2d0e009b667aa9101c760133
