[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 [INFO] checking notseanray/mnist-nn-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/notseanray/mnist-nn-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 329367f4ab825474536871e54fc53f378ff9a53a44c2502c8a06b1743fab47ba [INFO] running `Command { std: "docker" "start" "-a" "329367f4ab825474536871e54fc53f378ff9a53a44c2502c8a06b1743fab47ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "329367f4ab825474536871e54fc53f378ff9a53a44c2502c8a06b1743fab47ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329367f4ab825474536871e54fc53f378ff9a53a44c2502c8a06b1743fab47ba", kill_on_drop: false }` [INFO] [stdout] 329367f4ab825474536871e54fc53f378ff9a53a44c2502c8a06b1743fab47ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a966215894b04bf76978ab621b40643ccf98b79f01d9cef0065b2184ecece3f [INFO] running `Command { std: "docker" "start" "-a" "1a966215894b04bf76978ab621b40643ccf98b79f01d9cef0065b2184ecece3f", 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: `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: `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: `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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | .map(|n| n.next().unwrap()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 144 | fn relu(z: M) -> M [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | / z.into_iter() [INFO] [stdout] 150 | | .map(|x| { [INFO] [stdout] 151 | | x.into_iter() [INFO] [stdout] 152 | | .map(|x| f32::max(x.into(), T::default().into())) [INFO] [stdout] 153 | | .collect::>() [INFO] [stdout] 154 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 150 | .map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | / x.into_iter() [INFO] [stdout] 152 | | .map(|x| f32::max(x.into(), T::default().into())) [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | .map(|x| f32::max(x.into(), T::default().into())) [INFO] [stdout] | - ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn read_csv>(path: P) -> Result, std::io::Error> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let data = BufReader::new(File::open(path)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Ok(data [INFO] [stdout] | ________^ [INFO] [stdout] 161 | | .lines() [INFO] [stdout] 162 | | .map_while(Result::ok) [INFO] [stdout] 163 | | .map(|x| x.split(',').map(|x| x.to_string()).collect::>()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________________________________________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | .map(|n| n.next().unwrap()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 144 | fn relu(z: M) -> M [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | / z.into_iter() [INFO] [stdout] 150 | | .map(|x| { [INFO] [stdout] 151 | | x.into_iter() [INFO] [stdout] 152 | | .map(|x| f32::max(x.into(), T::default().into())) [INFO] [stdout] 153 | | .collect::>() [INFO] [stdout] 154 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 150 | .map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | / x.into_iter() [INFO] [stdout] 152 | | .map(|x| f32::max(x.into(), T::default().into())) [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | .map(|x| f32::max(x.into(), T::default().into())) [INFO] [stdout] | - ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn read_csv>(path: P) -> Result, std::io::Error> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let data = BufReader::new(File::open(path)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Ok(data [INFO] [stdout] | ________^ [INFO] [stdout] 161 | | .lines() [INFO] [stdout] 162 | | .map_while(Result::ok) [INFO] [stdout] 163 | | .map(|x| x.split(',').map(|x| x.to_string()).collect::>()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________________________________________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: aborting due to 5 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mnist-nn-rs` (bin "mnist-nn-rs") due to 6 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mnist-nn-rs` (bin "mnist-nn-rs" test) due to 6 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1a966215894b04bf76978ab621b40643ccf98b79f01d9cef0065b2184ecece3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a966215894b04bf76978ab621b40643ccf98b79f01d9cef0065b2184ecece3f", kill_on_drop: false }` [INFO] [stdout] 1a966215894b04bf76978ab621b40643ccf98b79f01d9cef0065b2184ecece3f