[INFO] cloning repository https://github.com/NaizDis/leetcode_rust_assets
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NaizDis/leetcode_rust_assets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaizDis%2Fleetcode_rust_assets", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaizDis%2Fleetcode_rust_assets'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab92d35a2d708210ba93c5cc1362d970a0e0ad98
[INFO] checking NaizDis/leetcode_rust_assets against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaizDis%2Fleetcode_rust_assets" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NaizDis/leetcode_rust_assets
[INFO] finished tweaking git repo https://github.com/NaizDis/leetcode_rust_assets
[INFO] tweaked toml for git repo https://github.com/NaizDis/leetcode_rust_assets written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NaizDis/leetcode_rust_assets on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NaizDis/leetcode_rust_assets 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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 NaizDis/leetcode_rust_assets against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaizDis%2Fleetcode_rust_assets" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NaizDis/leetcode_rust_assets
[INFO] finished tweaking git repo https://github.com/NaizDis/leetcode_rust_assets
[INFO] tweaked toml for git repo https://github.com/NaizDis/leetcode_rust_assets written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NaizDis/leetcode_rust_assets on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NaizDis/leetcode_rust_assets 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75c3b827ae371d2c498a39fd3e2a7299de9978f5b77df8c17b89d206455e7e39
[INFO] running `Command { std: "docker" "start" "-a" "75c3b827ae371d2c498a39fd3e2a7299de9978f5b77df8c17b89d206455e7e39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75c3b827ae371d2c498a39fd3e2a7299de9978f5b77df8c17b89d206455e7e39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75c3b827ae371d2c498a39fd3e2a7299de9978f5b77df8c17b89d206455e7e39", kill_on_drop: false }`
[INFO] [stdout] 75c3b827ae371d2c498a39fd3e2a7299de9978f5b77df8c17b89d206455e7e39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ace304c3bbda3e71b87ea09c74f429d168a6c3cbc109babe507740dd797b1291
[INFO] running `Command { std: "docker" "start" "-a" "ace304c3bbda3e71b87ea09c74f429d168a6c3cbc109babe507740dd797b1291", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::linklist::middle_node`
[INFO] [stdout]  --> src/lib/binary_search.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::linklist::middle_node;
[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::lib::graphs`
[INFO] [stdout]  --> src/lib/graphs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::lib::graphs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Output`
[INFO] [stdout]  --> src/lib/linklist.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Output;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BitOrAssign`, `Deref`, `collections::HashSet`, `str::FromStr`, and `string`
[INFO] [stdout]   --> src/lib/recursive_backtracking.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     collections::HashSet,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 45 |     ops::{BitOrAssign, Deref},
[INFO] [stdout]    |           ^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 46 |     str::FromStr,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 47 |     string, usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `num`
[INFO] [stdout]  --> src/lib/sliding_win.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::{HashMap, HashSet},
[INFO] [stdout]   |                   ^^^^^^^
[INFO] [stdout] 3 |     num,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::NonZero`
[INFO] [stdout]   --> src/lib/trees.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::num::NonZero;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::stack`
[INFO] [stdout]   --> src/lib/trees.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use super::stack;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cmp::Ordering`
[INFO] [stdout]  --> src/lib/two_pointer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     cmp::Ordering,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `chosen_one_dcode`, `death_note_dcode`, `master_magic_dcode`, `paint_wall_dcode`, and `rnd_file_dcode`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     chosen_one_dcode, death_note_dcode, master_magic_dcode, paint_wall_dcode, rnd_file_dcode,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `combine`
[INFO] [stdout]  --> src/main.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lib::recursive_backtracking::{combine, generate_parenthesis};
[INFO] [stdout]   |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::BinaryHeap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::linklist::middle_node`
[INFO] [stdout]  --> src/lib/binary_search.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::linklist::middle_node;
[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::lib::graphs`
[INFO] [stdout]  --> src/lib/graphs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::lib::graphs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Output`
[INFO] [stdout]  --> src/lib/linklist.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Output;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BitOrAssign`, `Deref`, `collections::HashSet`, `str::FromStr`, and `string`
[INFO] [stdout]   --> src/lib/recursive_backtracking.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     collections::HashSet,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 45 |     ops::{BitOrAssign, Deref},
[INFO] [stdout]    |           ^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 46 |     str::FromStr,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 47 |     string, usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `num`
[INFO] [stdout]  --> src/lib/sliding_win.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::{HashMap, HashSet},
[INFO] [stdout]   |                   ^^^^^^^
[INFO] [stdout] 3 |     num,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::NonZero`
[INFO] [stdout]   --> src/lib/trees.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::num::NonZero;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::stack`
[INFO] [stdout]   --> src/lib/trees.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use super::stack;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cmp::Ordering`
[INFO] [stdout]  --> src/lib/two_pointer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     cmp::Ordering,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `chosen_one_dcode`, `death_note_dcode`, `master_magic_dcode`, `paint_wall_dcode`, and `rnd_file_dcode`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     chosen_one_dcode, death_note_dcode, master_magic_dcode, paint_wall_dcode, rnd_file_dcode,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `combine`
[INFO] [stdout]  --> src/main.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use lib::recursive_backtracking::{combine, generate_parenthesis};
[INFO] [stdout]   |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::BinaryHeap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib/recursive_backtracking.rs:183:31
[INFO] [stdout]     |
[INFO] [stdout] 183 |         return board[0][0] == word;
[INFO] [stdout]     |                -----------    ^^^^ expected `char`, found `String`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected because this is `char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib/recursive_backtracking.rs:183:31
[INFO] [stdout]     |
[INFO] [stdout] 183 |         return board[0][0] == word;
[INFO] [stdout]     |                -----------    ^^^^ expected `char`, found `String`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                expected because this is `char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::RangeBounds`
[INFO] [stdout]  --> src/lib/two_pointer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ops::RangeBounds,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::RangeBounds`
[INFO] [stdout]  --> src/lib/two_pointer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ops::RangeBounds,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/lib/array_strings.rs:267:27
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub fn master_magic_dcode(n: i32, x: i32, y: i32, diff: Vec<i32>) -> i32 {
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `m` is never read
[INFO] [stdout]   --> src/lib/binary_search.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut m = 0;
[INFO] [stdout]    |                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 82 |         m = (r + l) / 2;
[INFO] [stdout]    |         --------------- `m` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib/binary_search.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut start: i32;
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/lib/binary_search.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut end: i32;
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `m` is never read
[INFO] [stdout]   --> src/lib/binary_search.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut m = 0;
[INFO] [stdout]    |                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 98 |         m = (r + l) / 2;
[INFO] [stdout]    |         --------------- `m` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `m` is never read
[INFO] [stdout]    --> src/lib/binary_search.rs:163:17
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let mut m = -1;
[INFO] [stdout]     |                 ^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 166 |         m = (l + h) / 2;
[INFO] [stdout]     |         --------------- `m` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/lib/graphs.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn valid_path(n: i32, edges: Vec<Vec<i32>>, source: i32, destination: i32) -> bool {
[INFO] [stdout]   |                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/lib/array_strings.rs:267:27
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub fn master_magic_dcode(n: i32, x: i32, y: i32, diff: Vec<i32>) -> i32 {
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `m` is never read
[INFO] [stdout]   --> src/lib/binary_search.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut m = 0;
[INFO] [stdout]    |                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 82 |         m = (r + l) / 2;
[INFO] [stdout]    |         --------------- `m` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib/binary_search.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut start: i32;
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/lib/binary_search.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut end: i32;
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `m` is never read
[INFO] [stdout]   --> src/lib/binary_search.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut m = 0;
[INFO] [stdout]    |                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 98 |         m = (r + l) / 2;
[INFO] [stdout]    |         --------------- `m` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `m` is never read
[INFO] [stdout]    --> src/lib/binary_search.rs:163:17
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let mut m = -1;
[INFO] [stdout]     |                 ^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 166 |         m = (l + h) / 2;
[INFO] [stdout]     |         --------------- `m` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib/hashmap.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut res: Vec<i32> = vec![];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/lib/hashmap.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut res: Vec<i32> = vec![];
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> src/lib/graphs.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn valid_path(n: i32, edges: Vec<Vec<i32>>, source: i32, destination: i32) -> bool {
[INFO] [stdout]   |                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `choice`
[INFO] [stdout]    --> src/lib/recursive_backtracking.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let choice = vec!['(', ')'];
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_choice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib/hashmap.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut res: Vec<i32> = vec![];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/lib/hashmap.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut res: Vec<i32> = vec![];
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `choice`
[INFO] [stdout]    --> src/lib/recursive_backtracking.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let choice = vec!['(', ')'];
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_choice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/lib/two_pointer.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn sorted_squares(mut nums: Vec<i32>) -> Vec<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/lib/two_pointer.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn max_area(mut height: Vec<i32>) -> i32 {
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/lib/two_pointer.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn sorted_squares(mut nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |                       ----^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "leetcode") due to 1 previous error; 25 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib/two_pointer.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn max_area(mut height: Vec<i32>) -> i32 {
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "leetcode" test) due to 1 previous error; 25 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ace304c3bbda3e71b87ea09c74f429d168a6c3cbc109babe507740dd797b1291", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ace304c3bbda3e71b87ea09c74f429d168a6c3cbc109babe507740dd797b1291", kill_on_drop: false }`
[INFO] [stdout] ace304c3bbda3e71b87ea09c74f429d168a6c3cbc109babe507740dd797b1291
