[INFO] cloning repository https://github.com/edgarcoime/sparrow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edgarcoime/sparrow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarcoime%2Fsparrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarcoime%2Fsparrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 177eef4be40373113151a5845103b13d26913018 [INFO] checking edgarcoime/sparrow/177eef4be40373113151a5845103b13d26913018 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarcoime%2Fsparrow" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edgarcoime/sparrow 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/edgarcoime/sparrow [INFO] finished tweaking git repo https://github.com/edgarcoime/sparrow [INFO] tweaked toml for git repo https://github.com/edgarcoime/sparrow written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/edgarcoime/sparrow 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: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-case v2.0.0 [INFO] [stderr] Downloaded syn v1.0.88 [INFO] [stderr] Downloaded libc v0.2.120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9f7d70ad268d627d15f6359006d63a0e0c694f060bf7fc79e8b2864f2aeffb46 [INFO] running `Command { std: "docker" "start" "-a" "9f7d70ad268d627d15f6359006d63a0e0c694f060bf7fc79e8b2864f2aeffb46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f7d70ad268d627d15f6359006d63a0e0c694f060bf7fc79e8b2864f2aeffb46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f7d70ad268d627d15f6359006d63a0e0c694f060bf7fc79e8b2864f2aeffb46", kill_on_drop: false }` [INFO] [stdout] 9f7d70ad268d627d15f6359006d63a0e0c694f060bf7fc79e8b2864f2aeffb46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 905d8a0c6322c5806744d66cff924fa62674bd85fcf111823edd518ff255647c [INFO] running `Command { std: "docker" "start" "-a" "905d8a0c6322c5806744d66cff924fa62674bd85fcf111823edd518ff255647c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.88 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Checking bytemuck v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling test-case v2.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking lib-neural-network v0.1.0 (/opt/rustwide/workdir/libs/neural-network) [INFO] [stderr] Checking lib-genetic-algorithm v0.1.0 (/opt/rustwide/workdir/libs/genetic-algorithm) [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> libs/neural-network/src/lib.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 19 | impl Network { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 20 | crate fn new(layers: Vec) -> Self { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> libs/neural-network/src/lib.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 19 | impl Network { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 20 | crate fn new(layers: Vec) -> Self { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> libs/neural-network/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(crate_visibility_modifier)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `crate` [INFO] [stdout] --> libs/neural-network/src/layer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Layer { [INFO] [stdout] | ----- while parsing this struct [INFO] [stdout] 6 | crate neurons: Vec [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> libs/neural-network/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(crate_visibility_modifier)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `crate` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Neuron { [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] 8 | crate bias: f32, [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `crate` [INFO] [stdout] --> libs/neural-network/src/layer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Layer { [INFO] [stdout] | ----- while parsing this struct [INFO] [stdout] 6 | crate neurons: Vec [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `crate` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Neuron { [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] 8 | crate bias: f32, [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(crate_visibility_modifier)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(crate_visibility_modifier)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> libs/genetic-algorithm/src/statistics.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 12 | impl Statistics { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 13 | crate fn new(population: &[I]) -> Self [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 60 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> libs/genetic-algorithm/src/statistics.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 12 | impl Statistics { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 13 | crate fn new(population: &[I]) -> Self [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 60 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> libs/neural-network/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> libs/neural-network/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> libs/neural-network/src/layer_topology.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> libs/genetic-algorithm/src/chromosome.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | type IntoIter = impl Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> libs/genetic-algorithm/src/statistics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> libs/genetic-algorithm/src/statistics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> libs/neural-network/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> libs/neural-network/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_almost_eq` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | macro_rules! assert_almost_eq { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> libs/neural-network/src/layer_topology.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> libs/genetic-algorithm/src/chromosome.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | type IntoIter = impl Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> libs/genetic-algorithm/src/statistics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chromosome` [INFO] [stdout] --> libs/genetic-algorithm/src/chromosome.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | use crate::chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chromosome` [INFO] [stdout] --> libs/genetic-algorithm/src/chromosome.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | use crate::chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-neural-network` (lib) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `statistics::Statistics` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | (new_population, Statistics::new(population)) [INFO] [stdout] | ^^^ function or associated item not found in `Statistics` [INFO] [stdout] | [INFO] [stdout] ::: libs/genetic-algorithm/src/statistics.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Statistics { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `statistics::Statistics` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/statistics.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Statistics { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | let stats = Statistics::new(&[ [INFO] [stdout] | ^^^ function or associated item not found in `Statistics` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Network` in the current scope [INFO] [stdout] --> libs/neural-network/src/lib.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Network { [INFO] [stdout] | ------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | let network = Network::new(vec![ [INFO] [stdout] | ^^^ function or associated item not found in `Network` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `statistics::Statistics` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/statistics.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Statistics { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 83 | let stats = Statistics::new(&[ [INFO] [stdout] | ^^^ function or associated item not found in `Statistics` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_weights` found for struct `Network` in the current scope [INFO] [stdout] --> libs/neural-network/src/lib.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Network { [INFO] [stdout] | ------------------ function or associated item `from_weights` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | let actual: Vec<_> = Network::from_weights(layers, weights.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Network` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-genetic-algorithm` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-neural-network` (lib test) due to 7 previous errors; 5 warnings emitted [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `statistics::Statistics` in the current scope [INFO] [stdout] --> libs/genetic-algorithm/src/lib.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | (new_population, Statistics::new(population)) [INFO] [stdout] | ^^^ function or associated item not found in `Statistics` [INFO] [stdout] | [INFO] [stdout] ::: libs/genetic-algorithm/src/statistics.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Statistics { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-genetic-algorithm` (lib test) due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "905d8a0c6322c5806744d66cff924fa62674bd85fcf111823edd518ff255647c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905d8a0c6322c5806744d66cff924fa62674bd85fcf111823edd518ff255647c", kill_on_drop: false }` [INFO] [stdout] 905d8a0c6322c5806744d66cff924fa62674bd85fcf111823edd518ff255647c