[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 master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicholasdejong%2Fneural_network" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicholasdejong/neural_network on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9866377e33e7d2ba7ed12cabe9fd605d7081ccccd1f176890e057f516c914903 [INFO] running `Command { std: "docker" "start" "-a" "9866377e33e7d2ba7ed12cabe9fd605d7081ccccd1f176890e057f516c914903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9866377e33e7d2ba7ed12cabe9fd605d7081ccccd1f176890e057f516c914903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9866377e33e7d2ba7ed12cabe9fd605d7081ccccd1f176890e057f516c914903", kill_on_drop: false }` [INFO] [stdout] 9866377e33e7d2ba7ed12cabe9fd605d7081ccccd1f176890e057f516c914903 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bfd508775f876e1bd9ce26fcc7853a7365359c3d935b28f2228423e2b565ed7 [INFO] running `Command { std: "docker" "start" "-a" "2bfd508775f876e1bd9ce26fcc7853a7365359c3d935b28f2228423e2b565ed7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.10 [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 approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.47s [INFO] running `Command { std: "docker" "inspect" "2bfd508775f876e1bd9ce26fcc7853a7365359c3d935b28f2228423e2b565ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bfd508775f876e1bd9ce26fcc7853a7365359c3d935b28f2228423e2b565ed7", kill_on_drop: false }` [INFO] [stdout] 2bfd508775f876e1bd9ce26fcc7853a7365359c3d935b28f2228423e2b565ed7