[INFO] cloning repository https://github.com/zuhairm2001/rust_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/zuhairm2001/rust_neural_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzuhairm2001%2Frust_neural_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzuhairm2001%2Frust_neural_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97be94d0e3f1175d341c8072d68e0c25c774e9e9 [INFO] checking zuhairm2001/rust_neural_network against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzuhairm2001%2Frust_neural_network" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zuhairm2001/rust_neural_network [INFO] finished tweaking git repo https://github.com/zuhairm2001/rust_neural_network [INFO] tweaked toml for git repo https://github.com/zuhairm2001/rust_neural_network written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zuhairm2001/rust_neural_network on toolchain 94e848735e78b58442e0b82e9c60f8f430840389 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zuhairm2001/rust_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" "+94e848735e78b58442e0b82e9c60f8f430840389" "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 portable-atomic v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab6d08a3c48b4b13dfd4dd581a946624685cb2d57abc7ac77d92ceb5d8d1b317 [INFO] running `Command { std: "docker" "start" "-a" "ab6d08a3c48b4b13dfd4dd581a946624685cb2d57abc7ac77d92ceb5d8d1b317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab6d08a3c48b4b13dfd4dd581a946624685cb2d57abc7ac77d92ceb5d8d1b317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab6d08a3c48b4b13dfd4dd581a946624685cb2d57abc7ac77d92ceb5d8d1b317", kill_on_drop: false }` [INFO] [stdout] ab6d08a3c48b4b13dfd4dd581a946624685cb2d57abc7ac77d92ceb5d8d1b317 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4979c288b3ffa82b12d20fb633633071401a25e622d4b3bda4c9739db65da5c [INFO] running `Command { std: "docker" "start" "-a" "a4979c288b3ffa82b12d20fb633633071401a25e622d4b3bda4c9739db65da5c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking rust_neural_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `byteorder` [INFO] [stdout] --> src/mnist_loader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `byteorder` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `byteorder`, use `cargo add byteorder` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/mnist_loader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `load_mnist`, `load_test_data`, and `load_training_data` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use mnist_loader::{load_mnist, load_test_data, load_training_data}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `byteorder` [INFO] [stdout] --> src/mnist_loader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `byteorder` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `byteorder`, use `cargo add byteorder` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | let magic_number = reader.read_u32::()?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/mnist_loader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `load_mnist`, `load_test_data`, and `load_training_data` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use mnist_loader::{load_mnist, load_test_data, load_training_data}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let num_images = reader.read_u32::()? as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | let num_rows = reader.read_u32::()? as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | let num_cols = reader.read_u32::()? as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | let magic_number = reader.read_u32::()?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | let magic_number = reader.read_u32::()?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | let num_labels = reader.read_u32::()? as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let num_images = reader.read_u32::()? as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | let num_rows = reader.read_u32::()? as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | let num_cols = reader.read_u32::()? as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | let magic_number = reader.read_u32::()?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_neural_network` (bin "rust_neural_network" test) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `read_u32` found for struct `BufReader` in the current scope [INFO] [stdout] --> src/mnist_loader.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | let num_labels = reader.read_u32::()? as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/std/src/io/mod.rs:813:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_neural_network` (bin "rust_neural_network") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4979c288b3ffa82b12d20fb633633071401a25e622d4b3bda4c9739db65da5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4979c288b3ffa82b12d20fb633633071401a25e622d4b3bda4c9739db65da5c", kill_on_drop: false }` [INFO] [stdout] a4979c288b3ffa82b12d20fb633633071401a25e622d4b3bda4c9739db65da5c