[INFO] cloning repository https://github.com/dmuraco3/neural [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmuraco3/neural" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmuraco3%2Fneural", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmuraco3%2Fneural'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26d96af1a8cca112fb62b9aae039115d51e7784f [INFO] testing dmuraco3/neural 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%2Fdmuraco3%2Fneural" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/dmuraco3/neural [INFO] finished tweaking git repo https://github.com/dmuraco3/neural [INFO] tweaked toml for git repo https://github.com/dmuraco3/neural written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dmuraco3/neural 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/dmuraco3/neural 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] bd1bc2733d2cbc36b9bf7ed5c4034fb3e99f4b090dc98c82d6dcf60f2c9d9a3f [INFO] running `Command { std: "docker" "start" "-a" "bd1bc2733d2cbc36b9bf7ed5c4034fb3e99f4b090dc98c82d6dcf60f2c9d9a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd1bc2733d2cbc36b9bf7ed5c4034fb3e99f4b090dc98c82d6dcf60f2c9d9a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1bc2733d2cbc36b9bf7ed5c4034fb3e99f4b090dc98c82d6dcf60f2c9d9a3f", kill_on_drop: false }` [INFO] [stdout] bd1bc2733d2cbc36b9bf7ed5c4034fb3e99f4b090dc98c82d6dcf60f2c9d9a3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 689b19c4b922a88cd1a3d0d5d8359b356b09da6712f23caa22a3625fced22f64 [INFO] running `Command { std: "docker" "start" "-a" "689b19c4b922a88cd1a3d0d5d8359b356b09da6712f23caa22a3625fced22f64", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.148 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling csv-core v0.1.10 [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 num-complex v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling neural v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Div`, `Neg`, `Sub`, and `process::Output` [INFO] [stdout] --> src/tensor/mod.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{Debug}, ops::{Mul, AddAssign, Add, Neg, Sub, Div}, iter::Sum, process::Output}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::Pow` [INFO] [stdout] --> src/tensor/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc`, `io::Error`, `mem::MaybeUninit`, and `thread::Thread` [INFO] [stdout] --> src/tensor/utils.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{alloc::{Layout, alloc, alloc_zeroed}, sync::{Arc, Mutex}, thread::Thread, mem::MaybeUninit, io::Error}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/tensor/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/tensor/ops/matmul.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn scalar_matmul>(x1:&Tensor, x2: T) -> Tensor [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tensor/ops/matmul.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut new_data = alloc_box_buffer::(x1.inner.len()); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FnBox` is never used [INFO] [stdout] --> src/tensor/utils.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | trait FnBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Job` is never used [INFO] [stdout] --> src/tensor/utils.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 108 | type Job = Box; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/tensor/utils.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tensor/utils.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Worker { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 116 | fn new(id: usize, reciever: Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/tensor/utils.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 141 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadPool` is never constructed [INFO] [stdout] --> src/tensor/utils.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) struct ThreadPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/tensor/utils.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl ThreadPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 153 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn execute(&self, f: F) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow` and `panic` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{borrow, panic}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ref`, `borrow::Borrow`, and `process::Output` [INFO] [stdout] --> src/main.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{rc::Rc, cell::{RefCell, Ref}, ops::{Mul, Add, Neg}, fs::File, borrow::Borrow, process::Output}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `matmul`, `new_tensor`, and `scalar_matmul` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use rustgrad::{new_tensor, tensor::{Tensor, TensorTrait, utils::{alloc_box_buffer}, ops::matmul::{matmul, scalar_matmul}}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/main.rs:2:57 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{rc::Rc, cell::{RefCell, Ref}, ops::{Mul, Add, Neg}, fs::File, borrow::Borrow, process::Output}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nuerons` is never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct InputLayer> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 26 | nuerons: Box<[Neuron]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `neurons` and `activation_function` are never read [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DenseLayer> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 30 | neurons: Box<[Neuron]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | activation_function: fn(input: &mut Tensor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `neurons` and `activation_function` are never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ActivationLayer> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 35 | neurons: Box<[Neuron]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | activation_function: fn(input: &mut Box<[Neuron]>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `relu` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn relu>(input: &mut Tensor) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_csv` is never used [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn read_csv() -> Vec<(String, Box<[f32]>)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MNIST_DIGITS` should have a snake case name [INFO] [stdout] --> src/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let mut MNIST_DIGITS: Vec<(String, Box<[f32]>)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mnist_digits` [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/rustcQsUwc9/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcsv-2343e0da4bbacff4.rlib,libryu-d13899e55c17b23e.rlib,libitoa-7c9a83f6047c872a.rlib,libcsv_core-73b52fcff2108016.rlib,libbstr-616a69c0032eb5ac.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libregex_automata-2f772042de7a2dcd.rlib,libmemchr-b6b881c91ed2f84b.rlib,libserde-62f1e5c64337dca9.rlib,librand-c8e6b3dd20c42aad.rlib,librand_chacha-123a255f47bbba21.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-7bfa413b8931c491.rlib,libgetrandom-ced4152599f0d793.rlib,liblibc-6da46c267cddcc84.rlib,libcfg_if-66d55f6b302e88c8.rlib,librustgrad-e26aed6f3126a5a0.rlib,libnum-4545804d70cb6ea9.rlib,libnum_iter-1f7617b0bcba5395.rlib,libnum_rational-30b7a448c4a0f6d1.rlib,libnum_complex-a7f2d766d88baee9.rlib,libnum_bigint-7d98fc9d803d35b6.rlib,libnum_integer-d56515f5adf7c5b9.rlib,libnum_traits-1156dbed7f14dd48.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/rustcQsUwc9/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/neural-3f9e3f56bbd557c7" "-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-ced4152599f0d793.rlib(getrandom-ced4152599f0d793.getrandom.18e9ff9ff7457d40-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_readonly17h0cbbaafc3d5aad5cE+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 `neural` (bin "neural") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "689b19c4b922a88cd1a3d0d5d8359b356b09da6712f23caa22a3625fced22f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689b19c4b922a88cd1a3d0d5d8359b356b09da6712f23caa22a3625fced22f64", kill_on_drop: false }` [INFO] [stdout] 689b19c4b922a88cd1a3d0d5d8359b356b09da6712f23caa22a3625fced22f64