[INFO] cloning repository https://github.com/maxjeffos/rust-neural-network-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxjeffos/rust-neural-network-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxjeffos%2Frust-neural-network-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxjeffos%2Frust-neural-network-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4c2539f42a371031368d45b92d7a75516ec12f0 [INFO] testing maxjeffos/rust-neural-network-experiments 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%2Fmaxjeffos%2Frust-neural-network-experiments" "/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/maxjeffos/rust-neural-network-experiments [INFO] finished tweaking git repo https://github.com/maxjeffos/rust-neural-network-experiments [INFO] tweaked toml for git repo https://github.com/maxjeffos/rust-neural-network-experiments written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maxjeffos/rust-neural-network-experiments 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/maxjeffos/rust-neural-network-experiments 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ecfa39a9503ca3fe0be358ae5f8ced45d56e3207003490811cf13d8f5e22405 [INFO] running `Command { std: "docker" "start" "-a" "5ecfa39a9503ca3fe0be358ae5f8ced45d56e3207003490811cf13d8f5e22405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ecfa39a9503ca3fe0be358ae5f8ced45d56e3207003490811cf13d8f5e22405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ecfa39a9503ca3fe0be358ae5f8ced45d56e3207003490811cf13d8f5e22405", kill_on_drop: false }` [INFO] [stdout] 5ecfa39a9503ca3fe0be358ae5f8ced45d56e3207003490811cf13d8f5e22405 [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: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] 9b5500fe04a062a7c76d4132e054abc122b3c9292aa6ba7a47e5c5026e022f1d [INFO] running `Command { std: "docker" "start" "-a" "9b5500fe04a062a7c76d4132e054abc122b3c9292aa6ba7a47e5c5026e022f1d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling mnist v0.5.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [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 num-complex v0.4.0 [INFO] [stderr] Compiling autodiff v0.4.0 [INFO] [stderr] Compiling test1-autodiff v0.1.0 (/opt/rustwide/workdir/test1-autodiff) [INFO] [stdout] warning: function `e_to_the_x` is never used [INFO] [stdout] --> test1-autodiff/src/main.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn e_to_the_x(x: FT) -> FT { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling rand_distr v0.4.2 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: enum `Quadrant` is never used [INFO] [stdout] --> common/src/point.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Quadrant { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Quadrant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax` is never used [INFO] [stdout] --> common/src/softmax.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn softmax(logits: &[f64]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax_derivative` is never used [INFO] [stdout] --> common/src/softmax.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn softmax_derivative(logits: &[f64]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> common/src/linalg/mod.rs:714:27 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn iter_with<'a>(&'a self, other: &'a ColumnVector) -> IterWith { [INFO] [stdout] | ^^ ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 714 | pub fn iter_with<'a>(&'a self, other: &'a ColumnVector) -> IterWith<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling test5-playing-with-matrix-ideas v0.1.0 (/opt/rustwide/workdir/test5-playing-with-matrix-ideas) [INFO] [stderr] Compiling test3-simple-linear-regression v0.1.0 (/opt/rustwide/workdir/test3-simple-linear-regression) [INFO] [stderr] Compiling test4-multivariable-regression v0.1.0 (/opt/rustwide/workdir/test4-multivariable-regression) [INFO] [stdout] warning: enum `MultivariableRegressionError` is never used [INFO] [stdout] --> test4-multivariable-regression/src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum MultivariableRegressionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultivariableRegressionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InvalidDataError` is never used [INFO] [stdout] --> test4-multivariable-regression/src/main.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | enum InvalidDataError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidDataError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `predict` is never used [INFO] [stdout] --> test4-multivariable-regression/src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn predict(theta: &[f64], independant: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mnist-data v0.1.0 (/opt/rustwide/workdir/mnist-data) [INFO] [stderr] Compiling test2-mlp-classifier v0.1.0 (/opt/rustwide/workdir/test2-mlp-classifier) [INFO] [stdout] warning: variant `blue` should have an upper camel case name [INFO] [stdout] --> test2-mlp-classifier/src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | blue, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Blue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `orange` should have an upper camel case name [INFO] [stdout] --> test2-mlp-classifier/src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | orange, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Orange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray` [INFO] [stdout] --> test2-mlp-classifier/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> test2-mlp-classifier/src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultilayerPerceptron` is never constructed [INFO] [stdout] --> test2-mlp-classifier/src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct MultilayerPerceptron { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLPArchitecture` is never constructed [INFO] [stdout] --> test2-mlp-classifier/src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct MLPArchitecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> test2-mlp-classifier/src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl MLPArchitecture { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 21 | fn new(input_size: usize, hidden_layers: Vec, output_size: usize) -> Self { [INFO] [stdout] | ^^^ [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/rustchNRCCT/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-79d5ddf3f6eed9eb.rlib,librand_chacha-b8fa1281717b48e7.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-f5a7c99dc41a1a29.rlib,libgetrandom-d2b6e344dddd824c.rlib,liblibc-7253a04f790802a5.rlib,libcfg_if-66d55f6b302e88c8.rlib,libndarray-4e94af2850d4ba17.rlib,libmatrixmultiply-e76bf7fd3dbef351.rlib,libnum_complex-54a34803376653ef.rlib,libnum_integer-8016760829fd76e2.rlib,libnum_traits-364d999c07f2552e.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/rustchNRCCT/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/test2_mlp_classifier-c9fc52925baa9cff" "-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-d2b6e344dddd824c.rlib(getrandom-d2b6e344dddd824c.getrandom.16c0f50a993c899a-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.4/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hc7a2ecb2264fccc9E+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 `test2-mlp-classifier` (bin "test2-mlp-classifier") due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9b5500fe04a062a7c76d4132e054abc122b3c9292aa6ba7a47e5c5026e022f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5500fe04a062a7c76d4132e054abc122b3c9292aa6ba7a47e5c5026e022f1d", kill_on_drop: false }` [INFO] [stdout] 9b5500fe04a062a7c76d4132e054abc122b3c9292aa6ba7a47e5c5026e022f1d