[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] 5bd8ad9946c75d66d9d340fa94309d85ff230bb1 [INFO] testing edgarcoime/sparrow against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarcoime%2Fsparrow" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/edgarcoime/sparrow on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689 [INFO] running `Command { std: "docker" "start" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689", 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" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling wide v0.7.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling lib-neural-network v0.1.0 (/opt/rustwide/workdir/libs/neural-network) [INFO] [stderr] Compiling lib-genetic-algorithm v0.1.0 (/opt/rustwide/workdir/libs/genetic-algorithm) [INFO] [stdout] warning: unused imports: `layer::Layer` and `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use self::{layer::Layer, neuron::Neuron}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layer` is never constructed [INFO] [stdout] --> libs/neural-network/src/layer.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random` and `propagate` are never used [INFO] [stdout] --> libs/neural-network/src/layer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub fn random(rng: &mut dyn RngCore, input_size: usize, ouput_size: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn propagate(&self, inputs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerTopology` is never constructed [INFO] [stdout] --> libs/neural-network/src/network.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LayerTopology { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Network` is never constructed [INFO] [stdout] --> libs/neural-network/src/network.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random` and `propagate` are never used [INFO] [stdout] --> libs/neural-network/src/network.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | pub fn random(rng: &mut dyn RngCore, layers: &[LayerTopology]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn propagate(&self, inputs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Neuron` is never constructed [INFO] [stdout] --> libs/neural-network/src/neuron.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Neuron { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random` and `propagate` are never used [INFO] [stdout] --> libs/neural-network/src/neuron.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Neuron { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn random(rng: &mut dyn RngCore, input_size: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn propagate(&self, inputs: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling js-sys v0.3.72 [INFO] [stderr] Compiling lib-simulation v0.1.0 (/opt/rustwide/workdir/libs/simulation) [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling lib-simulation-wasm v0.1.0 (/opt/rustwide/workdir/libs/simulation-wasm) [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/animal.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> libs/simulation-wasm/src/food.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/world.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Simulation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.01s [INFO] running `Command { std: "docker" "inspect" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lib-genetic-algorithm v0.1.0 (/opt/rustwide/workdir/libs/genetic-algorithm) [INFO] [stderr] Compiling lib-neural-network v0.1.0 (/opt/rustwide/workdir/libs/neural-network) [INFO] [stdout] warning: unused imports: `layer::Layer` and `neuron::Neuron` [INFO] [stdout] --> libs/neural-network/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use self::{layer::Layer, neuron::Neuron}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layer` is never constructed [INFO] [stdout] --> libs/neural-network/src/layer.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random` and `propagate` are never used [INFO] [stdout] --> libs/neural-network/src/layer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub fn random(rng: &mut dyn RngCore, input_size: usize, ouput_size: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn propagate(&self, inputs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerTopology` is never constructed [INFO] [stdout] --> libs/neural-network/src/network.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LayerTopology { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Network` is never constructed [INFO] [stdout] --> libs/neural-network/src/network.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random` and `propagate` are never used [INFO] [stdout] --> libs/neural-network/src/network.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | pub fn random(rng: &mut dyn RngCore, layers: &[LayerTopology]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn propagate(&self, inputs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Neuron` is never constructed [INFO] [stdout] --> libs/neural-network/src/neuron.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Neuron { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random` and `propagate` are never used [INFO] [stdout] --> libs/neural-network/src/neuron.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Neuron { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn random(rng: &mut dyn RngCore, input_size: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn propagate(&self, inputs: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layer::Layer` [INFO] [stdout] --> libs/neural-network/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use self::{layer::Layer, neuron::Neuron}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layer` is never constructed [INFO] [stdout] --> libs/neural-network/src/layer.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random` and `propagate` are never used [INFO] [stdout] --> libs/neural-network/src/layer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub fn random(rng: &mut dyn RngCore, input_size: usize, ouput_size: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn propagate(&self, inputs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerTopology` is never constructed [INFO] [stdout] --> libs/neural-network/src/network.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LayerTopology { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Network` is never constructed [INFO] [stdout] --> libs/neural-network/src/network.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `random` and `propagate` are never used [INFO] [stdout] --> libs/neural-network/src/network.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | pub fn random(rng: &mut dyn RngCore, layers: &[LayerTopology]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn propagate(&self, inputs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling lib-simulation v0.1.0 (/opt/rustwide/workdir/libs/simulation) [INFO] [stderr] Compiling lib-simulation-wasm v0.1.0 (/opt/rustwide/workdir/libs/simulation-wasm) [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/animal.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> libs/simulation-wasm/src/food.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> libs/simulation-wasm/src/world.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> libs/simulation-wasm/src/simulation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Simulation { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.67s [INFO] running `Command { std: "docker" "inspect" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `layer::Layer` and `neuron::Neuron` [INFO] [stderr] --> libs/neural-network/src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use self::{layer::Layer, neuron::Neuron}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Layer` is never constructed [INFO] [stderr] --> libs/neural-network/src/layer.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) struct Layer { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `random` and `propagate` are never used [INFO] [stderr] --> libs/neural-network/src/layer.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Layer { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 10 | pub fn random(rng: &mut dyn RngCore, input_size: usize, ouput_size: usize) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn propagate(&self, inputs: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LayerTopology` is never constructed [INFO] [stderr] --> libs/neural-network/src/network.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct LayerTopology { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Network` is never constructed [INFO] [stderr] --> libs/neural-network/src/network.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Network { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `random` and `propagate` are never used [INFO] [stderr] --> libs/neural-network/src/network.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Network { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 15 | pub fn random(rng: &mut dyn RngCore, layers: &[LayerTopology]) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn propagate(&self, inputs: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Neuron` is never constructed [INFO] [stderr] --> libs/neural-network/src/neuron.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Neuron { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `random` and `propagate` are never used [INFO] [stderr] --> libs/neural-network/src/neuron.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Neuron { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 10 | pub fn random(rng: &mut dyn RngCore, input_size: usize) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn propagate(&self, inputs: &[f32]) -> f32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `layer::Layer` [INFO] [stderr] --> libs/neural-network/src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use self::{layer::Layer, neuron::Neuron}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `lib-neural-network` (lib) generated 8 warnings (run `cargo fix --lib -p lib-neural-network` to apply 1 suggestion) [INFO] [stderr] warning: `lib-neural-network` (lib test) generated 6 warnings (5 duplicates) (run `cargo fix --lib -p lib-neural-network --tests` to apply 1 suggestion) [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stderr] --> libs/simulation-wasm/src/animal.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::prelude::*` [INFO] [stderr] --> libs/simulation-wasm/src/food.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stderr] --> libs/simulation-wasm/src/simulation.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stderr] --> libs/simulation-wasm/src/world.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `rng` is never read [INFO] [stderr] --> libs/simulation-wasm/src/simulation.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Simulation { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 6 | rng: ThreadRng, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `lib-simulation-wasm` (lib test) generated 8 warnings (3 duplicates) (run `cargo fix --lib -p lib-simulation-wasm --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lib_genetic_algorithm-d9054408bdc1ead6) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test crossover::uniform::tests::uniform_crossover ... ok [INFO] [stdout] test mutation::gaussian::tests::given_zero_chance::and_nonzero_coefficient::does_not_change_the_original_chromosome ... ok [INFO] [stdout] test genetic_algorithm::tests::genetic_algorithm ... ok [INFO] [stdout] test mutation::gaussian::tests::given_zero_chance::and_zero_coefficient::does_not_change_the_original_chromosome ... ok [INFO] [stdout] test selection::roulette_wheel::tests::roulette_wheel_selection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lib_neural_network-b26beb12dc50faa4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::propagate ... ok [INFO] [stdout] test tests::random ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lib_simulation-aeceeb97d614f7f8) [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lib_simulation_wasm-dcc07be2a02af6ee) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests lib_genetic_algorithm [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lib_neural_network [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lib_simulation [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689", kill_on_drop: false }` [INFO] [stdout] 8030882fe4940aa25677a1e9f56f4f62f1364601ed9773de8b0002e6298eb689