[INFO] cloning repository https://github.com/nicholasdejong/neural_network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicholasdejong/neural_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicholasdejong%2Fneural_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicholasdejong%2Fneural_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68af64ce19ea662f0989f2aa857be9569ddcc39b [INFO] checking nicholasdejong/neural_network against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicholasdejong%2Fneural_network" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nicholasdejong/neural_network [INFO] finished tweaking git repo https://github.com/nicholasdejong/neural_network [INFO] tweaked toml for git repo https://github.com/nicholasdejong/neural_network written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nicholasdejong/neural_network on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nicholasdejong/neural_network 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" "+987a165cfab916796a8315782b83ac460a651ce2" "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 wide v0.7.13 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd7c252765f9ac787780b12b9ac0a2e1dfed2dee43a065ed0a94be506cc4ab12 [INFO] running `Command { std: "docker" "start" "-a" "dd7c252765f9ac787780b12b9ac0a2e1dfed2dee43a065ed0a94be506cc4ab12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd7c252765f9ac787780b12b9ac0a2e1dfed2dee43a065ed0a94be506cc4ab12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd7c252765f9ac787780b12b9ac0a2e1dfed2dee43a065ed0a94be506cc4ab12", kill_on_drop: false }` [INFO] [stdout] dd7c252765f9ac787780b12b9ac0a2e1dfed2dee43a065ed0a94be506cc4ab12 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d18bf8ca76da618c374546ad093b6b958dabd90920438ee5005be4c430cc971 [INFO] running `Command { std: "docker" "start" "-a" "1d18bf8ca76da618c374546ad093b6b958dabd90920438ee5005be4c430cc971", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [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 rand_distr v0.4.3 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking neural_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector1` [INFO] [stdout] --> src/neural_network.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{self, DMatrix, DVector, Vector1}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReLU`, `SoftPlus`, and `helpers::multiply` [INFO] [stdout] --> src/neural_network.rs:5:69 [INFO] [stdout] | [INFO] [stdout] 5 | functions::{Activation, ActivationFunction, Cost, CostFunction, ReLU, SoftPlus}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 6 | helpers::multiply, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector1` [INFO] [stdout] --> src/neural_network.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{self, DMatrix, DVector, Vector1}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReLU`, `SoftPlus`, and `helpers::multiply` [INFO] [stdout] --> src/neural_network.rs:5:69 [INFO] [stdout] | [INFO] [stdout] 5 | functions::{Activation, ActivationFunction, Cost, CostFunction, ReLU, SoftPlus}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 6 | helpers::multiply, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActivationFunction` [INFO] [stdout] --> src/neural_network.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | functions::{Activation, ActivationFunction, Cost, CostFunction, ReLU, SoftPlus}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CostFunction` [INFO] [stdout] --> src/neural_network.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | functions::{Activation, ActivationFunction, Cost, CostFunction, ReLU, SoftPlus}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActivationFunction` [INFO] [stdout] --> src/neural_network.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | functions::{Activation, ActivationFunction, Cost, CostFunction, ReLU, SoftPlus}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CostFunction` [INFO] [stdout] --> src/neural_network.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | functions::{Activation, ActivationFunction, Cost, CostFunction, ReLU, SoftPlus}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply` is never used [INFO] [stdout] --> src/helpers.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn multiply(a: DVector, b: DVector) -> DVector { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_size` and `output_size` are never read [INFO] [stdout] --> src/neural_network.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | input_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | output_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trainer` is never constructed [INFO] [stdout] --> src/trainer.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Trainer {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply` is never used [INFO] [stdout] --> src/helpers.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn multiply(a: DVector, b: DVector) -> DVector { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_size` and `output_size` are never read [INFO] [stdout] --> src/neural_network.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | input_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | output_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trainer` is never constructed [INFO] [stdout] --> src/trainer.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Trainer {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neural_network::functions::Activation` [INFO] [stdout] --> examples/xor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use neural_network::functions::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neural_network::neural_network::NeuralNetwork` [INFO] [stdout] --> examples/xor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use neural_network::neural_network::NeuralNetwork; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> examples/xor.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let data = [ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `functions::Activation` [INFO] [stdout] --> examples/it_works.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use neural_network::{batch, functions::Activation, neural_network::NeuralNetwork}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.62s [INFO] running `Command { std: "docker" "inspect" "1d18bf8ca76da618c374546ad093b6b958dabd90920438ee5005be4c430cc971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d18bf8ca76da618c374546ad093b6b958dabd90920438ee5005be4c430cc971", kill_on_drop: false }` [INFO] [stdout] 1d18bf8ca76da618c374546ad093b6b958dabd90920438ee5005be4c430cc971