[INFO] cloning repository https://github.com/tt-abdulhaq/leetcode-top-interview-150
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tt-abdulhaq/leetcode-top-interview-150" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftt-abdulhaq%2Fleetcode-top-interview-150", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftt-abdulhaq%2Fleetcode-top-interview-150'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1546e9608012ccd714d3391d73cb288b485baa07
[INFO] checking tt-abdulhaq/leetcode-top-interview-150 against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftt-abdulhaq%2Fleetcode-top-interview-150" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tt-abdulhaq/leetcode-top-interview-150
[INFO] finished tweaking git repo https://github.com/tt-abdulhaq/leetcode-top-interview-150
[INFO] tweaked toml for git repo https://github.com/tt-abdulhaq/leetcode-top-interview-150 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tt-abdulhaq/leetcode-top-interview-150 on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tt-abdulhaq/leetcode-top-interview-150 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7123f59aa4bb535cd5f1973a2fc0a711716b20dacc0c573e60d3c9a94147c067
[INFO] running `Command { std: "docker" "start" "-a" "7123f59aa4bb535cd5f1973a2fc0a711716b20dacc0c573e60d3c9a94147c067", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7123f59aa4bb535cd5f1973a2fc0a711716b20dacc0c573e60d3c9a94147c067", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7123f59aa4bb535cd5f1973a2fc0a711716b20dacc0c573e60d3c9a94147c067", kill_on_drop: false }`
[INFO] [stdout] 7123f59aa4bb535cd5f1973a2fc0a711716b20dacc0c573e60d3c9a94147c067
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 69fefc271cc52141e03b3eb17e621f92e86616344f496797dd1a3e0f54b8f71a
[INFO] running `Command { std: "docker" "start" "-a" "69fefc271cc52141e03b3eb17e621f92e86616344f496797dd1a3e0f54b8f71a", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode-top-interview-150 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut nums = vec![3,2,1,0,4];
[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: function `merge` is never used
[INFO] [stdout]  --> src/array_string/merge_sorted_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn merge(nums1: &mut Vec<i32>, m: usize, nums2: &Vec<i32>, n: usize) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_element` is never used
[INFO] [stdout]  --> src/array_string/remove_element.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 `remove_duplicates` is never used
[INFO] [stdout]  --> src/array_string/remove_duplicates_from_sorted_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_duplicates_2` is never used
[INFO] [stdout]   --> src/array_string/remove_duplicates_from_sorted_array.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn remove_duplicates_2(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `majority_element` is never used
[INFO] [stdout]  --> src/array_string/majority_element.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn majority_element(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate` is never used
[INFO] [stdout]  --> src/array_string/rotate_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn rotate(nums: &mut Vec<i32>, k: i32) {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_profit` is never used
[INFO] [stdout]  --> src/array_string/max_profit.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_profit_2` is never used
[INFO] [stdout]   --> src/array_string/max_profit.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn max_profit_2(prices: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut nums = vec![3,2,1,0,4];
[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: function `merge` is never used
[INFO] [stdout]  --> src/array_string/merge_sorted_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn merge(nums1: &mut Vec<i32>, m: usize, nums2: &Vec<i32>, n: usize) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_element` is never used
[INFO] [stdout]  --> src/array_string/remove_element.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 `remove_duplicates` is never used
[INFO] [stdout]  --> src/array_string/remove_duplicates_from_sorted_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_duplicates_2` is never used
[INFO] [stdout]   --> src/array_string/remove_duplicates_from_sorted_array.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn remove_duplicates_2(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `majority_element` is never used
[INFO] [stdout]  --> src/array_string/majority_element.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn majority_element(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate` is never used
[INFO] [stdout]  --> src/array_string/rotate_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn rotate(nums: &mut Vec<i32>, k: i32) {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_profit` is never used
[INFO] [stdout]  --> src/array_string/max_profit.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_profit_2` is never used
[INFO] [stdout]   --> src/array_string/max_profit.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn max_profit_2(prices: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "69fefc271cc52141e03b3eb17e621f92e86616344f496797dd1a3e0f54b8f71a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69fefc271cc52141e03b3eb17e621f92e86616344f496797dd1a3e0f54b8f71a", kill_on_drop: false }`
[INFO] [stdout] 69fefc271cc52141e03b3eb17e621f92e86616344f496797dd1a3e0f54b8f71a
