[INFO] cloning repository https://github.com/victorinno/rust_simple_neural_network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/victorinno/rust_simple_neural_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorinno%2Frust_simple_neural_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorinno%2Frust_simple_neural_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ed6a067b3728139863d4df43474fbe2de00072c [INFO] checking victorinno/rust_simple_neural_network against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorinno%2Frust_simple_neural_network" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/victorinno/rust_simple_neural_network on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/victorinno/rust_simple_neural_network [INFO] finished tweaking git repo https://github.com/victorinno/rust_simple_neural_network [INFO] tweaked toml for git repo https://github.com/victorinno/rust_simple_neural_network written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/victorinno/rust_simple_neural_network already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinytemplate v1.0.4 [INFO] [stderr] Downloaded oorandom v11.1.1 [INFO] [stderr] Downloaded bumpalo v3.3.0 [INFO] [stderr] Downloaded criterion-plot v0.4.2 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded ndarray v0.13.1 [INFO] [stderr] Downloaded noisy_float v0.1.12 [INFO] [stderr] Downloaded ndarray-stats v0.3.0 [INFO] [stderr] Downloaded criterion v0.3.2 [INFO] [stderr] Downloaded plotters v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76c5db78e5f4bba70d36b0f9b0a84d3660587847267d23e6bfcc3e39f45ebe0d [INFO] running `Command { std: "docker" "start" "-a" "76c5db78e5f4bba70d36b0f9b0a84d3660587847267d23e6bfcc3e39f45ebe0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76c5db78e5f4bba70d36b0f9b0a84d3660587847267d23e6bfcc3e39f45ebe0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c5db78e5f4bba70d36b0f9b0a84d3660587847267d23e6bfcc3e39f45ebe0d", kill_on_drop: false }` [INFO] [stdout] 76c5db78e5f4bba70d36b0f9b0a84d3660587847267d23e6bfcc3e39f45ebe0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 180744e9124b7ee51145d9708588f77cd424302c0820b9fa7e9ea015a4a90763 [INFO] running `Command { std: "docker" "start" "-a" "180744e9124b7ee51145d9708588f77cd424302c0820b9fa7e9ea015a4a90763", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking oorandom v11.1.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking noisy_float v0.1.12 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking ndarray v0.13.1 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Checking ndarray-stats v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stderr] Checking rust_simple_neural_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/neural_network/neural_network.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | fn set_input(&mut self, input: &Array1) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/neural_network/neural_network.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn forward(&mut self, input: &Array1) -> Array1 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/neural_network/neural_network.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | fn set_input(&mut self, input: &Array1) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/neural_network/neural_network.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn forward(&mut self, input: &Array1) -> Array1 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mean_absolute_error` in this scope [INFO] [stdout] --> benches/rust_simple_neural_network.rs:12:63 [INFO] [stdout] | [INFO] [stdout] 12 | c.bench_function("mean_absolute_error 15 ", |b| b.iter(|| mean_absolute_error(black_box(n), black_box(m)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mean_absolute_error` in this scope [INFO] [stdout] --> benches/rust_simple_neural_network.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | c.bench_function("mean_absolute_error 150 ", |b| b.iter(|| mean_absolute_error(black_box(n), black_box(m)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mean_absolute_error` in this scope [INFO] [stdout] --> benches/rust_simple_neural_network.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | c.bench_function("mean_absolute_error 1500 ", |b| b.iter(|| mean_absolute_error(black_box(n), black_box(m)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_simple_neural_network::*` [INFO] [stdout] --> benches/rust_simple_neural_network.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_simple_neural_network::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> benches/rust_simple_neural_network.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | let n = &Array1::from_shape_fn((15), |(i)| rng.gen::()); [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> benches/rust_simple_neural_network.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | let n = &Array1::from_shape_fn((15), |(i)| rng.gen::()); [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> benches/rust_simple_neural_network.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | let m = &Array1::from_shape_fn((15), |(i)| rng.gen::()); [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> benches/rust_simple_neural_network.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | let m = &Array1::from_shape_fn((15), |(i)| rng.gen::()); [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> benches/rust_simple_neural_network.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let n = &Array1::from_shape_fn((150), |(i)| rng.gen::()); [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> benches/rust_simple_neural_network.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | let n = &Array1::from_shape_fn((150), |(i)| rng.gen::()); [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> benches/rust_simple_neural_network.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | let m = &Array1::from_shape_fn((150), |(i)| rng.gen::()); [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> benches/rust_simple_neural_network.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | let m = &Array1::from_shape_fn((150), |(i)| rng.gen::()); [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> benches/rust_simple_neural_network.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | let n = &Array1::from_shape_fn((1500), |(i)| rng.gen::()); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> benches/rust_simple_neural_network.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let n = &Array1::from_shape_fn((1500), |(i)| rng.gen::()); [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> benches/rust_simple_neural_network.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | let m = &Array1::from_shape_fn((1500), |(i)| rng.gen::()); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> benches/rust_simple_neural_network.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | let m = &Array1::from_shape_fn((1500), |(i)| rng.gen::()); [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_simple_neural_network` due to 4 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "180744e9124b7ee51145d9708588f77cd424302c0820b9fa7e9ea015a4a90763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "180744e9124b7ee51145d9708588f77cd424302c0820b9fa7e9ea015a4a90763", kill_on_drop: false }` [INFO] [stdout] 180744e9124b7ee51145d9708588f77cd424302c0820b9fa7e9ea015a4a90763