[INFO] updating cached repository https://github.com/duncandean/rust-genetic-algorithm [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduncandean%2Frust-genetic-algorithm" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/duncandean/rust-genetic-algorithm on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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 /workspace/builds/worker-9/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] af8a4bf87a5137022b7b35937e0950c7ebbe50a6854db7674396c581ee30afb0 [INFO] running `"docker" "start" "-a" "af8a4bf87a5137022b7b35937e0950c7ebbe50a6854db7674396c581ee30afb0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling num-complex v0.2.0 [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-iter v0.1.37 [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] | help: you might be missing a type parameter: `` [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] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "af8a4bf87a5137022b7b35937e0950c7ebbe50a6854db7674396c581ee30afb0"` [INFO] running `"docker" "rm" "-f" "af8a4bf87a5137022b7b35937e0950c7ebbe50a6854db7674396c581ee30afb0"` [INFO] [stdout] af8a4bf87a5137022b7b35937e0950c7ebbe50a6854db7674396c581ee30afb0