[INFO] cloning repository https://github.com/ghkivanc/genetic-alg-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghkivanc/genetic-alg-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghkivanc%2Fgenetic-alg-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghkivanc%2Fgenetic-alg-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ac313273843b86a2d01f21116481054fd8da23ff
[INFO] checking ghkivanc/genetic-alg-rust against try#d12484522bcab8d07e325c6570f226a2faace3f7 for pr-128425-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghkivanc%2Fgenetic-alg-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ghkivanc/genetic-alg-rust on toolchain d12484522bcab8d07e325c6570f226a2faace3f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ghkivanc/genetic-alg-rust
[INFO] finished tweaking git repo https://github.com/ghkivanc/genetic-alg-rust
[INFO] tweaked toml for git repo https://github.com/ghkivanc/genetic-alg-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ghkivanc/genetic-alg-rust 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" "+d12484522bcab8d07e325c6570f226a2faace3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 220138ce58a0735c088ccaaa34305f49100eb806cf198f8e779158bcd98011fd
[INFO] running `Command { std: "docker" "start" "-a" "220138ce58a0735c088ccaaa34305f49100eb806cf198f8e779158bcd98011fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "220138ce58a0735c088ccaaa34305f49100eb806cf198f8e779158bcd98011fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "220138ce58a0735c088ccaaa34305f49100eb806cf198f8e779158bcd98011fd", kill_on_drop: false }`
[INFO] [stdout] 220138ce58a0735c088ccaaa34305f49100eb806cf198f8e779158bcd98011fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a12ba8012aacc814b4e87e21dad3d7533e7f6caf8a30329bc19b793cad21c78d
[INFO] running `Command { std: "docker" "start" "-a" "a12ba8012aacc814b4e87e21dad3d7533e7f6caf8a30329bc19b793cad21c78d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.164
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking Genetic_Alg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `csv::Writer`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use csv::Writer;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/lib.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `csv::Writer`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use csv::Writer;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/lib.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/lib.rs:270:18
[INFO] [stdout]     |
[INFO] [stdout] 270 |         for i in (0..n)
[INFO] [stdout]     |                  ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 270 -         for i in (0..n)
[INFO] [stdout] 270 +         for i in 0..n
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/lib.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:111:21
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn pairs(&self, mut old_population: Vec<Chromosome>, rng: &mut ThreadRng) -> Vec<(Chromosome, Chromosome)> {
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let mut old_population:Vec<Chromosome> = self.population.drain(..).collect();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `period` is never read
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct Run 
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 |     period:u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Run` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Genetic_Alg` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `genetic_alg`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `N` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub N:usize,
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(N:usize)-> Self
[INFO] [stdout]    |                ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Pcross` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     Pcross:f32,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `pcross`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Pmut` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     Pmut:f32,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `pmut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `L` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     L:u8,
[INFO] [stdout]    |     ^ help: convert the identifier to snake case: `l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Pcross` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn new(Pcross:f32, Pmut:f32, L:u8, n:usize, z:u8)-> Self
[INFO] [stdout]    |                ^^^^^^ help: convert the identifier to snake case: `pcross`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Pmut` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn new(Pcross:f32, Pmut:f32, L:u8, n:usize, z:u8)-> Self
[INFO] [stdout]    |                            ^^^^ help: convert the identifier to snake case: `pmut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `L` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn new(Pcross:f32, Pmut:f32, L:u8, n:usize, z:u8)-> Self
[INFO] [stdout]    |                                      ^ help: convert the identifier to snake case: `l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/lib.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:111:21
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn pairs(&self, mut old_population: Vec<Chromosome>, rng: &mut ThreadRng) -> Vec<(Chromosome, Chromosome)> {
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let mut old_population:Vec<Chromosome> = self.population.drain(..).collect();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_var`
[INFO] [stdout]    --> src/lib.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 |         let new_var = test_run.select(&probabilities);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_var`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/lib.rs:309:14
[INFO] [stdout]     |
[INFO] [stdout] 309 |         for (idx, ind) in result.iter().enumerate() {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `N` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub N:usize,
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(N:usize)-> Self
[INFO] [stdout]    |                ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Pcross` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     Pcross:f32,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `pcross`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Pmut` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     Pmut:f32,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `pmut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `L` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     L:u8,
[INFO] [stdout]    |     ^ help: convert the identifier to snake case: `l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Pcross` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn new(Pcross:f32, Pmut:f32, L:u8, n:usize, z:u8)-> Self
[INFO] [stdout]    |                ^^^^^^ help: convert the identifier to snake case: `pcross`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Pmut` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn new(Pcross:f32, Pmut:f32, L:u8, n:usize, z:u8)-> Self
[INFO] [stdout]    |                            ^^^^ help: convert the identifier to snake case: `pmut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `L` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn new(Pcross:f32, Pmut:f32, L:u8, n:usize, z:u8)-> Self
[INFO] [stdout]    |                                      ^ help: convert the identifier to snake case: `l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.11s
[INFO] running `Command { std: "docker" "inspect" "a12ba8012aacc814b4e87e21dad3d7533e7f6caf8a30329bc19b793cad21c78d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a12ba8012aacc814b4e87e21dad3d7533e7f6caf8a30329bc19b793cad21c78d", kill_on_drop: false }`
[INFO] [stdout] a12ba8012aacc814b4e87e21dad3d7533e7f6caf8a30329bc19b793cad21c78d
