[INFO] cloning repository https://github.com/duncandean/rust-genetic-algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duncandean/rust-genetic-algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduncandean%2Frust-genetic-algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduncandean%2Frust-genetic-algorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e49137d9731118d520ef1cd305b89bfa5c5caabe [INFO] checking duncandean/rust-genetic-algorithm/e49137d9731118d520ef1cd305b89bfa5c5caabe against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduncandean%2Frust-genetic-algorithm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/duncandean/rust-genetic-algorithm on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/duncandean/rust-genetic-algorithm [INFO] finished tweaking git repo https://github.com/duncandean/rust-genetic-algorithm [INFO] tweaked toml for git repo https://github.com/duncandean/rust-genetic-algorithm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/duncandean/rust-genetic-algorithm 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd71a9cfd74966a2649b89d166a6055a207dd4637a645d0b1d760b56ded1e131 [INFO] running `Command { std: "docker" "start" "-a" "bd71a9cfd74966a2649b89d166a6055a207dd4637a645d0b1d760b56ded1e131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd71a9cfd74966a2649b89d166a6055a207dd4637a645d0b1d760b56ded1e131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd71a9cfd74966a2649b89d166a6055a207dd4637a645d0b1d760b56ded1e131", kill_on_drop: false }` [INFO] [stdout] bd71a9cfd74966a2649b89d166a6055a207dd4637a645d0b1d760b56ded1e131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ff5952c95ffbee9e1c4de4e8288adafc1836f1c9c3bc28c3e33dc99d080d988 [INFO] running `Command { std: "docker" "start" "-a" "3ff5952c95ffbee9e1c4de4e8288adafc1836f1c9c3bc28c3e33dc99d080d988", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking libc v0.2.2 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking evolution v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `,`, or `}`, found `[` [INFO] [stdout] --> src/lib.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ---------- while parsing this struct [INFO] [stdout] 30 | permutables: T[], [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `[` [INFO] [stdout] --> src/lib.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ---------- while parsing this struct [INFO] [stdout] 30 | permutables: T[], [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Chromosome` is defined multiple times [INFO] [stdout] --> src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ------------------------ previous definition of the type `Chromosome` here [INFO] [stdout] ... [INFO] [stdout] 98 | struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Chromosome` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Chromosome` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Chromosome` is defined multiple times [INFO] [stdout] --> src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ------------------------ previous definition of the type `Chromosome` here [INFO] [stdout] ... [INFO] [stdout] 98 | struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Chromosome` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Chromosome` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | impl Chromosome { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 36 | impl Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | impl Chromosome { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 36 | impl Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:66:92 [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:66:92 [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Clone)] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Clone)] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 104 | impl Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 104 | impl Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 104 | impl Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 104 | impl Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | fn new(solution: String) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 105 | fn new(solution: String) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | fn new(solution: String) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 105 | fn new(solution: String) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | fn mutate(&mut self, mut_prob:f64) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 114 | fn mutate(&mut self, mut_prob:f64) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | fn mutate(&mut self, mut_prob:f64) -> Chromosome { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 114 | fn mutate(&mut self, mut_prob:f64) -> Chromosome { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let mut winner: Chromosome = population[0].clone(); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 146 | let mut winner: Chromosome = population[0].clone(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Chromosome` [INFO] [stdout] --> src/lib.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let mut winner: Chromosome = population[0].clone(); [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chromosome { [INFO] [stdout] | ^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 146 | let mut winner: Chromosome = population[0].clone(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:145:59 [INFO] [stdout] | [INFO] [stdout] 145 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:145:59 [INFO] [stdout] | [INFO] [stdout] 145 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:160:45 [INFO] [stdout] | [INFO] [stdout] 160 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:160:63 [INFO] [stdout] | [INFO] [stdout] 160 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:160:45 [INFO] [stdout] | [INFO] [stdout] 160 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:160:63 [INFO] [stdout] | [INFO] [stdout] 160 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:176:45 [INFO] [stdout] | [INFO] [stdout] 176 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:176:63 [INFO] [stdout] | [INFO] [stdout] 176 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:176:45 [INFO] [stdout] | [INFO] [stdout] 176 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cost_score` on type `&_` [INFO] [stdout] --> src/lib.rs:176:63 [INFO] [stdout] | [INFO] [stdout] 176 | population.sort_by(|ref a, ref b| a.cost_score.cmp(&b.cost_score)); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0392, E0412, E0428, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0392, E0412, E0428, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `evolution` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `evolution` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "3ff5952c95ffbee9e1c4de4e8288adafc1836f1c9c3bc28c3e33dc99d080d988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ff5952c95ffbee9e1c4de4e8288adafc1836f1c9c3bc28c3e33dc99d080d988", kill_on_drop: false }` [INFO] [stdout] 3ff5952c95ffbee9e1c4de4e8288adafc1836f1c9c3bc28c3e33dc99d080d988