[INFO] fetching crate scarecrow 0.1.0... [INFO] checking scarecrow-0.1.0 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate scarecrow 0.1.0 into /workspace/builds/worker-60/source [INFO] validating manifest of crates.io crate scarecrow 0.1.0 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-60/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b008baf881b67be0fbd1495d4e5966299277b7cc043ff55660592ea22d3b1ac1 [INFO] running `Command { std: "docker" "start" "-a" "b008baf881b67be0fbd1495d4e5966299277b7cc043ff55660592ea22d3b1ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b008baf881b67be0fbd1495d4e5966299277b7cc043ff55660592ea22d3b1ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b008baf881b67be0fbd1495d4e5966299277b7cc043ff55660592ea22d3b1ac1", kill_on_drop: false }` [INFO] [stdout] b008baf881b67be0fbd1495d4e5966299277b7cc043ff55660592ea22d3b1ac1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b1c6c2fb985b69d4d021e8831bfa54a359b5118dfd4e8cb5d0aa6d244c05eee [INFO] running `Command { std: "docker" "start" "-a" "3b1c6c2fb985b69d4d021e8831bfa54a359b5118dfd4e8cb5d0aa6d244c05eee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [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 [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: 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.18s [INFO] running `Command { std: "docker" "inspect" "3b1c6c2fb985b69d4d021e8831bfa54a359b5118dfd4e8cb5d0aa6d244c05eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b1c6c2fb985b69d4d021e8831bfa54a359b5118dfd4e8cb5d0aa6d244c05eee", kill_on_drop: false }` [INFO] [stdout] 3b1c6c2fb985b69d4d021e8831bfa54a359b5118dfd4e8cb5d0aa6d244c05eee