[INFO] updating cached repository https://github.com/duncandean/rust-genetic-algorithm [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e49137d9731118d520ef1cd305b89bfa5c5caabe [INFO] testing duncandean/rust-genetic-algorithm against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduncandean%2Frust-genetic-algorithm" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/duncandean/rust-genetic-algorithm on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-2/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 4cfe3a555b4d057c9a6395cdf7fa460b501d0c9fff1fe61b81c41fe55249765f [INFO] running `"docker" "start" "-a" "4cfe3a555b4d057c9a6395cdf7fa460b501d0c9fff1fe61b81c41fe55249765f"` [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 libc v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling evolution v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected `,`, or `}`, found `[` [INFO] [stderr] --> src/lib.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | permutables: T[], [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0428]: the name `Chromosome` is defined multiple times [INFO] [stderr] --> src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Chromosome { [INFO] [stderr] | ------------------------ previous definition of the type `Chromosome` here [INFO] [stderr] ... [INFO] [stderr] 98 | struct Chromosome { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ `Chromosome` redefined here [INFO] [stderr] | [INFO] [stderr] = note: `Chromosome` must be defined only once in the type namespace of this module [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `T` in this scope [INFO] [stderr] --> src/lib.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | impl Chromosome { [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/lib.rs:66:92 [INFO] [stderr] | [INFO] [stderr] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stderr] | ^^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/lib.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stderr] | ^^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/lib.rs:66:44 [INFO] [stderr] | [INFO] [stderr] 66 | fn crossover(chrome1: Chromosome, chrome2: Chromosome, cross_prob: f32, solution: &str) -> Chromosome { [INFO] [stderr] | ^^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/lib.rs:104:6 [INFO] [stderr] | [INFO] [stderr] 104 | impl Chromosome { [INFO] [stderr] | ^^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/lib.rs:97:10 [INFO] [stderr] | [INFO] [stderr] 97 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/lib.rs:105:33 [INFO] [stderr] | [INFO] [stderr] 105 | fn new(solution: String) -> Chromosome { [INFO] [stderr] | ^^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/lib.rs:114:43 [INFO] [stderr] | [INFO] [stderr] 114 | fn mutate(&mut self, mut_prob:f64) -> Chromosome { [INFO] [stderr] | ^^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0428. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: Could not compile `evolution`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "4cfe3a555b4d057c9a6395cdf7fa460b501d0c9fff1fe61b81c41fe55249765f"` [INFO] running `"docker" "rm" "-f" "4cfe3a555b4d057c9a6395cdf7fa460b501d0c9fff1fe61b81c41fe55249765f"` [INFO] [stdout] 4cfe3a555b4d057c9a6395cdf7fa460b501d0c9fff1fe61b81c41fe55249765f