[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] testing leduvu/Vanilla-NN against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleduvu%2FVanilla-NN" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leduvu/Vanilla-NN on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-13/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded approx v0.2.1 [INFO] [stderr] Downloaded ndarray v0.11.2 [INFO] [stderr] Downloaded ndarray-rand v0.7.0 [INFO] [stderr] Downloaded stdinout v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] a1a51d55f66994a3c0bf5ad86e87938d59b35e9c4c5cb8efb7f125b5969c19c8 [INFO] running `Command { std: "docker" "start" "-a" "a1a51d55f66994a3c0bf5ad86e87938d59b35e9c4c5cb8efb7f125b5969c19c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1a51d55f66994a3c0bf5ad86e87938d59b35e9c4c5cb8efb7f125b5969c19c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a51d55f66994a3c0bf5ad86e87938d59b35e9c4c5cb8efb7f125b5969c19c8", kill_on_drop: false }` [INFO] [stdout] a1a51d55f66994a3c0bf5ad86e87938d59b35e9c4c5cb8efb7f125b5969c19c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] e59a73c521c4838dac4a3bea5588e53cf050d4805001d2392115683404153b2e [INFO] running `Command { std: "docker" "start" "-a" "e59a73c521c4838dac4a3bea5588e53cf050d4805001d2392115683404153b2e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling stdinout v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling approx v0.2.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling ndarray-rand v0.7.0 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling neural_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/args.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | neural_network xor.txt xor.txt\n\n\ [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | OPTIONS:\n\ [INFO] [stdout] | |___________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/args.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | (C) leduvu@mail.com\n\n\ [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 40 | | [INFO] [stdout] 41 | | USAGE: neural_network [OPTIONS]\n\n\ [INFO] [stdout] | |___________^ skipping everything up to and including this point [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - f: &Fn(Array1) -> Array1, [INFO] [stdout] 119 + f: &dyn Fn(Array1) -> Array1, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 - f_prime: &Fn(Array1) -> Array1, [INFO] [stdout] 120 + f_prime: &dyn Fn(Array1) -> Array1, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 192 - pub fn eval(test_data: &Vec>, nn: Settings, f: &Fn(Array1) -> Array1) { [INFO] [stdout] 192 + pub fn eval(test_data: &Vec>, nn: Settings, f: &dyn Fn(Array1) -> Array1) { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - let mut f: &Fn(Array1) -> Array1 = &sig; [INFO] [stdout] 82 + let mut f: &dyn Fn(Array1) -> Array1 = &sig; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - let mut f_p: &Fn(Array1) -> Array1 = &sig_prime; [INFO] [stdout] 83 + let mut f_p: &dyn Fn(Array1) -> Array1 = &sig_prime; [INFO] [stdout] | [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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.78s [INFO] running `Command { std: "docker" "inspect" "e59a73c521c4838dac4a3bea5588e53cf050d4805001d2392115683404153b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59a73c521c4838dac4a3bea5588e53cf050d4805001d2392115683404153b2e", kill_on_drop: false }` [INFO] [stdout] e59a73c521c4838dac4a3bea5588e53cf050d4805001d2392115683404153b2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", 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] 0c88e782a70733bfce4d9a18edfba54cdb6646f79347ebc6657a6ee2addb2d82 [INFO] running `Command { std: "docker" "start" "-a" "0c88e782a70733bfce4d9a18edfba54cdb6646f79347ebc6657a6ee2addb2d82", kill_on_drop: false }` [INFO] [stderr] Compiling neural_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/args.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | neural_network xor.txt xor.txt\n\n\ [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | OPTIONS:\n\ [INFO] [stdout] | |___________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/args.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | (C) leduvu@mail.com\n\n\ [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 40 | | [INFO] [stdout] 41 | | USAGE: neural_network [OPTIONS]\n\n\ [INFO] [stdout] | |___________^ skipping everything up to and including this point [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - f: &Fn(Array1) -> Array1, [INFO] [stdout] 119 + f: &dyn Fn(Array1) -> Array1, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 - f_prime: &Fn(Array1) -> Array1, [INFO] [stdout] 120 + f_prime: &dyn Fn(Array1) -> Array1, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 192 - pub fn eval(test_data: &Vec>, nn: Settings, f: &Fn(Array1) -> Array1) { [INFO] [stdout] 192 + pub fn eval(test_data: &Vec>, nn: Settings, f: &dyn Fn(Array1) -> Array1) { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - let mut f: &Fn(Array1) -> Array1 = &sig; [INFO] [stdout] 82 + let mut f: &dyn Fn(Array1) -> Array1 = &sig; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - let mut f_p: &Fn(Array1) -> Array1 = &sig_prime; [INFO] [stdout] 83 + let mut f_p: &dyn Fn(Array1) -> Array1 = &sig_prime; [INFO] [stdout] | [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; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neural_network` due to 9 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c88e782a70733bfce4d9a18edfba54cdb6646f79347ebc6657a6ee2addb2d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c88e782a70733bfce4d9a18edfba54cdb6646f79347ebc6657a6ee2addb2d82", kill_on_drop: false }` [INFO] [stdout] 0c88e782a70733bfce4d9a18edfba54cdb6646f79347ebc6657a6ee2addb2d82