[INFO] cloning repository https://github.com/prosti221/RustGA
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prosti221/RustGA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprosti221%2FRustGA", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprosti221%2FRustGA'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a4095ef08138b6face5d19570cd375eeec07d165
[INFO] checking prosti221/RustGA against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprosti221%2FRustGA" "/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/prosti221/RustGA
[INFO] finished tweaking git repo https://github.com/prosti221/RustGA
[INFO] tweaked toml for git repo https://github.com/prosti221/RustGA written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/prosti221/RustGA on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/prosti221/RustGA 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cblas-sys v0.1.4
[INFO] [stderr]   Downloaded cauchy v0.4.0
[INFO] [stderr]   Downloaded ndarray-linalg v0.16.0
[INFO] [stderr]   Downloaded katexit v0.1.4
[INFO] [stderr]   Downloaded lax v0.16.0
[INFO] [stderr]   Downloaded ndarray-rand v0.14.0
[INFO] [stderr]   Downloaded lapack-sys v0.14.0
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2aacd81e7dd505cccf1f8bc5199be604e4ea2c7b23caad8edd65097dbded9987
[INFO] running `Command { std: "docker" "start" "-a" "2aacd81e7dd505cccf1f8bc5199be604e4ea2c7b23caad8edd65097dbded9987", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2aacd81e7dd505cccf1f8bc5199be604e4ea2c7b23caad8edd65097dbded9987", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2aacd81e7dd505cccf1f8bc5199be604e4ea2c7b23caad8edd65097dbded9987", kill_on_drop: false }`
[INFO] [stdout] 2aacd81e7dd505cccf1f8bc5199be604e4ea2c7b23caad8edd65097dbded9987
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3192afcf4a33a50ea57e07358120786abe634f316e8329e66e126f986edd4926
[INFO] running `Command { std: "docker" "start" "-a" "3192afcf4a33a50ea57e07358120786abe634f316e8329e66e126f986edd4926", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking cblas-sys v0.1.4
[INFO] [stderr]     Checking lapack-sys v0.14.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking cauchy v0.4.0
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]    Compiling katexit v0.1.4
[INFO] [stderr]     Checking lax v0.16.0
[INFO] [stderr]     Checking ndarray-linalg v0.16.0
[INFO] [stderr]     Checking ndarray-rand v0.14.0
[INFO] [stderr]     Checking ga_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ShapeBuilder`
[INFO] [stdout]  --> src/layers.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{Array, ShapeBuilder};
[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::config::GaParams`
[INFO] [stdout]  --> src/genome.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use crate::config::GaParams;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ShapeBuilder`
[INFO] [stdout]  --> src/utility.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{Array, ShapeBuilder};
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ShapeBuilder`
[INFO] [stdout]  --> src/layers.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{Array, ShapeBuilder};
[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::config::GaParams`
[INFO] [stdout]  --> src/genome.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use crate::config::GaParams;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ShapeBuilder`
[INFO] [stdout]  --> src/utility.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{Array, ShapeBuilder};
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/layers.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut weights: Array<f64, ndarray::Dim<[usize; 1]>> = Array::random(input_shape.0 * input_shape.1, Uniform::new(-1.0, 1.0));
[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: unused variable: `input`
[INFO] [stdout]   --> src/layers.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn predict(&self, input: Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/layers.rs:36:29
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn crossover(&self, other: Layer) -> Layer {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/layers.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut weights: Array<f64, ndarray::Dim<[usize; 1]>> = Array::random(input_shape.0 * input_shape.1, Uniform::new(-1.0, 1.0));
[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: unused variable: `input`
[INFO] [stdout]   --> src/layers.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn predict(&self, input: Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/layers.rs:36:29
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn crossover(&self, other: Layer) -> Layer {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `distance` is never read
[INFO] [stdout]  --> src/utility.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut distance: f64 = 0.0;
[INFO] [stdout]   |                             ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `distance` is never read
[INFO] [stdout]  --> src/utility.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut distance: f64 = 0.0;
[INFO] [stdout]   |                             ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mutate`, `predict`, and `crossover` are never used
[INFO] [stdout]   --> src/genome.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Genome {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn mutate(&self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn predict(&self, input: Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn crossover(&self, secondary_genome: Genome) -> Genome { 
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `compute_distances` and `compute_fitness` are never used
[INFO] [stdout]   --> src/population.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Population {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn compute_distances(&self) -> Vec<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn compute_fitness(&self) -> Vec<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mutate`, `predict`, and `crossover` are never used
[INFO] [stdout]   --> src/genome.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Genome {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn mutate(&self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn predict(&self, input: Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn crossover(&self, secondary_genome: Genome) -> Genome { 
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `compute_distances` and `compute_fitness` are never used
[INFO] [stdout]   --> src/population.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Population {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn compute_distances(&self) -> Vec<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn compute_fitness(&self) -> Vec<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.25s
[INFO] running `Command { std: "docker" "inspect" "3192afcf4a33a50ea57e07358120786abe634f316e8329e66e126f986edd4926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3192afcf4a33a50ea57e07358120786abe634f316e8329e66e126f986edd4926", kill_on_drop: false }`
[INFO] [stdout] 3192afcf4a33a50ea57e07358120786abe634f316e8329e66e126f986edd4926
