[INFO] cloning repository https://github.com/leduvu/Vanilla-NN [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leduvu/Vanilla-NN" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleduvu%2FVanilla-NN", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleduvu%2FVanilla-NN'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ddcf6288d99b8c10d1b53786e604b4753ead9c6 [INFO] checking leduvu/Vanilla-NN against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleduvu%2FVanilla-NN" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leduvu/Vanilla-NN on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leduvu/Vanilla-NN [INFO] finished tweaking git repo https://github.com/leduvu/Vanilla-NN [INFO] tweaked toml for git repo https://github.com/leduvu/Vanilla-NN written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/leduvu/Vanilla-NN already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", 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] 6eadfb6c3f7ec5675125b725a1eb3f48bc7eaca622e38b9405a5cf609d8ecff2 [INFO] running `Command { std: "docker" "start" "-a" "6eadfb6c3f7ec5675125b725a1eb3f48bc7eaca622e38b9405a5cf609d8ecff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eadfb6c3f7ec5675125b725a1eb3f48bc7eaca622e38b9405a5cf609d8ecff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eadfb6c3f7ec5675125b725a1eb3f48bc7eaca622e38b9405a5cf609d8ecff2", kill_on_drop: false }` [INFO] [stdout] 6eadfb6c3f7ec5675125b725a1eb3f48bc7eaca622e38b9405a5cf609d8ecff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e99586ff778623670db5450c45b9a017500bbc37a7d3b85b7541725d8699659 [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" "8e99586ff778623670db5450c45b9a017500bbc37a7d3b85b7541725d8699659", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking stdinout v0.4.0 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Checking approx v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Checking backtrace-sys v0.1.23 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking ndarray-rand v0.7.0 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking neural_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nn.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | f: &Fn(Array1) -> Array1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/nn.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | f_prime: &Fn(Array1) -> Array1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/nn.rs:192:58 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn eval(test_data: &Vec>, nn: Settings, f: &Fn(Array1) -> Array1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let mut f: &Fn(Array1) -> Array1 = &sig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let mut f_p: &Fn(Array1) -> Array1 = &sig_prime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/nn.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | let a = array![1.0, 0.41997434, 0.07065082, 0.91513696]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/nn.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | let b = tanh_prime(tanh(array![0.0, -1.0, 2.0, -0.3])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/nn.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | tanh(array![0.0, -1.0, 2.0, -0.3]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/nn.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | array![0f32.tanh(), -1f32.tanh(), 2f32.tanh(), -0.3f32.tanh()], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/nn.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 247 | let b = sig_prime(sig(array![0.0, -1.0, 2.0, -0.3])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/nn.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let a = array![0.25, 0.19661193, 0.10499358, 0.24445831]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/nn.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | let b = sig(array![0.0, -1.0, 2.0, -0.3]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/nn.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let a = array![0.5, 0.26894142, 0.88079707, 0.42555748]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nn.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | f: &Fn(Array1) -> Array1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/nn.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | f_prime: &Fn(Array1) -> Array1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/nn.rs:192:58 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn eval(test_data: &Vec>, nn: Settings, f: &Fn(Array1) -> Array1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let mut f: &Fn(Array1) -> Array1 = &sig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let mut f_p: &Fn(Array1) -> Array1 = &sig_prime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Array1) -> Array1` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `float_cmp` [INFO] [stdout] --> src/nn.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use float_cmp::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nn.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let mut tmp: Array1 = f_prime(h_calc); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neural_network` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8e99586ff778623670db5450c45b9a017500bbc37a7d3b85b7541725d8699659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e99586ff778623670db5450c45b9a017500bbc37a7d3b85b7541725d8699659", kill_on_drop: false }` [INFO] [stdout] 8e99586ff778623670db5450c45b9a017500bbc37a7d3b85b7541725d8699659