[INFO] cloning repository https://github.com/rustnew/simple_CNN_model [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustnew/simple_CNN_model" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustnew%2Fsimple_CNN_model", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustnew%2Fsimple_CNN_model'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a49306fad6aa38a03074822900eaf4bd2b3ad288 [INFO] checking rustnew/simple_CNN_model against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustnew%2Fsimple_CNN_model" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rustnew/simple_CNN_model [INFO] finished tweaking git repo https://github.com/rustnew/simple_CNN_model [INFO] tweaked toml for git repo https://github.com/rustnew/simple_CNN_model written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rustnew/simple_CNN_model on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rustnew/simple_CNN_model 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aligned v0.4.2 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded pastey v0.1.1 [INFO] [stderr] Downloaded y4m v0.8.0 [INFO] [stderr] Downloaded av1-grain v0.2.5 [INFO] [stderr] Downloaded built v0.8.0 [INFO] [stderr] Downloaded gif v0.14.0 [INFO] [stderr] Downloaded bitstream-io v4.9.0 [INFO] [stderr] Downloaded ravif v0.12.0 [INFO] [stderr] Downloaded av-scenechange v0.14.1 [INFO] [stderr] Downloaded exr v1.74.0 [INFO] [stderr] Downloaded rav1e v0.8.1 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6372b962eeedec3266f1bbd632516eb4ba859a39897d9d5b6f746ce25d538dc [INFO] running `Command { std: "docker" "start" "-a" "d6372b962eeedec3266f1bbd632516eb4ba859a39897d9d5b6f746ce25d538dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6372b962eeedec3266f1bbd632516eb4ba859a39897d9d5b6f746ce25d538dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6372b962eeedec3266f1bbd632516eb4ba859a39897d9d5b6f746ce25d538dc", kill_on_drop: false }` [INFO] [stdout] d6372b962eeedec3266f1bbd632516eb4ba859a39897d9d5b6f746ce25d538dc [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bbf8d0a3699db9b0e9d18db0fb7338a4467d5d29f2d00503b736aa31bfa474c [INFO] running `Command { std: "docker" "start" "-a" "1bbf8d0a3699db9b0e9d18db0fb7338a4467d5d29f2d00503b736aa31bfa474c", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking aligned v0.4.2 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking pxfm v0.1.25 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking gif v0.14.0 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking moxcms v0.7.9 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.28 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking malaria_model v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output_size` is never read [INFO] [stdout] --> src/model/layers.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct Dense { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 168 | pub output_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output_size` is never read [INFO] [stdout] --> src/model/layers.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct Dense { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 168 | pub output_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_improved`, `train_improved`, `evaluate`, `predict`, and `save_model` are never used [INFO] [stdout] --> src/model/model.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MalariaCNN { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_improved(input_width: usize, input_height: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn train_improved( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn evaluate(&mut self, test_data: &[Tensor4D], test_labels: &[usize]) -> (f64, f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn predict(&mut self, input: &Tensor4D) -> (usize, f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn save_model(&self, filepath: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_improved`, `train_improved`, `evaluate`, `predict`, and `save_model` are never used [INFO] [stdout] --> src/model/model.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MalariaCNN { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_improved(input_width: usize, input_height: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn train_improved( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn evaluate(&mut self, test_data: &[Tensor4D], test_labels: &[usize]) -> (f64, f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn predict(&mut self, input: &Tensor4D) -> (usize, f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn save_model(&self, filepath: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `transpose` is never used [INFO] [stdout] --> src/model/tensor.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Tensor2D { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn transpose(&self) -> Tensor2D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `transpose` is never used [INFO] [stdout] --> src/model/tensor.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Tensor2D { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn transpose(&self) -> Tensor2D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `backward_2d` is never used [INFO] [stdout] --> src/model/activation.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Softmax { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn backward_2d(output: &Tensor2D, targets: &[usize]) -> Tensor2D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `backward_2d` is never used [INFO] [stdout] --> src/model/activation.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Softmax { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn backward_2d(output: &Tensor2D, targets: &[usize]) -> Tensor2D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.99s [INFO] running `Command { std: "docker" "inspect" "1bbf8d0a3699db9b0e9d18db0fb7338a4467d5d29f2d00503b736aa31bfa474c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bbf8d0a3699db9b0e9d18db0fb7338a4467d5d29f2d00503b736aa31bfa474c", kill_on_drop: false }` [INFO] [stdout] 1bbf8d0a3699db9b0e9d18db0fb7338a4467d5d29f2d00503b736aa31bfa474c