[INFO] cloning repository https://github.com/corlessg/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/corlessg/neural_net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorlessg%2Fneural_net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorlessg%2Fneural_net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94a614bd5f35237faa0e8c13df4c0c4b2551c84e [INFO] checking corlessg/neural_net against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorlessg%2Fneural_net" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/corlessg/neural_net on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/corlessg/neural_net [INFO] finished tweaking git repo https://github.com/corlessg/neural_net [INFO] tweaked toml for git repo https://github.com/corlessg/neural_net written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/corlessg/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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19c6bc76924bb745a9e712dd6aed9426505941dbc87c6f674f0b9999fe590f2c [INFO] running `Command { std: "docker" "start" "-a" "19c6bc76924bb745a9e712dd6aed9426505941dbc87c6f674f0b9999fe590f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19c6bc76924bb745a9e712dd6aed9426505941dbc87c6f674f0b9999fe590f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c6bc76924bb745a9e712dd6aed9426505941dbc87c6f674f0b9999fe590f2c", kill_on_drop: false }` [INFO] [stdout] 19c6bc76924bb745a9e712dd6aed9426505941dbc87c6f674f0b9999fe590f2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 200717c0c6eb885ba958ed4b7def91a28d23089cce6b9b9d9832a669ebe4b962 [INFO] running `Command { std: "docker" "start" "-a" "200717c0c6eb885ba958ed4b7def91a28d23089cce6b9b9d9832a669ebe4b962", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking neural_net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use neural_net::utils::{self, sigmoid, sigmoid_derivative}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use neural_net::utils::{self, sigmoid, sigmoid_derivative}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `learning_rate` [INFO] [stdout] --> src/main.rs:40:52 [INFO] [stdout] | [INFO] [stdout] 40 | fn cycle(&self, input: &[f64], target: &[f64], learning_rate: f64) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_layer` [INFO] [stdout] --> src/main.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | .for_each(|(l, (_current_layer,next_layer))| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `forward_result` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let forward_result = layer.forward(&input); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_forward_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `forward` is never used [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl NeuralNet { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn forward(&self, input: &[f64]) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean_squared_error` is never used [INFO] [stdout] --> src/main.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn mean_squared_error(predicted_val: &[f64], actual_val: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `layer_test` is never used [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn layer_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `learning_rate` [INFO] [stdout] --> src/main.rs:40:52 [INFO] [stdout] | [INFO] [stdout] 40 | fn cycle(&self, input: &[f64], target: &[f64], learning_rate: f64) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_layer` [INFO] [stdout] --> src/main.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | .for_each(|(l, (_current_layer,next_layer))| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `forward_result` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let forward_result = layer.forward(&input); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_forward_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `forward` is never used [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl NeuralNet { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn forward(&self, input: &[f64]) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean_squared_error` is never used [INFO] [stdout] --> src/main.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn mean_squared_error(predicted_val: &[f64], actual_val: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `layer_test` is never used [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn layer_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.22s [INFO] running `Command { std: "docker" "inspect" "200717c0c6eb885ba958ed4b7def91a28d23089cce6b9b9d9832a669ebe4b962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "200717c0c6eb885ba958ed4b7def91a28d23089cce6b9b9d9832a669ebe4b962", kill_on_drop: false }` [INFO] [stdout] 200717c0c6eb885ba958ed4b7def91a28d23089cce6b9b9d9832a669ebe4b962