[INFO] cloning repository https://github.com/k0nserv/rust-nn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/k0nserv/rust-nn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk0nserv%2Frust-nn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk0nserv%2Frust-nn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f5f38def009757c52688f9022f44c0a99e776af
[INFO] testing k0nserv/rust-nn against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk0nserv%2Frust-nn" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/k0nserv/rust-nn
[INFO] finished tweaking git repo https://github.com/k0nserv/rust-nn
[INFO] tweaked toml for git repo https://github.com/k0nserv/rust-nn written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/k0nserv/rust-nn on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/k0nserv/rust-nn already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v0.6.4
[INFO] [stderr]   Downloaded serde_derive v1.0.70
[INFO] [stderr]   Downloaded bitflags v1.0.3
[INFO] [stderr]   Downloaded memchr v2.0.1
[INFO] [stderr]   Downloaded rand_core v0.2.1
[INFO] [stderr]   Downloaded csv-core v0.1.4
[INFO] [stderr]   Downloaded proc-macro2 v0.4.9
[INFO] [stderr]   Downloaded rand v0.5.3
[INFO] [stderr]   Downloaded syn v0.14.5
[INFO] [stderr]   Downloaded serde v1.0.70
[INFO] [stderr]   Downloaded libc v0.2.42
[INFO] [stderr]   Downloaded winapi v0.3.5
[INFO] [stderr]   Downloaded csv v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b98700afe285fb247cf4b4b8a40e3dbe10879f6761c6419de165225f39757f47
[INFO] running `Command { std: "docker" "start" "-a" "b98700afe285fb247cf4b4b8a40e3dbe10879f6761c6419de165225f39757f47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b98700afe285fb247cf4b4b8a40e3dbe10879f6761c6419de165225f39757f47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b98700afe285fb247cf4b4b8a40e3dbe10879f6761c6419de165225f39757f47", kill_on_drop: false }`
[INFO] [stdout] b98700afe285fb247cf4b4b8a40e3dbe10879f6761c6419de165225f39757f47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d804aace593f4753972e28dacf03dbc69beb66a54cccc5add4c3234a93d8a7fb
[INFO] running `Command { std: "docker" "start" "-a" "d804aace593f4753972e28dacf03dbc69beb66a54cccc5add4c3234a93d8a7fb", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling serde v1.0.70
[INFO] [stderr]    Compiling rand_core v0.2.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling rand v0.5.3
[INFO] [stderr]    Compiling csv-core v0.1.4
[INFO] [stderr]    Compiling quote v0.6.4
[INFO] [stderr]    Compiling syn v0.14.5
[INFO] [stderr]    Compiling serde_derive v1.0.70
[INFO] [stderr]    Compiling csv v1.0.0
[INFO] [stderr]    Compiling rust-nn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/main.rs:431:16
[INFO] [stdout]     |
[INFO] [stdout] 431 | #[derive(Debug,Deserialize)]
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fmt;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |           impl IndexMut<(usize)> for $name {
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |           impl IndexMut<(usize)> for $name {
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |           impl IndexMut<(usize)> for $name {
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |           impl IndexMut<(usize)> for $name {
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |           impl IndexMut<(usize)> for $name {
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |           impl IndexMut<(usize)> for $name {
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |           impl IndexMut<(usize)> for $name {
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |           impl IndexMut<(usize)> for $name {
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |           impl IndexMut<(usize)> for $name {
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:450:44
[INFO] [stdout]     |
[INFO] [stdout] 450 | fn read_data() -> Result<Vec<Example>, Box<Error>> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 450 | fn read_data() -> Result<Vec<Example>, Box<dyn Error>> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:482:29
[INFO] [stdout]     |
[INFO] [stdout] 482 | fn main() -> Result<(), Box<Error>> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 482 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:43:33
[INFO] [stdout]     |
[INFO] [stdout]  43 |               fn apply(&self, f: &Fn(f32) -> f32) -> Self {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:43:33
[INFO] [stdout]     |
[INFO] [stdout]  43 |               fn apply(&self, f: &Fn(f32) -> f32) -> Self {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:43:33
[INFO] [stdout]     |
[INFO] [stdout]  43 |               fn apply(&self, f: &Fn(f32) -> f32) -> Self {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:43:33
[INFO] [stdout]     |
[INFO] [stdout]  43 |               fn apply(&self, f: &Fn(f32) -> f32) -> Self {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:43:33
[INFO] [stdout]     |
[INFO] [stdout]  43 |               fn apply(&self, f: &Fn(f32) -> f32) -> Self {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:43:33
[INFO] [stdout]     |
[INFO] [stdout]  43 |               fn apply(&self, f: &Fn(f32) -> f32) -> Self {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:43:33
[INFO] [stdout]     |
[INFO] [stdout]  43 |               fn apply(&self, f: &Fn(f32) -> f32) -> Self {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:43:33
[INFO] [stdout]     |
[INFO] [stdout]  43 |               fn apply(&self, f: &Fn(f32) -> f32) -> Self {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:43:33
[INFO] [stdout]     |
[INFO] [stdout]  43 |               fn apply(&self, f: &Fn(f32) -> f32) -> Self {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 417 | / network!{
[INFO] [stdout] 418 | |     name: my_network,
[INFO] [stdout] 419 | |     input: {
[INFO] [stdout] 420 | |         nodes: 4,
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `matrix` which comes from the expansion of the macro `network` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `get_value` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/main.rs:469:67
[INFO] [stdout]     |
[INFO] [stdout] 469 |         get_value(values.iter_mut().max_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                                                                   ^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn normalize_by<T, F>(values: &mut [T], mut get_value: F) where F: FnMut(&mut T) -> &mut f32, {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `***a` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:469:77
[INFO] [stdout]     |
[INFO] [stdout] 469 |         get_value(values.iter_mut().max_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                                                                             ^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `get_value` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/main.rs:469:93
[INFO] [stdout]     |
[INFO] [stdout] 469 |         get_value(values.iter_mut().max_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                                                                                             ^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn normalize_by<T, F>(values: &mut [T], mut get_value: F) where F: FnMut(&mut T) -> &mut f32, {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `***b` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:469:103
[INFO] [stdout]     |
[INFO] [stdout] 469 |         get_value(values.iter_mut().max_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                                                                                                       ^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `get_value` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/main.rs:472:67
[INFO] [stdout]     |
[INFO] [stdout] 472 |         get_value(values.iter_mut().min_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                                                                   ^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn normalize_by<T, F>(values: &mut [T], mut get_value: F) where F: FnMut(&mut T) -> &mut f32, {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `***a` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:472:77
[INFO] [stdout]     |
[INFO] [stdout] 472 |         get_value(values.iter_mut().min_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                                                                             ^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `get_value` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/main.rs:472:93
[INFO] [stdout]     |
[INFO] [stdout] 472 |         get_value(values.iter_mut().min_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                                                                                             ^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn normalize_by<T, F>(values: &mut [T], mut get_value: F) where F: FnMut(&mut T) -> &mut f32, {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `***b` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:472:103
[INFO] [stdout]     |
[INFO] [stdout] 472 |         get_value(values.iter_mut().min_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                                                                                                       ^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `get_value` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/main.rs:476:21
[INFO] [stdout]     |
[INFO] [stdout] 476 |         let value = get_value(a);
[INFO] [stdout]     |                     ^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn normalize_by<T, F>(values: &mut [T], mut get_value: F) where F: FnMut(&mut T) -> &mut f32, {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `get_value` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/main.rs:467:41
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn normalize_by<T, F>(values: &mut [T], get_value: F) where F: FnMut(&mut T) -> &mut f32, {
[INFO] [stdout]     |                                         ^^^^^^^^^ not mutable
[INFO] [stdout] 468 |     let max = {
[INFO] [stdout] 469 |         get_value(values.iter_mut().max_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |         --------- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 472 |         get_value(values.iter_mut().min_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |         --------- cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn normalize_by<T, F>(values: &mut [T], mut get_value: F) where F: FnMut(&mut T) -> &mut f32, {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `get_value` but it is already borrowed
[INFO] [stdout]    --> src/main.rs:469:44
[INFO] [stdout]     |
[INFO] [stdout] 469 |         get_value(values.iter_mut().max_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |         ---------                          ^^^^^^^^^^^^^^^^^^^^^^ --------- second borrow occurs due to use of `get_value` in closure
[INFO] [stdout]     |         |                                  |
[INFO] [stdout]     |         |                                  closure construction occurs here
[INFO] [stdout]     |         borrow occurs here
[INFO] [stdout]     |         first borrow later used by call
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*values` as mutable more than once at a time
[INFO] [stdout]    --> src/main.rs:472:19
[INFO] [stdout]     |
[INFO] [stdout] 469 |         get_value(values.iter_mut().max_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                   ------ first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 472 |         get_value(values.iter_mut().min_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                   ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 477 |         *value = (*value - *min) / (*max - *min);
[INFO] [stdout]     |                                     ---- first borrow later captured here by closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `get_value` but it is already borrowed
[INFO] [stdout]    --> src/main.rs:472:44
[INFO] [stdout]     |
[INFO] [stdout] 472 |         get_value(values.iter_mut().min_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |         ---------                          ^^^^^^^^^^^^^^^^^^^^^^ --------- second borrow occurs due to use of `get_value` in closure
[INFO] [stdout]     |         |                                  |
[INFO] [stdout]     |         |                                  closure construction occurs here
[INFO] [stdout]     |         borrow occurs here
[INFO] [stdout]     |         first borrow later used by call
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*values` as mutable more than once at a time
[INFO] [stdout]    --> src/main.rs:475:5
[INFO] [stdout]     |
[INFO] [stdout] 469 |         get_value(values.iter_mut().max_by(|ref mut a, ref mut b| get_value(a).partial_cmp(&get_value(b)).unwrap()).unwrap())
[INFO] [stdout]     |                   ------ first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 475 |     values.iter_mut().for_each(|a| {
[INFO] [stdout]     |     ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 476 |         let value = get_value(a);
[INFO] [stdout] 477 |         *value = (*value - *min) / (*max - *min);
[INFO] [stdout]     |                                     ---- first borrow later captured here by closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0500, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-nn` (bin "rust-nn") due to 14 previous errors; 23 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d804aace593f4753972e28dacf03dbc69beb66a54cccc5add4c3234a93d8a7fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d804aace593f4753972e28dacf03dbc69beb66a54cccc5add4c3234a93d8a7fb", kill_on_drop: false }`
[INFO] [stdout] d804aace593f4753972e28dacf03dbc69beb66a54cccc5add4c3234a93d8a7fb
