[INFO] cloning repository https://github.com/notseanray/mnist-nn-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/notseanray/mnist-nn-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotseanray%2Fmnist-nn-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotseanray%2Fmnist-nn-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 033c580b3a05feb06a8ad6b07e7e7854687e837e [INFO] checking notseanray/mnist-nn-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotseanray%2Fmnist-nn-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/notseanray/mnist-nn-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/notseanray/mnist-nn-rs [INFO] finished tweaking git repo https://github.com/notseanray/mnist-nn-rs [INFO] tweaked toml for git repo https://github.com/notseanray/mnist-nn-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/notseanray/mnist-nn-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39d0976b089fa9ac82c7a9d5f27991d7fb6496c122f02124c597af68bc4a6f23 [INFO] running `Command { std: "docker" "start" "-a" "39d0976b089fa9ac82c7a9d5f27991d7fb6496c122f02124c597af68bc4a6f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39d0976b089fa9ac82c7a9d5f27991d7fb6496c122f02124c597af68bc4a6f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d0976b089fa9ac82c7a9d5f27991d7fb6496c122f02124c597af68bc4a6f23", kill_on_drop: false }` [INFO] [stdout] 39d0976b089fa9ac82c7a9d5f27991d7fb6496c122f02124c597af68bc4a6f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90cc4672d1974a92a0e0231889cbd49b069b0c1db50ed217532246e39480972e [INFO] running `Command { std: "docker" "start" "-a" "90cc4672d1974a92a0e0231889cbd49b069b0c1db50ed217532246e39480972e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking fastrand v2.0.0 [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 mnist-nn-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | ops::{Add, Mul}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | ops::{Add, Mul}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/main.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let size = y.len(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/main.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let size = y.len(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z2` [INFO] [stdout] --> src/main.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | z2: M, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_z2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w1` [INFO] [stdout] --> src/main.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | w1: M, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z2` [INFO] [stdout] --> src/main.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | z2: M, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_z2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w1` [INFO] [stdout] --> src/main.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | w1: M, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols_len` [INFO] [stdout] --> src/main.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let cols_len = data[0].len(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cols_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_dev` [INFO] [stdout] --> src/main.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | let y_dev = &dev_data[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_dev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_dev` [INFO] [stdout] --> src/main.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | let x_dev = &dev_data[1..].to_vec(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_dev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `W1` [INFO] [stdout] --> src/main.rs:354:10 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_W1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/main.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `W2` [INFO] [stdout] --> src/main.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_W2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols_len` [INFO] [stdout] --> src/main.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let cols_len = data[0].len(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cols_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b2` [INFO] [stdout] --> src/main.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_dev` [INFO] [stdout] --> src/main.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | let y_dev = &dev_data[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_dev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_dev` [INFO] [stdout] --> src/main.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | let x_dev = &dev_data[1..].to_vec(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_dev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `W1` [INFO] [stdout] --> src/main.rs:354:10 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_W1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/main.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `W2` [INFO] [stdout] --> src/main.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_W2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b2` [INFO] [stdout] --> src/main.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `m_eq` is never used [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 19 | trait Matrix { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | fn m_eq(&self, other: &M) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `m_eq` is never used [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 19 | trait Matrix { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | fn m_eq(&self, other: &M) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W1` should have a snake case name [INFO] [stdout] --> src/main.rs:354:10 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `w1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W1` should have a snake case name [INFO] [stdout] --> src/main.rs:354:10 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `w1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W2` should have a snake case name [INFO] [stdout] --> src/main.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `w2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W2` should have a snake case name [INFO] [stdout] --> src/main.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 354 | let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `w2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "90cc4672d1974a92a0e0231889cbd49b069b0c1db50ed217532246e39480972e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90cc4672d1974a92a0e0231889cbd49b069b0c1db50ed217532246e39480972e", kill_on_drop: false }` [INFO] [stdout] 90cc4672d1974a92a0e0231889cbd49b069b0c1db50ed217532246e39480972e