[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoogle%2Foxide" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koogle/oxide on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 857c7ca603718c3fa4d36918af94faeb14206cd5184f7a7cc30615d32d84a213 [INFO] running `Command { std: "docker" "start" "-a" "857c7ca603718c3fa4d36918af94faeb14206cd5184f7a7cc30615d32d84a213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "857c7ca603718c3fa4d36918af94faeb14206cd5184f7a7cc30615d32d84a213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857c7ca603718c3fa4d36918af94faeb14206cd5184f7a7cc30615d32d84a213", kill_on_drop: false }` [INFO] [stdout] 857c7ca603718c3fa4d36918af94faeb14206cd5184f7a7cc30615d32d84a213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 196fa2165307e5b7d197b19cc4b922a9a9efececef03f8e57f4f90fcc8fdcfde [INFO] running `Command { std: "docker" "start" "-a" "196fa2165307e5b7d197b19cc4b922a9a9efececef03f8e57f4f90fcc8fdcfde", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [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: `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: the item `Value` is imported redundantly [INFO] [stdout] --> src/nn/mlp.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] 54 | use crate::engine::Engine; [INFO] [stdout] 55 | use crate::engine::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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] = note: `ImageDimensions` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stdout] warning: 16 warnings emitted [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "196fa2165307e5b7d197b19cc4b922a9a9efececef03f8e57f4f90fcc8fdcfde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "196fa2165307e5b7d197b19cc4b922a9a9efececef03f8e57f4f90fcc8fdcfde", kill_on_drop: false }` [INFO] [stdout] 196fa2165307e5b7d197b19cc4b922a9a9efececef03f8e57f4f90fcc8fdcfde [INFO] checking koogle/oxide against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoogle%2Foxide" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koogle/oxide on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 925878fa08ca4d8065fa99108e8336287e39621e17f07a7f14685e06b9701ca5 [INFO] running `Command { std: "docker" "start" "-a" "925878fa08ca4d8065fa99108e8336287e39621e17f07a7f14685e06b9701ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "925878fa08ca4d8065fa99108e8336287e39621e17f07a7f14685e06b9701ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "925878fa08ca4d8065fa99108e8336287e39621e17f07a7f14685e06b9701ca5", kill_on_drop: false }` [INFO] [stdout] 925878fa08ca4d8065fa99108e8336287e39621e17f07a7f14685e06b9701ca5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 978e9aaca7933794d321aaffd33e0bb56a22ad589a83e24231ec92af609bb1e4 [INFO] running `Command { std: "docker" "start" "-a" "978e9aaca7933794d321aaffd33e0bb56a22ad589a83e24231ec92af609bb1e4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/mnist/mod.rs (1 fix) [INFO] [stderr] Fixed src/mnist/read.rs (2 fixes) [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/nn/mlp.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] 54 | use crate::engine::Engine; [INFO] [stdout] 55 | use crate::engine::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/mnist/read.rs (3 fixes) [INFO] [stderr] Fixed src/engine/mod.rs (1 fix) [INFO] [stdout] warning: static `FOLDER_PREFIX` is never used [INFO] [stdout] --> src/mnist/read.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | 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:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImageDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageDimensions` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MnistImage` is never constructed [INFO] [stdout] --> src/mnist/read.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | 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:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | 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:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | 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:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | 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:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | 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:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn one_hot_encoding(label: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking Oxide v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0432]: unresolved import `crate::engine::VALUE_RANDOM_SEED` [INFO] [stdout] --> src/nn/mlp.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::engine::VALUE_RANDOM_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `VALUE_RANDOM_SEED` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MLP` [INFO] [stdout] --> src/mnist/read.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let mut mlp = MLP::new( [INFO] [stdout] | ^^^ use of undeclared type `MLP` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 122 + use crate::MLP; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/mnist/read.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | let mut loss = Value::from(0.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 122 + use crate::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine` [INFO] [stdout] --> src/mnist/read.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | let tmp = Engine::pow(&Engine::add( [INFO] [stdout] | ^^^^^^ use of undeclared type `Engine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 122 + use crate::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine` [INFO] [stdout] --> src/mnist/read.rs:142:40 [INFO] [stdout] | [INFO] [stdout] 142 | let tmp = Engine::pow(&Engine::add( [INFO] [stdout] | ^^^^^^ use of undeclared type `Engine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 122 + use crate::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine` [INFO] [stdout] --> src/mnist/read.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | &Engine::inv(&Value::from(y_hat[index])), [INFO] [stdout] | ^^^^^^ use of undeclared type `Engine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 122 + use crate::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/mnist/read.rs:144:35 [INFO] [stdout] | [INFO] [stdout] 144 | &Engine::inv(&Value::from(y_hat[index])), [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 122 + use crate::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine` [INFO] [stdout] --> src/mnist/read.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | loss = Engine::add(&loss, &tmp); [INFO] [stdout] | ^^^^^^ use of undeclared type `Engine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 122 + use crate::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine` [INFO] [stdout] --> src/mnist/read.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | loss = Engine::mul(&loss, &Value::from(1.0 / y_hat.len() as f64)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Engine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 122 + use crate::Engine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/mnist/read.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | loss = Engine::mul(&loss, &Value::from(1.0 / y_hat.len() as f64)); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 122 + use crate::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/nn/mlp.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] 54 | use crate::engine::Engine; [INFO] [stdout] 55 | use crate::engine::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FOLDER_PREFIX` is never used [INFO] [stdout] --> src/mnist/read.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | 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:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImageDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageDimensions` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MnistImage` is never constructed [INFO] [stdout] --> src/mnist/read.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | 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:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | 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:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | 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:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | 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:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | 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:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn one_hot_encoding(label: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Oxide` (bin "Oxide" test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "978e9aaca7933794d321aaffd33e0bb56a22ad589a83e24231ec92af609bb1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "978e9aaca7933794d321aaffd33e0bb56a22ad589a83e24231ec92af609bb1e4", kill_on_drop: false }` [INFO] [stdout] 978e9aaca7933794d321aaffd33e0bb56a22ad589a83e24231ec92af609bb1e4