[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarcoime%2Fsparrow" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edgarcoime/sparrow on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-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" "+506512391b1a75ae450d36c9420978402a91abcc" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-case v2.0.0 [INFO] [stderr] Downloaded simba v0.7.1 [INFO] [stderr] Downloaded syn v1.0.88 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded libc v0.2.120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2d091abf6eea44d9584ec3180904b09de8b52bdc575604d045ac8f46963372f [INFO] running `Command { std: "docker" "start" "-a" "f2d091abf6eea44d9584ec3180904b09de8b52bdc575604d045ac8f46963372f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2d091abf6eea44d9584ec3180904b09de8b52bdc575604d045ac8f46963372f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d091abf6eea44d9584ec3180904b09de8b52bdc575604d045ac8f46963372f", kill_on_drop: false }` [INFO] [stdout] f2d091abf6eea44d9584ec3180904b09de8b52bdc575604d045ac8f46963372f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1829ee1e71d5a6aa51364254882160c0738ceafa75e6abfa31ac9ed167cefe1a [INFO] running `Command { std: "docker" "start" "-a" "1829ee1e71d5a6aa51364254882160c0738ceafa75e6abfa31ac9ed167cefe1a", 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] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking bytemuck v1.8.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.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 rand_core v0.6.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [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 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/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[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[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: 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/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 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/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 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[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-05-21; consider upgrading it if it is out of date [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-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weights` on type `&neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/layer.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | .all(|neuron| neuron.weights.len() == neurons[0].weights.len()) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weights` on type `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/layer.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | .all(|neuron| neuron.weights.len() == neurons[0].weights.len()) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weights` on type `&neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/layer.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | .all(|neuron| neuron.weights.len() == neurons[0].weights.len()) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weights` on type `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/layer.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | .all(|neuron| neuron.weights.len() == neurons[0].weights.len()) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neurons` on type `&layer::Layer` [INFO] [stdout] --> libs/neural-network/src/layer.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | self.neurons [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neurons` on type `&layer::Layer` [INFO] [stdout] --> libs/neural-network/src/layer.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | self.neurons [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neurons` on type `layer::Layer` [INFO] [stdout] --> libs/neural-network/src/layer.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | let actual_biases: Vec<_> = layer.neurons.iter().map(|neuron| neuron.bias).collect(); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `neurons` on type `layer::Layer` [INFO] [stdout] --> libs/neural-network/src/layer.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | .neurons [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weights` on type `&neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | .zip(&self.weights) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weights` on type `&neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | .zip(&self.weights) [INFO] [stdout] | ^^^^^^^ unknown field [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/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[E0609]: no field `bias` on type `&neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | (self.bias + output).max(0.) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bias` on type `&neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | (self.bias + output).max(0.) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bias` on type `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | assert_relative_eq!(neuron.bias, -0.6255188); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weights` on type `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | assert_relative_eq!(neuron.weights.as_slice(), &[ [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bias` on type `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:119:48 [INFO] [stdout] | [INFO] [stdout] 119 | approx::assert_relative_eq!(actual.bias, expected.bias); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bias` on type `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:119:63 [INFO] [stdout] | [INFO] [stdout] 119 | approx::assert_relative_eq!(actual.bias, expected.bias); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weights` on type `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:120:48 [INFO] [stdout] | [INFO] [stdout] 120 | approx::assert_relative_eq!(actual.weights.as_slice(), expected.weights.as_slice()); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weights` on type `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/neuron.rs:120:77 [INFO] [stdout] | [INFO] [stdout] 120 | approx::assert_relative_eq!(actual.weights.as_slice(), expected.weights.as_slice()); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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 `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] [stderr] error: could not compile `lib-genetic-algorithm` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lib-neural-network` (lib) due to 10 previous errors [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] [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 `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: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0609. [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 20 previous errors [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 [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 [INFO] running `Command { std: "docker" "inspect" "1829ee1e71d5a6aa51364254882160c0738ceafa75e6abfa31ac9ed167cefe1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1829ee1e71d5a6aa51364254882160c0738ceafa75e6abfa31ac9ed167cefe1a", kill_on_drop: false }` [INFO] [stdout] 1829ee1e71d5a6aa51364254882160c0738ceafa75e6abfa31ac9ed167cefe1a [INFO] checking edgarcoime/sparrow against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarcoime%2Fsparrow" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edgarcoime/sparrow on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-4-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50f040ae50a9190cc8ef249f935f70fc237f2a78fa36de9a9e6a3becbe844c39 [INFO] running `Command { std: "docker" "start" "-a" "50f040ae50a9190cc8ef249f935f70fc237f2a78fa36de9a9e6a3becbe844c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50f040ae50a9190cc8ef249f935f70fc237f2a78fa36de9a9e6a3becbe844c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f040ae50a9190cc8ef249f935f70fc237f2a78fa36de9a9e6a3becbe844c39", kill_on_drop: false }` [INFO] [stdout] 50f040ae50a9190cc8ef249f935f70fc237f2a78fa36de9a9e6a3becbe844c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38669cd3dc85f356a199d30d9c71591696b5c5bf26768f2f5fa12df8970aeedd [INFO] running `Command { std: "docker" "start" "-a" "38669cd3dc85f356a199d30d9c71591696b5c5bf26768f2f5fa12df8970aeedd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "38669cd3dc85f356a199d30d9c71591696b5c5bf26768f2f5fa12df8970aeedd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38669cd3dc85f356a199d30d9c71591696b5c5bf26768f2f5fa12df8970aeedd", kill_on_drop: false }` [INFO] [stdout] 38669cd3dc85f356a199d30d9c71591696b5c5bf26768f2f5fa12df8970aeedd