[INFO] cloning repository https://github.com/JTookey/AI_Core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JTookey/AI_Core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJTookey%2FAI_Core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJTookey%2FAI_Core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e3d0a9a3bab86b595568b2f8a26f6305b31ad76 [INFO] building JTookey/AI_Core against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJTookey%2FAI_Core" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JTookey/AI_Core on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JTookey/AI_Core [INFO] finished tweaking git repo https://github.com/JTookey/AI_Core [INFO] tweaked toml for git repo https://github.com/JTookey/AI_Core written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JTookey/AI_Core 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray-rand v0.14.0 [INFO] [stderr] Downloaded ndarray v0.15.4 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fe717104fa6a503ce4cce27bafccfa4d1be1f73fa5f7ddecd5a3210795c4a47 [INFO] running `Command { std: "docker" "start" "-a" "9fe717104fa6a503ce4cce27bafccfa4d1be1f73fa5f7ddecd5a3210795c4a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fe717104fa6a503ce4cce27bafccfa4d1be1f73fa5f7ddecd5a3210795c4a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fe717104fa6a503ce4cce27bafccfa4d1be1f73fa5f7ddecd5a3210795c4a47", kill_on_drop: false }` [INFO] [stdout] 9fe717104fa6a503ce4cce27bafccfa4d1be1f73fa5f7ddecd5a3210795c4a47 [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=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ba4307cea38f8e33df4ab1367ad6e09c4bf0e60bb35cef07323cb098c5c1df0 [INFO] running `Command { std: "docker" "start" "-a" "9ba4307cea38f8e33df4ab1367ad6e09c4bf0e60bb35cef07323cb098c5c1df0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling ai_core v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/network.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AIWeights` [INFO] [stdout] --> src/network.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{AIVec, AIWeights}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/network.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/network.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/layer.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let output = AIVec::zeros( n_outputs ); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/layer.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let error = AIVec::zeros( n_outputs ); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_error` [INFO] [stdout] --> src/layer.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let total_error: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backprop_errors` is never read [INFO] [stdout] --> src/layer.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct BaseLayer [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | backprop_errors: AIVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_input` is never read [INFO] [stdout] --> src/network.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | last_input: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_input` is never used [INFO] [stdout] --> src/network.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl NeuralNetwork { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn check_input(&self, input: &AIVec) -> Result<(), AIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_013.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1,), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | Zip::from(&mut act_in).apply(|x| *x = 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | .apply( | output, &input | *output = sigmoid(input) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | .apply( | a_d, &a_i | *a_d = sigmoid_derivative( a_i ) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | .apply( |b_der, &act_der, &error| *b_der = act_der*error ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.51s [INFO] running `Command { std: "docker" "inspect" "9ba4307cea38f8e33df4ab1367ad6e09c4bf0e60bb35cef07323cb098c5c1df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ba4307cea38f8e33df4ab1367ad6e09c4bf0e60bb35cef07323cb098c5c1df0", kill_on_drop: false }` [INFO] [stdout] 9ba4307cea38f8e33df4ab1367ad6e09c4bf0e60bb35cef07323cb098c5c1df0 [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=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 286e0c5f1de27e0f463af0cf786e40f09d5a80a7e40403887af5b2b1e509528d [INFO] running `Command { std: "docker" "start" "-a" "286e0c5f1de27e0f463af0cf786e40f09d5a80a7e40403887af5b2b1e509528d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/network.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AIWeights` [INFO] [stdout] --> src/network.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{AIVec, AIWeights}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/network.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/network.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/layer.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let output = AIVec::zeros( n_outputs ); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/layer.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let error = AIVec::zeros( n_outputs ); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_error` [INFO] [stdout] --> src/layer.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let total_error: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backprop_errors` is never read [INFO] [stdout] --> src/layer.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct BaseLayer [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | backprop_errors: AIVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_input` is never read [INFO] [stdout] --> src/network.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | last_input: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_input` is never used [INFO] [stdout] --> src/network.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl NeuralNetwork { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn check_input(&self, input: &AIVec) -> Result<(), AIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ai_core v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/network.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AIWeights` [INFO] [stdout] --> src/network.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{AIVec, AIWeights}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_013.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1,), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | Zip::from(&mut act_in).apply(|x| *x = 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | .apply( | output, &input | *output = sigmoid(input) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | .apply( | a_d, &a_i | *a_d = sigmoid_derivative( a_i ) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/examples/example_012.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | .apply( |b_der, &act_der, &error| *b_der = act_der*error ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/network.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/network.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/layer.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let output = AIVec::zeros( n_outputs ); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/layer.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let error = AIVec::zeros( n_outputs ); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_error` [INFO] [stdout] --> src/layer.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let total_error: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backprop_errors` is never read [INFO] [stdout] --> src/layer.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct BaseLayer [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | backprop_errors: AIVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_input` is never read [INFO] [stdout] --> src/network.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | last_input: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_input` is never used [INFO] [stdout] --> src/network.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl NeuralNetwork { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn check_input(&self, input: &AIVec) -> Result<(), AIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "286e0c5f1de27e0f463af0cf786e40f09d5a80a7e40403887af5b2b1e509528d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286e0c5f1de27e0f463af0cf786e40f09d5a80a7e40403887af5b2b1e509528d", kill_on_drop: false }` [INFO] [stdout] 286e0c5f1de27e0f463af0cf786e40f09d5a80a7e40403887af5b2b1e509528d