[INFO] cloning repository https://github.com/YashJsh/DSA
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YashJsh/DSA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYashJsh%2FDSA", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYashJsh%2FDSA'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 858664b636a7dd9dc769d41c6dd225e25b58a68e
[INFO] checking YashJsh/DSA against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYashJsh%2FDSA" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/YashJsh/DSA
[INFO] finished tweaking git repo https://github.com/YashJsh/DSA
[INFO] tweaked toml for git repo https://github.com/YashJsh/DSA written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/YashJsh/DSA on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/YashJsh/DSA 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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "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 YashJsh/DSA against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYashJsh%2FDSA" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/YashJsh/DSA
[INFO] finished tweaking git repo https://github.com/YashJsh/DSA
[INFO] tweaked toml for git repo https://github.com/YashJsh/DSA written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/YashJsh/DSA on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/YashJsh/DSA 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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89e1b923bbfc1f330d76b8ddf37dbcfb7b611d9dd7c327f26efdb914e970ed0a
[INFO] running `Command { std: "docker" "start" "-a" "89e1b923bbfc1f330d76b8ddf37dbcfb7b611d9dd7c327f26efdb914e970ed0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89e1b923bbfc1f330d76b8ddf37dbcfb7b611d9dd7c327f26efdb914e970ed0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89e1b923bbfc1f330d76b8ddf37dbcfb7b611d9dd7c327f26efdb914e970ed0a", kill_on_drop: false }`
[INFO] [stdout] 89e1b923bbfc1f330d76b8ddf37dbcfb7b611d9dd7c327f26efdb914e970ed0a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 271f7140c7f92de51b028d37da09fecc38e672b94bd0826d0f76530fd829e1dd
[INFO] running `Command { std: "docker" "start" "-a" "271f7140c7f92de51b028d37da09fecc38e672b94bd0826d0f76530fd829e1dd", kill_on_drop: false }`
[INFO] [stderr]     Checking DSAQuestionsRust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `f32::MAX_EXP`
[INFO] [stdout]  --> src/max_pairs/min_diff_pair.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{f32::MAX_EXP, i32};
[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: `cmp::max`
[INFO] [stdout]  --> src/min_deletions/minimum_deletions.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cmp::max, collections::HashMap, i32};
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `f32::MAX_EXP`
[INFO] [stdout]  --> src/max_pairs/min_diff_pair.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{f32::MAX_EXP, i32};
[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: `cmp::max`
[INFO] [stdout]  --> src/min_deletions/minimum_deletions.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cmp::max, collections::HashMap, i32};
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/min_deletions/minimum_deletions.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     for (c,i) in hashmap{
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/min_deletions/minimum_deletions.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     for (c,i) in hashmap{
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 |   let mut nums2 : Vec<i32> = vec![2,2,4,5];
[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/main.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 |   let mut nums2 : Vec<i32> = vec![2,2,4,5];
[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 `min_max` is never used
[INFO] [stdout]  --> src/max_pairs/min_diff_pair.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn min_max(mut nums : Vec<i32>, p : i32) -> 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: function `isValid` is never used
[INFO] [stdout]   --> src/max_pairs/min_diff_pair.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn isValid(nums : &Vec<i32>, mid : i32, p : i32, n : usize) -> bool{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `left_rotate` is never used
[INFO] [stdout]  --> src/rotate_array/rotate_array.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn left_rotate(arr: &mut Vec<i32>, k: i32) { //left rotate
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `right_rotate` is never used
[INFO] [stdout]   --> src/rotate_array/rotate_array.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn right_rotate(arr: &mut Vec<i32>, k: i32) { //right rotate
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `min_max` is never used
[INFO] [stdout]  --> src/max_pairs/min_diff_pair.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn min_max(mut nums : Vec<i32>, p : i32) -> 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: function `isValid` is never used
[INFO] [stdout]   --> src/max_pairs/min_diff_pair.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn isValid(nums : &Vec<i32>, mid : i32, p : i32, n : usize) -> bool{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `left_rotate` is never used
[INFO] [stdout]  --> src/rotate_array/rotate_array.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn left_rotate(arr: &mut Vec<i32>, k: i32) { //left rotate
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `right_rotate` is never used
[INFO] [stdout]   --> src/rotate_array/rotate_array.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn right_rotate(arr: &mut Vec<i32>, k: i32) { //right rotate
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `isValid` should have a snake case name
[INFO] [stdout]   --> src/max_pairs/min_diff_pair.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn isValid(nums : &Vec<i32>, mid : i32, p : i32, n : usize) -> bool{
[INFO] [stdout]    |    ^^^^^^^ help: convert the identifier to snake case: `is_valid`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `isValid` should have a snake case name
[INFO] [stdout]   --> src/max_pairs/min_diff_pair.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn isValid(nums : &Vec<i32>, mid : i32, p : i32, n : usize) -> bool{
[INFO] [stdout]    |    ^^^^^^^ help: convert the identifier to snake case: `is_valid`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxMD` should have a snake case name
[INFO] [stdout]  --> src/max_manhattan/max_manhattan.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut maxMD = 0;
[INFO] [stdout]   |             ^^^^^ help: convert the identifier to snake case: `max_md`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxMD` should have a snake case name
[INFO] [stdout]  --> src/max_manhattan/max_manhattan.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut maxMD = 0;
[INFO] [stdout]   |             ^^^^^ help: convert the identifier to snake case: `max_md`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `currentMD` should have a snake case name
[INFO] [stdout]   --> src/max_manhattan/max_manhattan.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let currentMD = i32::abs(east - west) + i32::abs(north - south);
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `current_md`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `currentMD` should have a snake case name
[INFO] [stdout]   --> src/max_manhattan/max_manhattan.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let currentMD = i32::abs(east - west) + i32::abs(north - south);
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `current_md`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `final_curr_MD` should have a snake case name
[INFO] [stdout]   --> src/max_manhattan/max_manhattan.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let final_curr_MD = currentMD + extra;
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `final_curr_md`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `final_curr_MD` should have a snake case name
[INFO] [stdout]   --> src/max_manhattan/max_manhattan.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let final_curr_MD = currentMD + extra;
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `final_curr_md`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] running `Command { std: "docker" "inspect" "271f7140c7f92de51b028d37da09fecc38e672b94bd0826d0f76530fd829e1dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "271f7140c7f92de51b028d37da09fecc38e672b94bd0826d0f76530fd829e1dd", kill_on_drop: false }`
[INFO] [stdout] 271f7140c7f92de51b028d37da09fecc38e672b94bd0826d0f76530fd829e1dd
