[INFO] cloning repository https://github.com/koogle/oxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koogle/oxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoogle%2Foxide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoogle%2Foxide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35da30b628ad367c2b6e3bbc9a004ce8427e5b97 [INFO] checking koogle/oxide against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoogle%2Foxide" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/koogle/oxide [INFO] finished tweaking git repo https://github.com/koogle/oxide [INFO] tweaked toml for git repo https://github.com/koogle/oxide written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/koogle/oxide on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/koogle/oxide 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" "+ca77504943887037504c7fc0b9bf06dab3910373" "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] 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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b7539f21ed12a8ad379115a2f6f2e0d768822e68a27ecdb22f739ca0dbb087f [INFO] running `Command { std: "docker" "start" "-a" "6b7539f21ed12a8ad379115a2f6f2e0d768822e68a27ecdb22f739ca0dbb087f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b7539f21ed12a8ad379115a2f6f2e0d768822e68a27ecdb22f739ca0dbb087f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7539f21ed12a8ad379115a2f6f2e0d768822e68a27ecdb22f739ca0dbb087f", kill_on_drop: false }` [INFO] [stdout] 6b7539f21ed12a8ad379115a2f6f2e0d768822e68a27ecdb22f739ca0dbb087f [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5f2b03cf5291a90246daca3e78cd3a99d9f311043ab6e563fbde28c529b7d0a [INFO] running `Command { std: "docker" "start" "-a" "d5f2b03cf5291a90246daca3e78cd3a99d9f311043ab6e563fbde28c529b7d0a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking getrandom v0.2.7 [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 Oxide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `read::read_mnist_labels` [INFO] [stdout] --> src/mnist/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use read::read_mnist_labels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::VALUE_RANDOM_SEED` [INFO] [stdout] --> src/engine/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use value::VALUE_RANDOM_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::Engine` [INFO] [stdout] --> src/mnist/read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::Value` [INFO] [stdout] --> src/mnist/read.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::engine::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::nn::MLP` [INFO] [stdout] --> src/mnist/read.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::nn::MLP; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read::read_mnist_labels` [INFO] [stdout] --> src/mnist/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use read::read_mnist_labels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/mnist/read.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MnistImage { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/mnist/read.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn print_image(image: &MnistImage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/mnist/read.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | let mut label_file_path = FOLDER_PREFIX.clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/mnist/read.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | let mut images_file_path = FOLDER_PREFIX.clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FOLDER_PREFIX` is never used [INFO] [stdout] --> src/mnist/read.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static FOLDER_PREFIX: &str = "./src/mnist/data/"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageDimensions` is never constructed [INFO] [stdout] --> src/mnist/read.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImageDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MnistImage` is never constructed [INFO] [stdout] --> src/mnist/read.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MnistImage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_mnist_labels` is never used [INFO] [stdout] --> src/mnist/read.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn read_mnist_labels() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lables` is never used [INFO] [stdout] --> src/mnist/read.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn read_lables(raw_bytes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_images` is never used [INFO] [stdout] --> src/mnist/read.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn read_images(raw_bytes: Vec, labels: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/mnist/read.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn print_image(image: &MnistImage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_f64` is never used [INFO] [stdout] --> src/mnist/read.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn to_f64(pixels: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_hot_encoding` is never used [INFO] [stdout] --> src/mnist/read.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn one_hot_encoding(label: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/mnist/read.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | let mut label_file_path = FOLDER_PREFIX.clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/mnist/read.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | let mut images_file_path = FOLDER_PREFIX.clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "d5f2b03cf5291a90246daca3e78cd3a99d9f311043ab6e563fbde28c529b7d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f2b03cf5291a90246daca3e78cd3a99d9f311043ab6e563fbde28c529b7d0a", kill_on_drop: false }` [INFO] [stdout] d5f2b03cf5291a90246daca3e78cd3a99d9f311043ab6e563fbde28c529b7d0a