[INFO] fetching crate scarecrow 0.1.0... [INFO] testing scarecrow-0.1.0 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate scarecrow 0.1.0 into /workspace/builds/worker-95/source [INFO] validating manifest of crates.io crate scarecrow 0.1.0 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scarecrow 0.1.0 [INFO] finished tweaking crates.io crate scarecrow 0.1.0 [INFO] tweaked toml for crates.io crate scarecrow 0.1.0 written to /workspace/builds/worker-95/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df133b59a11b5c057cd66b929944df8fc6ab3a2d4055ee4db48052de54fc559b [INFO] running `Command { std: "docker" "start" "-a" "df133b59a11b5c057cd66b929944df8fc6ab3a2d4055ee4db48052de54fc559b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df133b59a11b5c057cd66b929944df8fc6ab3a2d4055ee4db48052de54fc559b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df133b59a11b5c057cd66b929944df8fc6ab3a2d4055ee4db48052de54fc559b", kill_on_drop: false }` [INFO] [stdout] df133b59a11b5c057cd66b929944df8fc6ab3a2d4055ee4db48052de54fc559b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64ae4318710615cc01be4696cc1a1d45a896e3a0b81871ad4d65748f0da68b58 [INFO] running `Command { std: "docker" "start" "-a" "64ae4318710615cc01be4696cc1a1d45a896e3a0b81871ad4d65748f0da68b58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling scarecrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | fn output(&self, &[f32]) -> Vec; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[f32]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | fn derivw(&self, &[f32]) -> Option> { [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[f32]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn loss1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn loss1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | fn deriv1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn deriv1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 108 | fn train(&self, layers: &mut LinkedList>, inputs: &[f32], targets: &[f32]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub loss: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DifferentiableLossFunction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | fn weight_step(&self, layer: &Box, inputs: &[f32], delta: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | fn bias_step(&self, layer: &Box, delta: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | fn train(&self, layers: &mut LinkedList>, inputs: &[f32], targets: &[f32]) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.82s [INFO] running `Command { std: "docker" "inspect" "64ae4318710615cc01be4696cc1a1d45a896e3a0b81871ad4d65748f0da68b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ae4318710615cc01be4696cc1a1d45a896e3a0b81871ad4d65748f0da68b58", kill_on_drop: false }` [INFO] [stdout] 64ae4318710615cc01be4696cc1a1d45a896e3a0b81871ad4d65748f0da68b58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8f5a0f5ce1b006d7efd31a587440831b87533ea9debcbf56cb308b501dd181e [INFO] running `Command { std: "docker" "start" "-a" "c8f5a0f5ce1b006d7efd31a587440831b87533ea9debcbf56cb308b501dd181e", kill_on_drop: false }` [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | fn output(&self, &[f32]) -> Vec; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[f32]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | fn derivw(&self, &[f32]) -> Option> { [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[f32]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn loss1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn loss1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | fn deriv1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn deriv1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 108 | fn train(&self, layers: &mut LinkedList>, inputs: &[f32], targets: &[f32]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub loss: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DifferentiableLossFunction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | fn weight_step(&self, layer: &Box, inputs: &[f32], delta: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | fn bias_step(&self, layer: &Box, delta: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | fn train(&self, layers: &mut LinkedList>, inputs: &[f32], targets: &[f32]) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scarecrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | fn output(&self, &[f32]) -> Vec; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[f32]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | fn derivw(&self, &[f32]) -> Option> { [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[f32]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn loss1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn loss1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | fn deriv1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn deriv1(&self, f32, f32) -> f32; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 108 | fn train(&self, layers: &mut LinkedList>, inputs: &[f32], targets: &[f32]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub loss: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DifferentiableLossFunction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | fn weight_step(&self, layer: &Box, inputs: &[f32], delta: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | fn bias_step(&self, layer: &Box, delta: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sgd.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | fn train(&self, layers: &mut LinkedList>, inputs: &[f32], targets: &[f32]) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/sgd.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | let mut layers: LinkedList> = LinkedList::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "c8f5a0f5ce1b006d7efd31a587440831b87533ea9debcbf56cb308b501dd181e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8f5a0f5ce1b006d7efd31a587440831b87533ea9debcbf56cb308b501dd181e", kill_on_drop: false }` [INFO] [stdout] c8f5a0f5ce1b006d7efd31a587440831b87533ea9debcbf56cb308b501dd181e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 262b5a9f3dd37aeef4e46b5ee013dc40e369ea0b09ae0dcbab8742c066cc612c [INFO] running `Command { std: "docker" "start" "-a" "262b5a9f3dd37aeef4e46b5ee013dc40e369ea0b09ae0dcbab8742c066cc612c", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/traits.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | fn output(&self, &[f32]) -> Vec; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[f32]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/traits.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | fn derivw(&self, &[f32]) -> Option> { [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[f32]` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/traits.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 78 | fn loss1(&self, f32, f32) -> f32; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/traits.rs:78:26 [INFO] [stderr] | [INFO] [stderr] 78 | fn loss1(&self, f32, f32) -> f32; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/traits.rs:94:22 [INFO] [stderr] | [INFO] [stderr] 94 | fn deriv1(&self, f32, f32) -> f32; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/traits.rs:94:27 [INFO] [stderr] | [INFO] [stderr] 94 | fn deriv1(&self, f32, f32) -> f32; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits.rs:108:49 [INFO] [stderr] | [INFO] [stderr] 108 | fn train(&self, layers: &mut LinkedList>, inputs: &[f32], targets: &[f32]); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sgd.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | pub loss: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DifferentiableLossFunction` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sgd.rs:28:39 [INFO] [stderr] | [INFO] [stderr] 28 | fn weight_step(&self, layer: &Box, inputs: &[f32], delta: &[f32]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sgd.rs:44:37 [INFO] [stderr] | [INFO] [stderr] 44 | fn bias_step(&self, layer: &Box, delta: &[f32]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sgd.rs:55:49 [INFO] [stderr] | [INFO] [stderr] 55 | fn train(&self, layers: &mut LinkedList>, inputs: &[f32], targets: &[f32]) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `scarecrow` (lib) generated 11 warnings [INFO] [stderr] warning: `scarecrow` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/sgd.rs:16:36 [INFO] [stderr] | [INFO] [stderr] 16 | let mut layers: LinkedList> = LinkedList::new(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn WeightedLayer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `scarecrow` (test "sgd") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/scarecrow-340b5321b3ebf1c2) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test layers::tests::dense_delta_from_inputs ... ok [INFO] [stdout] test layers::tests::dense_derivw ... ok [INFO] [stdout] test layers::tests::rectified_delta_from_inputs ... ok [INFO] [stdout] test layers::tests::sigmoid_delta_from_outputs ... ok [INFO] [stdout] test utils::tests::dot_test ... ok [INFO] [stdout] test utils::tests::add_test ... ok [INFO] [stdout] test utils::tests::product_test ... ok [INFO] [stdout] test layers::tests::rectified_output ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test layers::tests::hyperbolic_output ... ok [INFO] [stdout] test utils::tests::sum_test ... ok [INFO] [stdout] test utils::tests::normal_vector_test ... ok [INFO] [stdout] test layers::tests::dense_output ... ok [INFO] [stdout] test layers::tests::sigmoid_output ... ok [INFO] [stdout] test layers::tests::hyperbolic_derivo ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/sgd.rs (/opt/rustwide/target/debug/deps/sgd-58319825f3209466) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests scarecrow [INFO] [stdout] test train_xor ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 29) ... ignored [INFO] [stdout] test src/lib.rs - (line 48) ... ignored [INFO] [stdout] test src/lib.rs - (line 70) ... ignored [INFO] [stdout] test src/lib.rs - (line 80) ... ignored [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "262b5a9f3dd37aeef4e46b5ee013dc40e369ea0b09ae0dcbab8742c066cc612c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "262b5a9f3dd37aeef4e46b5ee013dc40e369ea0b09ae0dcbab8742c066cc612c", kill_on_drop: false }` [INFO] [stdout] 262b5a9f3dd37aeef4e46b5ee013dc40e369ea0b09ae0dcbab8742c066cc612c