[INFO] cloning repository https://github.com/tiberiusferreira/Autograd-Experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiberiusferreira/Autograd-Experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2FAutograd-Experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2FAutograd-Experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75d59203620a8b6a900bfc1250bc6c9585c7d501 [INFO] testing tiberiusferreira/Autograd-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%2Ftiberiusferreira%2FAutograd-Experiments" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tiberiusferreira/Autograd-Experiments [INFO] finished tweaking git repo https://github.com/tiberiusferreira/Autograd-Experiments [INFO] tweaked toml for git repo https://github.com/tiberiusferreira/Autograd-Experiments written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tiberiusferreira/Autograd-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/tiberiusferreira/Autograd-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: file `/workspace/builds/worker-5-tc2/source/examples/simple_training.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `simple_training` [INFO] [stderr] * `example` target `simple_training` [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] 8fa462455f2a522b177d1eb95ecbc94f282d3e3695cabfc84d6c45fa6838c663 [INFO] running `Command { std: "docker" "start" "-a" "8fa462455f2a522b177d1eb95ecbc94f282d3e3695cabfc84d6c45fa6838c663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fa462455f2a522b177d1eb95ecbc94f282d3e3695cabfc84d6c45fa6838c663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fa462455f2a522b177d1eb95ecbc94f282d3e3695cabfc84d6c45fa6838c663", kill_on_drop: false }` [INFO] [stdout] 8fa462455f2a522b177d1eb95ecbc94f282d3e3695cabfc84d6c45fa6838c663 [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] 6425cd5437b000f742c84efb38f2cbb3d0a7051ccc8237a1dadd8b4b4d8b77b7 [INFO] running `Command { std: "docker" "start" "-a" "6425cd5437b000f742c84efb38f2cbb3d0a7051ccc8237a1dadd8b4b4d8b77b7", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/simple_training.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `simple_training` [INFO] [stderr] * `example` target `simple_training` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling ndarray-rand v0.11.0 [INFO] [stderr] Compiling backprop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ops/logsoftmax.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | *self_grad = (self_grad.add(&out)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - *self_grad = (self_grad.add(&out)); [INFO] [stdout] 25 + *self_grad = self_grad.add(&out); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arr0` [INFO] [stdout] --> src/tensor_backends/ndarray_backend.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{arr1, ArrayBase, arr0}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NdArray` [INFO] [stdout] --> src/layers.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tensor_backends::{NdArray, TensorBackend}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops/relu.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut closure_input_data_clone = input.data().clone(); [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: unused variable: `dim` [INFO] [stdout] --> src/tensor_backends/indexing.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | for dim in 0..self.dims{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_grad` is never used [INFO] [stdout] --> src/ops/testing.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn validate_grad(input: TrackedTensor, computation: &dyn for<'b> Fn(&TrackedTensor<'b, T>) -> TrackedTensor<'b, ... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tape.rs:129:43 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn tensor_from_op_result_and_data(&self, op_result: T, op_data: OpData) -> TrackedTensor{ [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn tensor_from_op_result_and_data(&self, op_result: T, op_data: OpData) -> TrackedTensor<'_, T>{ [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/rustceHFdzQ/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbackprop-a047073e5912d500.rlib,libndarray_rand-cb70667df1a03bad.rlib,librand_distr-9c5b638e6263246e.rlib,librand-0836017355442c1b.rlib,librand_pcg-f2d82ea70d543608.rlib,librand_chacha-9227b11758550dcb.rlib,libc2_chacha-9e049181c203be6d.rlib,libppv_lite86-3db1eddbb11ee7cb.rlib,librand_core-0d599cdcb5104bc6.rlib,libgetrandom-2f9521d2c8de6121.rlib,liblibc-5f0a38b72422c5a5.rlib,libcfg_if-2d17986ae484e939.rlib,libndarray-bd19d36f3c315825.rlib,libmatrixmultiply-482b47bad5f02851.rlib,libnum_complex-cca03aca6f44b771.rlib,libnum_integer-e25f485ec5760a04.rlib,libitertools-4f95a965210de8d0.rlib,libeither-00eb09499d51fa78.rlib,libnum_traits-0bf7f32224c3660a.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/rustceHFdzQ/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/simple_training-fc71ba75294e9133" "-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-2f9521d2c8de6121.rlib(getrandom-2f9521d2c8de6121.getrandom.a078a8da6cd894b2-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.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h555172bb3adb5586E+0x79): 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 `backprop` (bin "simple_training") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6425cd5437b000f742c84efb38f2cbb3d0a7051ccc8237a1dadd8b4b4d8b77b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6425cd5437b000f742c84efb38f2cbb3d0a7051ccc8237a1dadd8b4b4d8b77b7", kill_on_drop: false }` [INFO] [stdout] 6425cd5437b000f742c84efb38f2cbb3d0a7051ccc8237a1dadd8b4b4d8b77b7