[INFO] fetching crate scarecrow 0.1.0... [INFO] checking scarecrow-0.1.0 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate scarecrow 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate scarecrow 0.1.0 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0a362fb559687afbd9f45eca1fa4a013b0142650b4796bdccb661fc186a5c3e [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" "b0a362fb559687afbd9f45eca1fa4a013b0142650b4796bdccb661fc186a5c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0a362fb559687afbd9f45eca1fa4a013b0142650b4796bdccb661fc186a5c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a362fb559687afbd9f45eca1fa4a013b0142650b4796bdccb661fc186a5c3e", kill_on_drop: false }` [INFO] [stdout] b0a362fb559687afbd9f45eca1fa4a013b0142650b4796bdccb661fc186a5c3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c2b5d27cbc0f1f0b94e0fb8db66d1b92454cf48d5895ec6e8da9476197806c4 [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" "1c2b5d27cbc0f1f0b94e0fb8db66d1b92454cf48d5895ec6e8da9476197806c4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking 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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.76s [INFO] running `Command { std: "docker" "inspect" "1c2b5d27cbc0f1f0b94e0fb8db66d1b92454cf48d5895ec6e8da9476197806c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c2b5d27cbc0f1f0b94e0fb8db66d1b92454cf48d5895ec6e8da9476197806c4", kill_on_drop: false }` [INFO] [stdout] 1c2b5d27cbc0f1f0b94e0fb8db66d1b92454cf48d5895ec6e8da9476197806c4