[INFO] cloning repository https://github.com/matty234/rs-neural-net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matty234/rs-neural-net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty234%2Frs-neural-net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty234%2Frs-neural-net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dceef2526ecbac2bdd505befd61d3f949e39e38d [INFO] checking matty234/rs-neural-net against master#7c4ac0603e9ee5295bc802c90575391288a69a8a for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty234%2Frs-neural-net" "/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/matty234/rs-neural-net on toolchain 7c4ac0603e9ee5295bc802c90575391288a69a8a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matty234/rs-neural-net [INFO] finished tweaking git repo https://github.com/matty234/rs-neural-net [INFO] tweaked toml for git repo https://github.com/matty234/rs-neural-net written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matty234/rs-neural-net 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" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking matty234/rs-neural-net against try#98ebbae35138252af77610c20ea5a5e8bf68d639 for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty234%2Frs-neural-net" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matty234/rs-neural-net on toolchain 98ebbae35138252af77610c20ea5a5e8bf68d639 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matty234/rs-neural-net [INFO] finished tweaking git repo https://github.com/matty234/rs-neural-net [INFO] tweaked toml for git repo https://github.com/matty234/rs-neural-net written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/matty234/rs-neural-net 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" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 202b85a8b87c9eada5b4d5e7637cf690933bf40ce3a6e746bbc2c04286e5f0b9 [INFO] running `Command { std: "docker" "start" "-a" "202b85a8b87c9eada5b4d5e7637cf690933bf40ce3a6e746bbc2c04286e5f0b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "202b85a8b87c9eada5b4d5e7637cf690933bf40ce3a6e746bbc2c04286e5f0b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "202b85a8b87c9eada5b4d5e7637cf690933bf40ce3a6e746bbc2c04286e5f0b9", kill_on_drop: false }` [INFO] [stdout] 202b85a8b87c9eada5b4d5e7637cf690933bf40ce3a6e746bbc2c04286e5f0b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1282c4f319bd9c88d9c7ff1db72992e062c706f15ea2897a900c27505adb2790 [INFO] running `Command { std: "docker" "start" "-a" "1282c4f319bd9c88d9c7ff1db72992e062c706f15ea2897a900c27505adb2790", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking png v0.17.7 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rust-neural-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | labels: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | labels: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:303:56 [INFO] [stdout] | [INFO] [stdout] 303 | fn update(&mut self, layer_deltas: BackwardsError, input: ArrayView2, learning_rate: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | let m = input.shape()[1] as f64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preactivated_output` [INFO] [stdout] --> src/main.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | preactivated_output: ArrayView2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preactivated_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:407:56 [INFO] [stdout] | [INFO] [stdout] 407 | fn update(&mut self, layer_deltas: BackwardsError, input: ArrayView2, learning_rate: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:303:56 [INFO] [stdout] | [INFO] [stdout] 303 | fn update(&mut self, layer_deltas: BackwardsError, input: ArrayView2, learning_rate: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m_test` [INFO] [stdout] --> src/main.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | let m_test = m.from_mnist_parser_get_range(train_size, train_size + 100); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_m_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | let m = input.shape()[1] as f64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preactivated_output` [INFO] [stdout] --> src/main.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | preactivated_output: ArrayView2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preactivated_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:407:56 [INFO] [stdout] | [INFO] [stdout] 407 | fn update(&mut self, layer_deltas: BackwardsError, input: ArrayView2, learning_rate: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sigmoid` and `Tanh` are never constructed [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Activation { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 20 | Sigmoid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Tanh, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ratio_correct` and `predict` are never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl NeuralNetwork { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn get_ratio_correct(&self, input: ArrayView2, labels: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn predict(&self, input: ArrayView2) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_image_to_label_folder` is never used [INFO] [stdout] --> src/main.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn write_image_to_label_folder(first: bool, image: &MnistImage, label: usize, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_label`, `write_to_bitmap`, `get_f64_pixels`, and `one_hot_label` are never used [INFO] [stdout] --> src/mnistparser.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MnistImage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_label(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn write_to_bitmap(&self, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_f64_pixels(&self) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn one_hot_label(&self) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let A = v[i].activation.view(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dZ` should have a snake case name [INFO] [stdout] --> src/main.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let dZ = error.to_owned() * activation_function(preactivated_output); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dW` should have a snake case name [INFO] [stdout] --> src/main.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let dW = (1.0 / input.shape()[1] as f64) * error.dot(&previous_activation.t()); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dB` should have a snake case name [INFO] [stdout] --> src/main.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let dB = (1.0 / input.shape()[1] as f64) * error.sum_axis(Axis(1)); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m_test` [INFO] [stdout] --> src/main.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | let m_test = m.from_mnist_parser_get_range(train_size, train_size + 100); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_m_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sigmoid` and `Tanh` are never constructed [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Activation { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 20 | Sigmoid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Tanh, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ratio_correct` and `predict` are never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl NeuralNetwork { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn get_ratio_correct(&self, input: ArrayView2, labels: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn predict(&self, input: ArrayView2) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_image_to_label_folder` is never used [INFO] [stdout] --> src/main.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn write_image_to_label_folder(first: bool, image: &MnistImage, label: usize, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_label`, `write_to_bitmap`, `get_f64_pixels`, and `one_hot_label` are never used [INFO] [stdout] --> src/mnistparser.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MnistImage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_label(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn write_to_bitmap(&self, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_f64_pixels(&self) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn one_hot_label(&self) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let A = v[i].activation.view(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dZ` should have a snake case name [INFO] [stdout] --> src/main.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let dZ = error.to_owned() * activation_function(preactivated_output); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dW` should have a snake case name [INFO] [stdout] --> src/main.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let dW = (1.0 / input.shape()[1] as f64) * error.dot(&previous_activation.t()); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dB` should have a snake case name [INFO] [stdout] --> src/main.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let dB = (1.0 / input.shape()[1] as f64) * error.sum_axis(Axis(1)); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "1282c4f319bd9c88d9c7ff1db72992e062c706f15ea2897a900c27505adb2790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1282c4f319bd9c88d9c7ff1db72992e062c706f15ea2897a900c27505adb2790", kill_on_drop: false }` [INFO] [stdout] 1282c4f319bd9c88d9c7ff1db72992e062c706f15ea2897a900c27505adb2790