[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#fcfb0ffc7ed7fc631df1136063939ef648434735 for pr-152543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustnew%2Fsimple_CNN_model" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rustnew/simple_CNN_model on toolchain fcfb0ffc7ed7fc631df1136063939ef648434735 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "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" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5671a1a3759b048706db54df99481aa835c6d53970317481eb72891d7f41ccf1 [INFO] running `Command { std: "docker" "start" "-a" "5671a1a3759b048706db54df99481aa835c6d53970317481eb72891d7f41ccf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5671a1a3759b048706db54df99481aa835c6d53970317481eb72891d7f41ccf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5671a1a3759b048706db54df99481aa835c6d53970317481eb72891d7f41ccf1", kill_on_drop: false }` [INFO] [stdout] 5671a1a3759b048706db54df99481aa835c6d53970317481eb72891d7f41ccf1 [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" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9b5eb607e9dd15baa164ce20419d25ce6357e319ba27993f930ec2e078bc292 [INFO] running `Command { std: "docker" "start" "-a" "a9b5eb607e9dd15baa164ce20419d25ce6357e319ba27993f930ec2e078bc292", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking aligned v0.4.2 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking zune-core v0.5.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking zune-jpeg v0.5.5 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.14.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking moxcms v0.7.9 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.28 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [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 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.75s [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: 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: 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] [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: 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] running `Command { std: "docker" "inspect" "a9b5eb607e9dd15baa164ce20419d25ce6357e319ba27993f930ec2e078bc292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b5eb607e9dd15baa164ce20419d25ce6357e319ba27993f930ec2e078bc292", kill_on_drop: false }` [INFO] [stdout] a9b5eb607e9dd15baa164ce20419d25ce6357e319ba27993f930ec2e078bc292