[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] checking JTookey/AI_Core/7e3d0a9a3bab86b595568b2f8a26f6305b31ad76 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJTookey%2FAI_Core" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JTookey/AI_Core on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matrixmultiply v0.3.2 [INFO] [stderr] Downloaded ndarray v0.15.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21cc72fd94368defccd8c3d8020e072428814c7d4887fa33a97ce7d90e45b13d [INFO] running `Command { std: "docker" "start" "-a" "21cc72fd94368defccd8c3d8020e072428814c7d4887fa33a97ce7d90e45b13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21cc72fd94368defccd8c3d8020e072428814c7d4887fa33a97ce7d90e45b13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21cc72fd94368defccd8c3d8020e072428814c7d4887fa33a97ce7d90e45b13d", kill_on_drop: false }` [INFO] [stdout] 21cc72fd94368defccd8c3d8020e072428814c7d4887fa33a97ce7d90e45b13d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 484a730f0f8a1264b5cf11b731a03e821a82667feddf975e6cc367e569d4d714 [INFO] running `Command { std: "docker" "start" "-a" "484a730f0f8a1264b5cf11b731a03e821a82667feddf975e6cc367e569d4d714", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking 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: 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: 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: 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: 10 warnings emitted [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: 10 warnings emitted [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_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, 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,), 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: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: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.00s [INFO] running `Command { std: "docker" "inspect" "484a730f0f8a1264b5cf11b731a03e821a82667feddf975e6cc367e569d4d714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484a730f0f8a1264b5cf11b731a03e821a82667feddf975e6cc367e569d4d714", kill_on_drop: false }` [INFO] [stdout] 484a730f0f8a1264b5cf11b731a03e821a82667feddf975e6cc367e569d4d714