[INFO] cloning repository https://github.com/matty234/rs-neural-net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matty234/rs-neural-net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty234%2Frs-neural-net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty234%2Frs-neural-net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dceef2526ecbac2bdd505befd61d3f949e39e38d [INFO] testing matty234/rs-neural-net against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty234%2Frs-neural-net" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matty234/rs-neural-net [INFO] finished tweaking git repo https://github.com/matty234/rs-neural-net [INFO] tweaked toml for git repo https://github.com/matty234/rs-neural-net written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matty234/rs-neural-net on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matty234/rs-neural-net 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49d2dd791ae8c165f79437004cbdd6187f8b3981e22cc8647a499d3c905c44a3 [INFO] running `Command { std: "docker" "start" "-a" "49d2dd791ae8c165f79437004cbdd6187f8b3981e22cc8647a499d3c905c44a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49d2dd791ae8c165f79437004cbdd6187f8b3981e22cc8647a499d3c905c44a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d2dd791ae8c165f79437004cbdd6187f8b3981e22cc8647a499d3c905c44a3", kill_on_drop: false }` [INFO] [stdout] 49d2dd791ae8c165f79437004cbdd6187f8b3981e22cc8647a499d3c905c44a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6f41bc4709483d845bfa657d1a7f17cc571a67bdf9e6674281074ebd4ecb9c93 [INFO] running `Command { std: "docker" "start" "-a" "6f41bc4709483d845bfa657d1a7f17cc571a67bdf9e6674281074ebd4ecb9c93", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rust-neural-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | labels: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:303:56 [INFO] [stdout] | [INFO] [stdout] 303 | fn update(&mut self, layer_deltas: BackwardsError, input: ArrayView2, learning_rate: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | let m = input.shape()[1] as f64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preactivated_output` [INFO] [stdout] --> src/main.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | preactivated_output: ArrayView2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preactivated_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:407:56 [INFO] [stdout] | [INFO] [stdout] 407 | fn update(&mut self, layer_deltas: BackwardsError, input: ArrayView2, learning_rate: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m_test` [INFO] [stdout] --> src/main.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | let m_test = m.from_mnist_parser_get_range(train_size, train_size + 100); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_m_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sigmoid` and `Tanh` are never constructed [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Activation { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 20 | Sigmoid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Tanh, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ratio_correct` and `predict` are never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl NeuralNetwork { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn get_ratio_correct(&self, input: ArrayView2, labels: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn predict(&self, input: ArrayView2) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_image_to_label_folder` is never used [INFO] [stdout] --> src/main.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn write_image_to_label_folder(first: bool, image: &MnistImage, label: usize, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_label`, `write_to_bitmap`, `get_f64_pixels`, and `one_hot_label` are never used [INFO] [stdout] --> src/mnistparser.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MnistImage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_label(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn write_to_bitmap(&self, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_f64_pixels(&self) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn one_hot_label(&self) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let A = v[i].activation.view(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dZ` should have a snake case name [INFO] [stdout] --> src/main.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let dZ = error.to_owned() * activation_function(preactivated_output); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dW` should have a snake case name [INFO] [stdout] --> src/main.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let dW = (1.0 / input.shape()[1] as f64) * error.dot(&previous_activation.t()); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dB` should have a snake case name [INFO] [stdout] --> src/main.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let dB = (1.0 / input.shape()[1] as f64) * error.sum_axis(Axis(1)); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcqs8C99/symbols.o" "<11 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libpng-dd5a25fe38fbed38.rlib,libbitflags-e274cd04b58a060d.rlib,libflate2-c0be16b6c241b39c.rlib,libminiz_oxide-2cafdf14c05ef334.rlib,libadler-b32dea79b2f05ffd.rlib,libcrc32fast-8f2d6020cd2aee51.rlib,libbyteorder-c7092f68299ac016.rlib,librand-90007fa6b4d73dbd.rlib,librand_chacha-59f18092221d7672.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-17d91ae8e4dc99de.rlib,libgetrandom-07139445db52bae8.rlib,liblibc-dd2af4e12e74a148.rlib,libcfg_if-66d55f6b302e88c8.rlib,libndarray-0d048594eb51a4de.rlib,libmatrixmultiply-e76bf7fd3dbef351.rlib,libnum_complex-79695839ed1e9b62.rlib,libnum_integer-cc81b9d023d21f89.rlib,libnum_traits-1156dbed7f14dd48.rlib,librawpointer-ee8696fe85e6dce4.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcqs8C99/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_neural_net-979222b1c39ab8f6" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-07139445db52bae8.rlib(getrandom-07139445db52bae8.getrandom.76eda4a23f3530b6-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.8/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17hc6cf25ad086ad872E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-neural-net` (bin "rust-neural-net") due to 1 previous error; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f41bc4709483d845bfa657d1a7f17cc571a67bdf9e6674281074ebd4ecb9c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f41bc4709483d845bfa657d1a7f17cc571a67bdf9e6674281074ebd4ecb9c93", kill_on_drop: false }` [INFO] [stdout] 6f41bc4709483d845bfa657d1a7f17cc571a67bdf9e6674281074ebd4ecb9c93