[INFO] cloning repository https://github.com/DennisMuturi-prog/leet_code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DennisMuturi-prog/leet_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDennisMuturi-prog%2Fleet_code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDennisMuturi-prog%2Fleet_code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 251076e4d3c8acbc079ff7580c6c7cf7e35fc995
[INFO] checking DennisMuturi-prog/leet_code against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDennisMuturi-prog%2Fleet_code" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DennisMuturi-prog/leet_code
[INFO] finished tweaking git repo https://github.com/DennisMuturi-prog/leet_code
[INFO] tweaked toml for git repo https://github.com/DennisMuturi-prog/leet_code written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DennisMuturi-prog/leet_code on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DennisMuturi-prog/leet_code 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c87a931b9c3e2d419f6b49c8540ac894a6e9082fabebd294b0cd52688f3f47a
[INFO] running `Command { std: "docker" "start" "-a" "5c87a931b9c3e2d419f6b49c8540ac894a6e9082fabebd294b0cd52688f3f47a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c87a931b9c3e2d419f6b49c8540ac894a6e9082fabebd294b0cd52688f3f47a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c87a931b9c3e2d419f6b49c8540ac894a6e9082fabebd294b0cd52688f3f47a", kill_on_drop: false }`
[INFO] [stdout] 5c87a931b9c3e2d419f6b49c8540ac894a6e9082fabebd294b0cd52688f3f47a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2d96a630931d4e7e2ff1bdb8958c821db1c12d78fe3787ce62979f13277844b3
[INFO] running `Command { std: "docker" "start" "-a" "2d96a630931d4e7e2ff1bdb8958c821db1c12d78fe3787ce62979f13277844b3", kill_on_drop: false }`
[INFO] [stderr]     Checking central_tendencies v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `path` and `cost` are never read
[INFO] [stdout]    --> src/graph.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct  ShortestPathStats<'a,T>{
[INFO] [stdout]     |             ----------------- fields in this struct
[INFO] [stdout] 110 |     path:Vec<&'a T>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 111 |     cost:f32
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ShortestPathStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/graph.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | / impl<'a,T> TraversalNode<'a,T>
[INFO] [stdout] 119 | | where T:Eq+Hash+Clone {
[INFO] [stdout]     | |_____________________- associated function in this implementation
[INFO] [stdout] 120 |       pub fn new<'b>(node_key:&'b T,cost:f32)->TraversalNode<'b,T>{
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path` and `cost` are never read
[INFO] [stdout]    --> src/graph.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct  ShortestPathStats<'a,T>{
[INFO] [stdout]     |             ----------------- fields in this struct
[INFO] [stdout] 110 |     path:Vec<&'a T>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 111 |     cost:f32
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ShortestPathStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/graph.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | / impl<'a,T> TraversalNode<'a,T>
[INFO] [stdout] 119 | | where T:Eq+Hash+Clone {
[INFO] [stdout]     | |_____________________- associated function in this implementation
[INFO] [stdout] 120 |       pub fn new<'b>(node_key:&'b T,cost:f32)->TraversalNode<'b,T>{
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]    --> src/main.rs:221:14
[INFO] [stdout]     |
[INFO] [stdout] 221 | use std::os::windows::raw::SOCKET;
[INFO] [stdout]     |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/std/src/os/mod.rs:56:5
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/std/src/os/mod.rs:120:10
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Graph` and `Neighbour`
[INFO] [stdout]  --> src/main.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use central_tendencies::graph::{Graph, Neighbour};
[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: `f32` and `num`
[INFO] [stdout]    --> src/main.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 | use core::{f32, num};
[INFO] [stdout]     |            ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Heap`
[INFO] [stdout]    --> src/main.rs:496:45
[INFO] [stdout]     |
[INFO] [stdout] 496 | use central_tendencies::heap::{GeneralHeap, Heap};
[INFO] [stdout]     |                                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PointData_2` should have an upper camel case name
[INFO] [stdout]    --> src/main.rs:806:8
[INFO] [stdout]     |
[INFO] [stdout] 806 | struct PointData_2 {
[INFO] [stdout]     |        ^^^^^^^^^^^ help: convert the identifier to upper camel case: `PointData2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]    --> src/main.rs:221:14
[INFO] [stdout]     |
[INFO] [stdout] 221 | use std::os::windows::raw::SOCKET;
[INFO] [stdout]     |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/std/src/os/mod.rs:56:5
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/438eb4c1a1c3841523d7f672601e8adbe04cff28/library/std/src/os/mod.rs:120:10
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Graph` and `Neighbour`
[INFO] [stdout]  --> src/main.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use central_tendencies::graph::{Graph, Neighbour};
[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: `f32` and `num`
[INFO] [stdout]    --> src/main.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 | use core::{f32, num};
[INFO] [stdout]     |            ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Heap`
[INFO] [stdout]    --> src/main.rs:496:45
[INFO] [stdout]     |
[INFO] [stdout] 496 | use central_tendencies::heap::{GeneralHeap, Heap};
[INFO] [stdout]     |                                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PointData_2` should have an upper camel case name
[INFO] [stdout]    --> src/main.rs:806:8
[INFO] [stdout]     |
[INFO] [stdout] 806 | struct PointData_2 {
[INFO] [stdout]     |        ^^^^^^^^^^^ help: convert the identifier to upper camel case: `PointData2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/main.rs:1602:9
[INFO] [stdout]      |
[INFO] [stdout] 1601 |       pub fn permute(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]      |                                         ------------- expected `Vec<Vec<i32>>` because of return type
[INFO] [stdout] 1602 | /         for i in 0..nums.len(){
[INFO] [stdout] 1603 | |             let mut permutation=Vec::new();
[INFO] [stdout] 1604 | |             for j in 0..nums.len(){
[INFO] [stdout] ...    |
[INFO] [stdout] 1607 | |         }
[INFO] [stdout]      | |_________^ expected `Vec<Vec<i32>>`, found `()`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected struct `Vec<Vec<i32>>`
[INFO] [stdout]              found unit type `()`
[INFO] [stdout]      = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: consider returning a value here
[INFO] [stdout]      |
[INFO] [stdout] 1607 ~         }
[INFO] [stdout] 1608 +         /* `Vec<Vec<i32>>` value */
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/main.rs:1602:9
[INFO] [stdout]      |
[INFO] [stdout] 1601 |       pub fn permute(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]      |                                         ------------- expected `Vec<Vec<i32>>` because of return type
[INFO] [stdout] 1602 | /         for i in 0..nums.len(){
[INFO] [stdout] 1603 | |             let mut permutation=Vec::new();
[INFO] [stdout] 1604 | |             for j in 0..nums.len(){
[INFO] [stdout] ...    |
[INFO] [stdout] 1607 | |         }
[INFO] [stdout]      | |_________^ expected `Vec<Vec<i32>>`, found `()`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected struct `Vec<Vec<i32>>`
[INFO] [stdout]              found unit type `()`
[INFO] [stdout]      = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: consider returning a value here
[INFO] [stdout]      |
[INFO] [stdout] 1607 ~         }
[INFO] [stdout] 1608 +         /* `Vec<Vec<i32>>` value */
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `central_tendencies` (bin "central_tendencies") due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `central_tendencies` (bin "central_tendencies" test) due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2d96a630931d4e7e2ff1bdb8958c821db1c12d78fe3787ce62979f13277844b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d96a630931d4e7e2ff1bdb8958c821db1c12d78fe3787ce62979f13277844b3", kill_on_drop: false }`
[INFO] [stdout] 2d96a630931d4e7e2ff1bdb8958c821db1c12d78fe3787ce62979f13277844b3
