[INFO] cloning repository https://github.com/neerajbisht1987/LeetCode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neerajbisht1987/LeetCode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajbisht1987%2FLeetCode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajbisht1987%2FLeetCode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17e2e411839164fec72b18ba15aa84c949d24dc5 [INFO] checking neerajbisht1987/LeetCode against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajbisht1987%2FLeetCode" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/neerajbisht1987/LeetCode on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/neerajbisht1987/LeetCode [INFO] finished tweaking git repo https://github.com/neerajbisht1987/LeetCode [INFO] tweaked toml for git repo https://github.com/neerajbisht1987/LeetCode written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/neerajbisht1987/LeetCode already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbbb34100844058f100a2619475dd284dd5536b09efc69f11893bcc6ad2374a9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cbbb34100844058f100a2619475dd284dd5536b09efc69f11893bcc6ad2374a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbbb34100844058f100a2619475dd284dd5536b09efc69f11893bcc6ad2374a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbbb34100844058f100a2619475dd284dd5536b09efc69f11893bcc6ad2374a9", kill_on_drop: false }` [INFO] [stdout] cbbb34100844058f100a2619475dd284dd5536b09efc69f11893bcc6ad2374a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4219b61d4ec7b231436e6d4a93dc7906ff9ea28c0df5937d8442a334d039cb85 [INFO] running `Command { std: "docker" "start" "-a" "4219b61d4ec7b231436e6d4a93dc7906ff9ea28c0df5937d8442a334d039cb85", kill_on_drop: false }` [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/lib/add_two_link.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/lib/add_two_link.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `link_list::Linklist` [INFO] [stdout] --> src/lib/add_two_link.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use link_list::Linklist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cons`, `Nil` [INFO] [stdout] --> src/lib/add_two_link.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use link_list::Linklist::{Cons,Nil}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dist_point` should have an upper camel case name [INFO] [stdout] --> src/lib/dijkstra.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct dist_point [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DistPoint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/lib/add_two_link.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/lib/add_two_link.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `link_list::Linklist` [INFO] [stdout] --> src/lib/add_two_link.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use link_list::Linklist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cons`, `Nil` [INFO] [stdout] --> src/lib/add_two_link.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use link_list::Linklist::{Cons,Nil}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dist_point` should have an upper camel case name [INFO] [stdout] --> src/lib/dijkstra.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct dist_point [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DistPoint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> src/lib/dijkstra.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let start_point = from; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib/dijkstra.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | let i =0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `leetCodeLib` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `leet_code_lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isVisited` should have a snake case name [INFO] [stdout] --> src/lib/dijkstra.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut isVisited = vec![false;path.len()]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_visited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> src/lib/dijkstra.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let start_point = from; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib/dijkstra.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | let i =0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `leetCodeLib` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `leet_code_lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isVisited` should have a snake case name [INFO] [stdout] --> src/lib/dijkstra.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut isVisited = vec![false;path.len()]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_visited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ndarray` [INFO] [stdout] --> src/bin/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ndarray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ndarray` [INFO] [stdout] --> src/bin/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ndarray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4219b61d4ec7b231436e6d4a93dc7906ff9ea28c0df5937d8442a334d039cb85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4219b61d4ec7b231436e6d4a93dc7906ff9ea28c0df5937d8442a334d039cb85", kill_on_drop: false }` [INFO] [stdout] 4219b61d4ec7b231436e6d4a93dc7906ff9ea28c0df5937d8442a334d039cb85