[INFO] cloning repository https://github.com/spacecowboy/scarecrow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spacecowboy/scarecrow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacecowboy%2Fscarecrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacecowboy%2Fscarecrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11e5df59b4460880f77b1bdf601966debb30643a [INFO] testing spacecowboy/scarecrow against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacecowboy%2Fscarecrow" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spacecowboy/scarecrow on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spacecowboy/scarecrow [INFO] finished tweaking git repo https://github.com/spacecowboy/scarecrow [INFO] tweaked toml for git repo https://github.com/spacecowboy/scarecrow written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/spacecowboy/scarecrow already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2ecacbabb88ccd77d6c4f0031c90bda7702fe6c1f96162b3c7e57b36081598a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b2ecacbabb88ccd77d6c4f0031c90bda7702fe6c1f96162b3c7e57b36081598a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2ecacbabb88ccd77d6c4f0031c90bda7702fe6c1f96162b3c7e57b36081598a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2ecacbabb88ccd77d6c4f0031c90bda7702fe6c1f96162b3c7e57b36081598a", kill_on_drop: false }` [INFO] [stdout] b2ecacbabb88ccd77d6c4f0031c90bda7702fe6c1f96162b3c7e57b36081598a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6acb58418a3394cb8b6404e2465f2ea94fffaf1d7dbfdcc0ba24634e9777c29f [INFO] running `Command { std: "docker" "start" "-a" "6acb58418a3394cb8b6404e2465f2ea94fffaf1d7dbfdcc0ba24634e9777c29f", kill_on_drop: false }` [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 1.21s [INFO] running `Command { std: "docker" "inspect" "6acb58418a3394cb8b6404e2465f2ea94fffaf1d7dbfdcc0ba24634e9777c29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6acb58418a3394cb8b6404e2465f2ea94fffaf1d7dbfdcc0ba24634e9777c29f", kill_on_drop: false }` [INFO] [stdout] 6acb58418a3394cb8b6404e2465f2ea94fffaf1d7dbfdcc0ba24634e9777c29f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34ee4a2040fef8515bdea9ddccb06bb248880e15c32c5941d2b9a3bc2d267b7b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "34ee4a2040fef8515bdea9ddccb06bb248880e15c32c5941d2b9a3bc2d267b7b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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: 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: 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 2.64s [INFO] running `Command { std: "docker" "inspect" "34ee4a2040fef8515bdea9ddccb06bb248880e15c32c5941d2b9a3bc2d267b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ee4a2040fef8515bdea9ddccb06bb248880e15c32c5941d2b9a3bc2d267b7b", kill_on_drop: false }` [INFO] [stdout] 34ee4a2040fef8515bdea9ddccb06bb248880e15c32c5941d2b9a3bc2d267b7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d5537b8783d9e03c0dd0834700e2753a016e0bf07ae60e98511ae7e5e67ab31a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d5537b8783d9e03c0dd0834700e2753a016e0bf07ae60e98511ae7e5e67ab31a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.29s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/scarecrow-fdddce77bcc8dfea) [INFO] [stdout] running 15 tests [INFO] [stdout] test layers::tests::dense_derivw ... ok [INFO] [stdout] test layers::tests::hyperbolic_derivo ... ok [INFO] [stdout] test layers::tests::rectified_output ... ok [INFO] [stdout] test layers::tests::dense_output ... ok [INFO] [stdout] test layers::tests::sigmoid_delta_from_outputs ... ok [INFO] [stdout] test utils::tests::add_test ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] Running tests/sgd.rs (/opt/rustwide/target/debug/deps/sgd-4612e4ba880688e6) [INFO] [stdout] test utils::tests::normal_vector_test ... ok [INFO] [stdout] test utils::tests::product_test ... ok [INFO] [stdout] test utils::tests::sum_test ... ok [INFO] [stdout] test layers::tests::hyperbolic_output ... ok [INFO] [stdout] test layers::tests::sigmoid_output ... ok [INFO] [stdout] test utils::tests::dot_test ... ok [INFO] [stdout] test layers::tests::rectified_delta_from_inputs ... ok [INFO] [stdout] test layers::tests::dense_delta_from_inputs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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.71s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d5537b8783d9e03c0dd0834700e2753a016e0bf07ae60e98511ae7e5e67ab31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5537b8783d9e03c0dd0834700e2753a016e0bf07ae60e98511ae7e5e67ab31a", kill_on_drop: false }` [INFO] [stdout] d5537b8783d9e03c0dd0834700e2753a016e0bf07ae60e98511ae7e5e67ab31a