[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] a07af4ce6a9d368aa226dd5f25ad4b6a0400b99e [INFO] testing JTookey/AI_Core against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJTookey%2FAI_Core" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JTookey/AI_Core on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-21/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 291dee6cf99dd0c9cbe62b636694251ab27bc826d2c1e8a905f4a6d37adbbf88 [INFO] running `Command { std: "docker" "start" "-a" "291dee6cf99dd0c9cbe62b636694251ab27bc826d2c1e8a905f4a6d37adbbf88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "291dee6cf99dd0c9cbe62b636694251ab27bc826d2c1e8a905f4a6d37adbbf88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291dee6cf99dd0c9cbe62b636694251ab27bc826d2c1e8a905f4a6d37adbbf88", kill_on_drop: false }` [INFO] [stdout] 291dee6cf99dd0c9cbe62b636694251ab27bc826d2c1e8a905f4a6d37adbbf88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abe6ae6cc4ddff5516279200098e365df69397f00ade5c03314d54801774c74c [INFO] running `Command { std: "docker" "start" "-a" "abe6ae6cc4ddff5516279200098e365df69397f00ade5c03314d54801774c74c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [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 num-complex v0.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling ai_core v0.2.1 (/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 associated function `ndarray::Zip::<(P1,), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | Zip::from(&mut self.activation_inputs).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 associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .apply( | output, &input | *output = sigmoid(input) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | .apply( | a_d, &a_i | *a_d = sigmoid_derivative( a_i ) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | .apply( |b_der, &act_der, &error| *b_der = act_der*error ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] [INFO] [stdout] warning: use of deprecated associated function `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:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 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: variable does not need to be mutable [INFO] [stdout] --> src/layer.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut rand_vec = new_random_vec::( new_layer.weights.len() ); [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: field is never read: `backprop_errors` [INFO] [stdout] --> src/layer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | backprop_errors: AIVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_inputs` [INFO] [stdout] --> src/network.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | n_inputs: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_input` [INFO] [stdout] --> src/network.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | last_input: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_inputs` [INFO] [stdout] --> src/network.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn number_of_inputs(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_outputs` [INFO] [stdout] --> src/network.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn number_of_outputs(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_layers` [INFO] [stdout] --> src/network.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn number_of_layers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `layers` [INFO] [stdout] --> src/network.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn layers(&self) -> &Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_input` [INFO] [stdout] --> src/network.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn check_input(&self, input: &AIVec) -> Result<(), AIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.21s [INFO] running `Command { std: "docker" "inspect" "abe6ae6cc4ddff5516279200098e365df69397f00ade5c03314d54801774c74c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abe6ae6cc4ddff5516279200098e365df69397f00ade5c03314d54801774c74c", kill_on_drop: false }` [INFO] [stdout] abe6ae6cc4ddff5516279200098e365df69397f00ade5c03314d54801774c74c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0d02a160eadb3ae12ea0f6ce776fdf02a423810c719c05865c8b494b2f81d46 [INFO] running `Command { std: "docker" "start" "-a" "d0d02a160eadb3ae12ea0f6ce776fdf02a423810c719c05865c8b494b2f81d46", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 associated function `ndarray::Zip::<(P1,), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | Zip::from(&mut self.activation_inputs).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 associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .apply( | output, &input | *output = sigmoid(input) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | .apply( | a_d, &a_i | *a_d = sigmoid_derivative( a_i ) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | .apply( |b_der, &act_der, &error| *b_der = act_der*error ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] [INFO] [stdout] warning: use of deprecated associated function `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:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 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: variable does not need to be mutable [INFO] [stdout] --> src/layer.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut rand_vec = new_random_vec::( new_layer.weights.len() ); [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: field is never read: `backprop_errors` [INFO] [stdout] --> src/layer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | backprop_errors: AIVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_inputs` [INFO] [stdout] --> src/network.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | n_inputs: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_input` [INFO] [stdout] --> src/network.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | last_input: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_inputs` [INFO] [stdout] --> src/network.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn number_of_inputs(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_outputs` [INFO] [stdout] --> src/network.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn number_of_outputs(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_layers` [INFO] [stdout] --> src/network.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn number_of_layers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ai_core v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `layers` [INFO] [stdout] --> src/network.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn layers(&self) -> &Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_input` [INFO] [stdout] --> src/network.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn check_input(&self, input: &AIVec) -> Result<(), AIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `ndarray::Zip::<(P1,), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | Zip::from(&mut self.activation_inputs).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 associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .apply( | output, &input | *output = sigmoid(input) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | .apply( | a_d, &a_i | *a_d = sigmoid_derivative( a_i ) ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stdout] --> src/layer.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | .apply( |b_der, &act_der, &error| *b_der = act_der*error ); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] [INFO] [stdout] warning: use of deprecated associated function `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:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 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: variable does not need to be mutable [INFO] [stdout] --> src/layer.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut rand_vec = new_random_vec::( new_layer.weights.len() ); [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: field is never read: `backprop_errors` [INFO] [stdout] --> src/layer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | backprop_errors: AIVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_inputs` [INFO] [stdout] --> src/network.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | n_inputs: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_input` [INFO] [stdout] --> src/network.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | last_input: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_inputs` [INFO] [stdout] --> src/network.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn number_of_inputs(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_outputs` [INFO] [stdout] --> src/network.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn number_of_outputs(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_layers` [INFO] [stdout] --> src/network.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn number_of_layers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `layers` [INFO] [stdout] --> src/network.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn layers(&self) -> &Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_input` [INFO] [stdout] --> src/network.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn check_input(&self, input: &AIVec) -> Result<(), AIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/ai_core-0bff98dc2f3a5219) [INFO] [stderr] Executable unittests src/examples/example_012.rs (/opt/rustwide/target/debug/deps/example_012-c740d8223ca62165) [INFO] [stderr] Executable unittests src/examples/example_013.rs (/opt/rustwide/target/debug/deps/example_013-096c43ec930a2399) [INFO] [stderr] Executable unittests src/examples/example_02.rs (/opt/rustwide/target/debug/deps/example_02-99142381ee8629e1) [INFO] running `Command { std: "docker" "inspect" "d0d02a160eadb3ae12ea0f6ce776fdf02a423810c719c05865c8b494b2f81d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d02a160eadb3ae12ea0f6ce776fdf02a423810c719c05865c8b494b2f81d46", kill_on_drop: false }` [INFO] [stdout] d0d02a160eadb3ae12ea0f6ce776fdf02a423810c719c05865c8b494b2f81d46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e4f7ca806a3483631aac6095b035e290024eebfa57cb34588c800d45cdd17fa [INFO] running `Command { std: "docker" "start" "-a" "7e4f7ca806a3483631aac6095b035e290024eebfa57cb34588c800d45cdd17fa", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `rand::prelude::*` [INFO] [stderr] --> src/network.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rand::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AIWeights` [INFO] [stderr] --> src/network.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::{AIVec, AIWeights}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1,), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/layer.rs:100:48 [INFO] [stderr] | [INFO] [stderr] 100 | Zip::from(&mut self.activation_inputs).apply(|x| *x = 0.0); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/layer.rs:107:14 [INFO] [stderr] | [INFO] [stderr] 107 | .apply( | output, &input | *output = sigmoid(input) ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/layer.rs:119:14 [INFO] [stderr] | [INFO] [stderr] 119 | .apply( | a_d, &a_i | *a_d = sigmoid_derivative( a_i ) ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/layer.rs:125:14 [INFO] [stderr] | [INFO] [stderr] 125 | .apply( |b_der, &act_der, &error| *b_der = act_der*error ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/network.rs:188:14 [INFO] [stderr] | [INFO] [stderr] 188 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/network.rs:228:14 [INFO] [stderr] | [INFO] [stderr] 228 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/layer.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | let output = AIVec::zeros( n_outputs ); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error` [INFO] [stderr] --> src/layer.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | let error = AIVec::zeros( n_outputs ); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `total_error` [INFO] [stderr] --> src/layer.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | let total_error: f64 = 0.0; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_error` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/layer.rs:186:13 [INFO] [stderr] | [INFO] [stderr] 186 | let mut rand_vec = new_random_vec::( new_layer.weights.len() ); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `backprop_errors` [INFO] [stderr] --> src/layer.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | backprop_errors: AIVec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `n_inputs` [INFO] [stderr] --> src/network.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | n_inputs: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `last_input` [INFO] [stderr] --> src/network.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | last_input: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `number_of_inputs` [INFO] [stderr] --> src/network.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 115 | fn number_of_inputs(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `number_of_outputs` [INFO] [stderr] --> src/network.rs:119:8 [INFO] [stderr] | [INFO] [stderr] 119 | fn number_of_outputs(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `number_of_layers` [INFO] [stderr] --> src/network.rs:123:8 [INFO] [stderr] | [INFO] [stderr] 123 | fn number_of_layers(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `layers` [INFO] [stderr] --> src/network.rs:127:8 [INFO] [stderr] | [INFO] [stderr] 127 | fn layers(&self) -> &Vec { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_input` [INFO] [stderr] --> src/network.rs:132:8 [INFO] [stderr] | [INFO] [stderr] 132 | fn check_input(&self, input: &AIVec) -> Result<(), AIError> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ai_core` (lib) generated 20 warnings [INFO] [stderr] warning: `ai_core` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/examples/example_013.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1,), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/examples/example_012.rs:43:32 [INFO] [stderr] | [INFO] [stderr] 43 | Zip::from(&mut act_in).apply(|x| *x = 0.0); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/examples/example_012.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | .apply( | output, &input | *output = sigmoid(input) ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/examples/example_012.rs:61:14 [INFO] [stderr] | [INFO] [stderr] 61 | .apply( |e, o, o_e | *e = o - o_e ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/examples/example_012.rs:69:14 [INFO] [stderr] | [INFO] [stderr] 69 | .apply( | a_d, &a_i | *a_d = sigmoid_derivative( a_i ) ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ndarray::Zip::<(P1, P2, P3), D>::apply`: Renamed to .for_each() [INFO] [stderr] --> src/examples/example_012.rs:76:14 [INFO] [stderr] | [INFO] [stderr] 76 | .apply( |b_der, &act_der, &error| *b_der = act_der*error ); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ai_core` (bin "example_013" test) generated 1 warning [INFO] [stderr] warning: `ai_core` (bin "example_012" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ai_core-0bff98dc2f3a5219) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/examples/example_012.rs (/opt/rustwide/target/debug/deps/example_012-c740d8223ca62165) [INFO] [stdout] [INFO] [stderr] Running unittests src/examples/example_013.rs (/opt/rustwide/target/debug/deps/example_013-096c43ec930a2399) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/examples/example_02.rs (/opt/rustwide/target/debug/deps/example_02-99142381ee8629e1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ai_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e4f7ca806a3483631aac6095b035e290024eebfa57cb34588c800d45cdd17fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4f7ca806a3483631aac6095b035e290024eebfa57cb34588c800d45cdd17fa", kill_on_drop: false }` [INFO] [stdout] 7e4f7ca806a3483631aac6095b035e290024eebfa57cb34588c800d45cdd17fa