[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#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorinno%2Frust_simple_neural_network" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/victorinno/rust_simple_neural_network on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded criterion v0.3.2 [INFO] [stderr] Downloaded criterion-plot v0.4.2 [INFO] [stderr] Downloaded oorandom v11.1.1 [INFO] [stderr] Downloaded ndarray-stats v0.3.0 [INFO] [stderr] Downloaded noisy_float v0.1.12 [INFO] [stderr] Downloaded plotters v0.2.14 [INFO] [stderr] Downloaded ndarray v0.13.1 [INFO] [stderr] Downloaded tinytemplate v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aeb34f94758fa38fb356f97af4f0197bae46603028d7e06d2be673bde15bbb02 [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" "aeb34f94758fa38fb356f97af4f0197bae46603028d7e06d2be673bde15bbb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeb34f94758fa38fb356f97af4f0197bae46603028d7e06d2be673bde15bbb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeb34f94758fa38fb356f97af4f0197bae46603028d7e06d2be673bde15bbb02", kill_on_drop: false }` [INFO] [stdout] aeb34f94758fa38fb356f97af4f0197bae46603028d7e06d2be673bde15bbb02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d39c264a371b7ad78b87db5afc5e169072c5c9fd3dc068d0dfa40abaa6330cb [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" "9d39c264a371b7ad78b87db5afc5e169072c5c9fd3dc068d0dfa40abaa6330cb", kill_on_drop: false }` [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 byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.1 [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] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking noisy_float v0.1.12 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking ndarray-stats v0.3.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.4 [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: 2 warnings emitted [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] 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9d39c264a371b7ad78b87db5afc5e169072c5c9fd3dc068d0dfa40abaa6330cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d39c264a371b7ad78b87db5afc5e169072c5c9fd3dc068d0dfa40abaa6330cb", kill_on_drop: false }` [INFO] [stdout] 9d39c264a371b7ad78b87db5afc5e169072c5c9fd3dc068d0dfa40abaa6330cb