[INFO] cloning repository https://github.com/maxfer1221/rust_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/maxfer1221/rust_neural_net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Frust_neural_net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Frust_neural_net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 214ac745f0dabd988698189b61e7d5a79b65d451 [INFO] testing maxfer1221/rust_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%2Fmaxfer1221%2Frust_neural_net" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 56% (326/572) Updating files: 57% (327/572) Updating files: 58% (332/572) Updating files: 59% (338/572) Updating files: 60% (344/572) Updating files: 61% (349/572) Updating files: 62% (355/572) Updating files: 62% (359/572) Updating files: 63% (361/572) Updating files: 64% (367/572) Updating files: 65% (372/572) Updating files: 66% (378/572) Updating files: 67% (384/572) Updating files: 68% (389/572) Updating files: 69% (395/572) Updating files: 70% (401/572) Updating files: 71% (407/572) Updating files: 72% (412/572) Updating files: 73% (418/572) Updating files: 74% (424/572) Updating files: 75% (429/572) Updating files: 76% (435/572) Updating files: 77% (441/572) Updating files: 78% (447/572) Updating files: 79% (452/572) Updating files: 80% (458/572) Updating files: 81% (464/572) Updating files: 82% (470/572) Updating files: 83% (475/572) Updating files: 84% (481/572) Updating files: 85% (487/572) Updating files: 86% (492/572) Updating files: 87% (498/572) Updating files: 88% (504/572) Updating files: 89% (510/572) Updating files: 90% (515/572) Updating files: 91% (521/572) Updating files: 92% (527/572) Updating files: 93% (532/572) Updating files: 94% (538/572) Updating files: 95% (544/572) Updating files: 96% (550/572) Updating files: 97% (555/572) Updating files: 98% (561/572) Updating files: 99% (567/572) Updating files: 100% (572/572) Updating files: 100% (572/572), done. [INFO] started tweaking git repo https://github.com/maxfer1221/rust_neural_net [INFO] finished tweaking git repo https://github.com/maxfer1221/rust_neural_net [INFO] tweaked toml for git repo https://github.com/maxfer1221/rust_neural_net written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maxfer1221/rust_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/maxfer1221/rust_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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f8bf2d0e76f6427a719e87967f83da5a077a20d6e4ffc0a33248dafdd357ddf7 [INFO] running `Command { std: "docker" "start" "-a" "f8bf2d0e76f6427a719e87967f83da5a077a20d6e4ffc0a33248dafdd357ddf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8bf2d0e76f6427a719e87967f83da5a077a20d6e4ffc0a33248dafdd357ddf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8bf2d0e76f6427a719e87967f83da5a077a20d6e4ffc0a33248dafdd357ddf7", kill_on_drop: false }` [INFO] [stdout] f8bf2d0e76f6427a719e87967f83da5a077a20d6e4ffc0a33248dafdd357ddf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0e3857c65692585bba67e0ce39b14aa4ad137a05ee95b32d770a195b3accc806 [INFO] running `Command { std: "docker" "start" "-a" "0e3857c65692585bba67e0ce39b14aa4ad137a05ee95b32d770a195b3accc806", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling wide v0.7.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling rand_distr v0.4.2 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling rust_nn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Scalar` [INFO] [stdout] --> src/main.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{DefaultAllocator, Matrix, OMatrix, Dynamic, Scalar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn train(&mut self, x: &OMatrix, y: &OMatrix) -> Result<(), ()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:32:61 [INFO] [stdout] | [INFO] [stdout] 32 | fn train(&mut self, x: &OMatrix, y: &OMatrix) -> Result<(), ()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | y: &OMatrix [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let m = OMatrix::::new_random(3, 3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeuralNet` is never constructed [INFO] [stdout] --> src/main.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct NeuralNet where [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeuralNetConfig` is never constructed [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct NeuralNetConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `train`, and `backpropagate` are never used [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl NeuralNet { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 22 | fn new(config: NeuralNetConfig) -> NeuralNet { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn train(&mut self, x: &OMatrix, y: &OMatrix) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn backpropagate( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sigmoid` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn sigmoid(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sigmoid_prime` is never used [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn sigmoid_prime(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hiddenLayerInput` should have a snake case name [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut hiddenLayerInput = OMatrix::::zeros( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `hidden_layer_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [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/rustcPQTFek/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libnalgebra-09fb35dcbca7cf9b.rlib,librand_distr-71cb0d8524736d5b.rlib,libmatrixmultiply-2a7d3fdd14cab65c.rlib,librawpointer-ee8696fe85e6dce4.rlib,libnum_rational-620d078010a25acd.rlib,libnum_integer-1ea22c392daad8ca.rlib,libtypenum-c30adc9f15bf22b3.rlib,libsimba-c889cd618eabadf0.rlib,libwide-aa8c770c738ee7f6.rlib,libsafe_arch-f0dc88043da828d7.rlib,libbytemuck-6bb6e683312d71e6.rlib,libnum_complex-70b2c9baf51f7c22.rlib,libapprox-57d9c40a6f3d5866.rlib,libnum_traits-c04d8525fcdeae72.rlib,liblibm-39c890635b273f4c.rlib,librand-d3f85a31894ad4bb.rlib,librand_chacha-3720b5afd1f8cde3.rlib,libppv_lite86-7955ccdf208dacd3.rlib,librand_core-720f676522af5de6.rlib,libgetrandom-d4295ee9b9edb2c6.rlib,liblibc-9c90e06bf55659f8.rlib,libcfg_if-66d55f6b302e88c8.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/rustcPQTFek/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_nn-7c891e26133f2391" "-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-d4295ee9b9edb2c6.rlib(getrandom-d4295ee9b9edb2c6.getrandom.245d787ab5ee6ee3-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.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hd32365cd08834ee8E+0xb6): 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_nn` (bin "rust_nn") due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e3857c65692585bba67e0ce39b14aa4ad137a05ee95b32d770a195b3accc806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e3857c65692585bba67e0ce39b14aa4ad137a05ee95b32d770a195b3accc806", kill_on_drop: false }` [INFO] [stdout] 0e3857c65692585bba67e0ce39b14aa4ad137a05ee95b32d770a195b3accc806