[INFO] cloning repository https://github.com/realSuffix/NeuralNet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/realSuffix/NeuralNet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealSuffix%2FNeuralNet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealSuffix%2FNeuralNet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d819b55e60952d85c4b6fa3f0ed90562d1ed876c [INFO] building realSuffix/NeuralNet against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealSuffix%2FNeuralNet" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/realSuffix/NeuralNet [INFO] finished tweaking git repo https://github.com/realSuffix/NeuralNet [INFO] tweaked toml for git repo https://github.com/realSuffix/NeuralNet written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/realSuffix/NeuralNet on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/realSuffix/NeuralNet 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoffset v0.6.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.4 [INFO] [stderr] Downloaded arrayfire v3.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87413d278f671c1f258284417003b4eb2ff7308d9bf4080854875e4de9ba6c9a [INFO] running `Command { std: "docker" "start" "-a" "87413d278f671c1f258284417003b4eb2ff7308d9bf4080854875e4de9ba6c9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87413d278f671c1f258284417003b4eb2ff7308d9bf4080854875e4de9ba6c9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87413d278f671c1f258284417003b4eb2ff7308d9bf4080854875e4de9ba6c9a", kill_on_drop: false }` [INFO] [stdout] 87413d278f671c1f258284417003b4eb2ff7308d9bf4080854875e4de9ba6c9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 756dbc63eea244e970048b8ed9f2cdb22a9b3548c1830495885514a2fc826bd8 [INFO] running `Command { std: "docker" "start" "-a" "756dbc63eea244e970048b8ed9f2cdb22a9b3548c1830495885514a2fc826bd8", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling arrayfire v3.8.0 [INFO] [stderr] Compiling neural-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `print` and `sigmoid` [INFO] [stdout] --> src/gpu_neural_net.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use arrayfire::{matmul, print, sigmoid, Array}; [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: `crate::Matrix` [INFO] [stdout] --> src/gpu_neural_net.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | let sigmoid = |input: &f64| (1.0 / (1.0 + E.powf(*input * -1.0))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - let sigmoid = |input: &f64| (1.0 / (1.0 + E.powf(*input * -1.0))); [INFO] [stdout] 24 + let sigmoid = |input: &f64| 1.0 / (1.0 + E.powf(*input * -1.0)) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/matrix.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let inner = IntoIter::new(inner).map(IntoIter::new).flatten().collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/matrix.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 26 | let inner = IntoIter::new(inner).map(IntoIter::new).flatten().collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backward_propagation` is never used [INFO] [stdout] --> src/gpu_neural_net.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GpuNeuralNet { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn backward_propagation(&self, actual_result: &Array, expected_result: &Array) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_indices_single` is never used [INFO] [stdout] --> src/matrix.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Matrix { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn calculate_indices_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backward_propagation` is never used [INFO] [stdout] --> src/neural_net.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NeuralNet { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn backward_propagation(&self, actual_result: &Matrix, expected_result: &Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.75s [INFO] running `Command { std: "docker" "inspect" "756dbc63eea244e970048b8ed9f2cdb22a9b3548c1830495885514a2fc826bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756dbc63eea244e970048b8ed9f2cdb22a9b3548c1830495885514a2fc826bd8", kill_on_drop: false }` [INFO] [stdout] 756dbc63eea244e970048b8ed9f2cdb22a9b3548c1830495885514a2fc826bd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 02f8627aaff7f4261765f7ab4d51061088bf599ac899af46cbf9dea65bedad58 [INFO] running `Command { std: "docker" "start" "-a" "02f8627aaff7f4261765f7ab4d51061088bf599ac899af46cbf9dea65bedad58", kill_on_drop: false }` [INFO] [stderr] Compiling neural-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `print` and `sigmoid` [INFO] [stdout] --> src/gpu_neural_net.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use arrayfire::{matmul, print, sigmoid, Array}; [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: `crate::Matrix` [INFO] [stdout] --> src/gpu_neural_net.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | let sigmoid = |input: &f64| (1.0 / (1.0 + E.powf(*input * -1.0))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - let sigmoid = |input: &f64| (1.0 / (1.0 + E.powf(*input * -1.0))); [INFO] [stdout] 24 + let sigmoid = |input: &f64| 1.0 / (1.0 + E.powf(*input * -1.0)) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/matrix.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let inner = IntoIter::new(inner).map(IntoIter::new).flatten().collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/matrix.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 26 | let inner = IntoIter::new(inner).map(IntoIter::new).flatten().collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backward_propagation` is never used [INFO] [stdout] --> src/gpu_neural_net.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GpuNeuralNet { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn backward_propagation(&self, actual_result: &Array, expected_result: &Array) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_indices_single` is never used [INFO] [stdout] --> src/matrix.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Matrix { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn calculate_indices_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backward_propagation` is never used [INFO] [stdout] --> src/neural_net.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NeuralNet { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn backward_propagation(&self, actual_result: &Matrix, expected_result: &Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "02f8627aaff7f4261765f7ab4d51061088bf599ac899af46cbf9dea65bedad58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f8627aaff7f4261765f7ab4d51061088bf599ac899af46cbf9dea65bedad58", kill_on_drop: false }` [INFO] [stdout] 02f8627aaff7f4261765f7ab4d51061088bf599ac899af46cbf9dea65bedad58