[INFO] cloning repository https://github.com/mhutter/shorelark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhutter/shorelark" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhutter%2Fshorelark", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhutter%2Fshorelark'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 350212c47b674c709fb6793dd636568e24b062c7 [INFO] checking mhutter/shorelark against e7769602aca3770e8d8ea55716becb22e839a579 for pr-161253 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhutter%2Fshorelark" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mhutter/shorelark [INFO] finished tweaking git repo https://github.com/mhutter/shorelark [INFO] tweaked toml for git repo https://github.com/mhutter/shorelark written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mhutter/shorelark on toolchain e7769602aca3770e8d8ea55716becb22e839a579 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mhutter/shorelark 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" "+e7769602aca3770e8d8ea55716becb22e839a579" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded test-case v3.3.1 [INFO] [stderr] Downloaded test-case-macros v3.3.1 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded test-case-core v3.3.1 [INFO] [stderr] Downloaded num-rational v0.4.2 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.9 [INFO] [stderr] Downloaded safe_arch v0.7.2 [INFO] [stderr] Downloaded rand v0.9.3 [INFO] [stderr] Downloaded wide v0.7.28 [INFO] [stderr] Downloaded syn v2.0.79 [INFO] [stderr] Downloaded nalgebra v0.33.0 [INFO] [stderr] Downloaded libc v0.2.159 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d7405ff1f66f3d62bd5998b2970cda437389c0a76a715bb49d016cff47623b18 [INFO] running `Command { std: "docker" "start" "d7405ff1f66f3d62bd5998b2970cda437389c0a76a715bb49d016cff47623b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7405ff1f66f3d62bd5998b2970cda437389c0a76a715bb49d016cff47623b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7405ff1f66f3d62bd5998b2970cda437389c0a76a715bb49d016cff47623b18" "/opt/rustwide/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7405ff1f66f3d62bd5998b2970cda437389c0a76a715bb49d016cff47623b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7405ff1f66f3d62bd5998b2970cda437389c0a76a715bb49d016cff47623b18" "/opt/rustwide/cargo-home/bin/cargo" "+e7769602aca3770e8d8ea55716becb22e839a579" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.9.3 [INFO] [stderr] Checking wasm-bindgen v0.2.95 [INFO] [stderr] Checking lib-genetic-algorithm v0.1.0 (/opt/rustwide/workdir/libs/genetic-algorithm) [INFO] [stderr] Checking lib-neural-network v0.1.0 (/opt/rustwide/workdir/libs/neural-network) [INFO] [stdout] warning: unused import: `seq::SliceRandom` [INFO] [stdout] --> libs/genetic-algorithm/src/selection_method.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{seq::SliceRandom, RngCore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> libs/genetic-algorithm/src/crossover_method.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | .map(|(a, b)| if rng.gen_bool(0.5) { a } else { b }) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> libs/genetic-algorithm/src/mutation_method.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if rng.gen_bool(self.chance.into()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `seq::SliceRandom` [INFO] [stdout] --> libs/genetic-algorithm/src/selection_method.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{seq::SliceRandom, RngCore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> libs/genetic-algorithm/src/mutation_method.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | *gene += self.coeff * rng.gen_range(-1.0..=1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> libs/neural-network/src/lib.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | let bias = rng.gen_range(-1.0..=1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> libs/neural-network/src/lib.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 114 | let weights = (0..input_size).map(|_| rng.gen_range(-1.0..=1.0)).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose_weighted` found for reference `&'a [I]` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/selection_method.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 22 | / population [INFO] [stdout] 23 | | .choose_weighted(rng, Individual::fitness) [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IndexedRandom` which provides `choose_weighted` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::prelude::IndexedRandom; [INFO] [stdout] | [INFO] [stdout] help: there is a method `choose_weighted_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 | .choose_weighted_mut(rng, Individual::fitness) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> libs/genetic-algorithm/src/crossover_method.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | .map(|(a, b)| if rng.gen_bool(0.5) { a } else { b }) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-genetic-algorithm` (lib) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> libs/neural-network/src/lib.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | let bias = rng.gen_range(-1.0..=1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> libs/neural-network/src/lib.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 114 | let weights = (0..input_size).map(|_| rng.gen_range(-1.0..=1.0)).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `ChaCha8Rng` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/crossover_method.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let mut rng = ChaCha8Rng::from_seed(Default::default()); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `ChaCha8Rng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.5/src/lib.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> libs/genetic-algorithm/src/mutation_method.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | if rng.gen_bool(self.chance.into()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> libs/genetic-algorithm/src/mutation_method.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | *gene += self.coeff * rng.gen_range(-1.0..=1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `ChaCha8Rng` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/mutation_method.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | let mut rng = ChaCha8Rng::from_seed(Default::default()); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `ChaCha8Rng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.5/src/lib.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose_weighted` found for reference `&'a [I]` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/selection_method.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 22 | / population [INFO] [stdout] 23 | | .choose_weighted(rng, Individual::fitness) [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IndexedRandom` which provides `choose_weighted` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::prelude::IndexedRandom; [INFO] [stdout] | [INFO] [stdout] help: there is a method `choose_weighted_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 | .choose_weighted_mut(rng, Individual::fitness) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `ChaCha8Rng` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/selection_method.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | let mut rng = ChaCha8Rng::from_seed(Default::default()); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `ChaCha8Rng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.5/src/lib.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `ChaCha8Rng` in the current scope [INFO] [stdout] --> libs/neural-network/src/lib.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | let mut rng = ChaCha8Rng::from_seed(Default::default()); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `ChaCha8Rng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.5/src/lib.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `ChaCha8Rng` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | let mut rng = ChaCha8Rng::from_seed(Default::default()); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `ChaCha8Rng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.5/src/lib.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 99 | let mut population = vec![ [INFO] [stdout] | _____________--------------___- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to the type of this binding [INFO] [stdout] 100 | | individual(&[0.0, 0.0, 0.0]), [INFO] [stdout] 101 | | individual(&[1.0, 1.0, 1.0]), [INFO] [stdout] 102 | | individual(&[1.0, 2.0, 1.0]), [INFO] [stdout] 103 | | individual(&[1.0, 2.0, 4.0]), [INFO] [stdout] 104 | | ]; [INFO] [stdout] | |_________- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 111 | population = ga.evolve(&mut rng, &population); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `(Vec, Statistics)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found tuple `(Vec, statistics::Statistics)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-genetic-algorithm` (lib test) due to 6 previous errors; 4 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-neural-network` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7405ff1f66f3d62bd5998b2970cda437389c0a76a715bb49d016cff47623b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7405ff1f66f3d62bd5998b2970cda437389c0a76a715bb49d016cff47623b18", kill_on_drop: false }` [INFO] [stdout] d7405ff1f66f3d62bd5998b2970cda437389c0a76a715bb49d016cff47623b18