[INFO] cloning repository https://github.com/xDimGG/nn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xDimGG/nn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxDimGG%2Fnn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxDimGG%2Fnn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94496c2d64b6ef9a8ab422f307f15026d1be0ddc [INFO] checking xDimGG/nn-rust/94496c2d64b6ef9a8ab422f307f15026d1be0ddc against master#9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 for pr-124108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxDimGG%2Fnn-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xDimGG/nn-rust on toolchain 9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xDimGG/nn-rust [INFO] finished tweaking git repo https://github.com/xDimGG/nn-rust [INFO] tweaked toml for git repo https://github.com/xDimGG/nn-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xDimGG/nn-rust 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" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ec38818ffa6d1897abb12f0d05cf06ab1c269eeb2f6a91e8d92aea6cd16ade3 [INFO] running `Command { std: "docker" "start" "-a" "3ec38818ffa6d1897abb12f0d05cf06ab1c269eeb2f6a91e8d92aea6cd16ade3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ec38818ffa6d1897abb12f0d05cf06ab1c269eeb2f6a91e8d92aea6cd16ade3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec38818ffa6d1897abb12f0d05cf06ab1c269eeb2f6a91e8d92aea6cd16ade3", kill_on_drop: false }` [INFO] [stdout] 3ec38818ffa6d1897abb12f0d05cf06ab1c269eeb2f6a91e8d92aea6cd16ade3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3cc7d093d6c4b0a297208d4ccfd5c90789414fe1ace8c1858f9bab4346348aa [INFO] running `Command { std: "docker" "start" "-a" "f3cc7d093d6c4b0a297208d4ccfd5c90789414fe1ace8c1858f9bab4346348aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking mnist v0.5.0 [INFO] [stderr] Checking getrandom v0.2.9 [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 nn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mnist::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mnist::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mnist::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mnist::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_neuron` [INFO] [stdout] --> src/main.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | for (j, next_neuron) in next.neurons.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_neuron` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_neuron` [INFO] [stdout] --> src/main.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | for (j, next_neuron) in next.neurons.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_neuron` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sigmoid`, `Linear`, and `Softmax` are never constructed [INFO] [stdout] --> src/main.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 7 | enum Activation { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 8 | Sigmoid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | ReLU, [INFO] [stdout] 10 | Linear, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Softmax, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Activation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sigmoid`, `Linear`, and `Softmax` are never constructed [INFO] [stdout] --> src/main.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 7 | enum Activation { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 8 | Sigmoid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | ReLU, [INFO] [stdout] 10 | Linear, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Softmax, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Activation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `learn` is never used [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 137 | impl Network { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn learn(&mut self, data: &Vec<(Vec, Vec)>, epochs: usize, alpha: f64, beta: f64, batch_size: usize, log: bool) -> Result<(... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `learn` is never used [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 137 | impl Network { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn learn(&mut self, data: &Vec<(Vec, Vec)>, epochs: usize, alpha: f64, beta: f64, batch_size: usize, log: bool) -> Result<(... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_hot` is never used [INFO] [stdout] --> src/main.rs:364:4 [INFO] [stdout] | [INFO] [stdout] 364 | fn one_hot(value: u8) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_hot` is never used [INFO] [stdout] --> src/main.rs:364:4 [INFO] [stdout] | [INFO] [stdout] 364 | fn one_hot(value: u8) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest` is never used [INFO] [stdout] --> src/main.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn largest(arr: Vec) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest` is never used [INFO] [stdout] --> src/main.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn largest(arr: Vec) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "f3cc7d093d6c4b0a297208d4ccfd5c90789414fe1ace8c1858f9bab4346348aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3cc7d093d6c4b0a297208d4ccfd5c90789414fe1ace8c1858f9bab4346348aa", kill_on_drop: false }` [INFO] [stdout] f3cc7d093d6c4b0a297208d4ccfd5c90789414fe1ace8c1858f9bab4346348aa