[INFO] cloning repository https://github.com/kgtkr/zero-dl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kgtkr/zero-dl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkgtkr%2Fzero-dl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkgtkr%2Fzero-dl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97fc00fb1fe627e92a4675831bd536acbc9c239b [INFO] testing kgtkr/zero-dl 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%2Fkgtkr%2Fzero-dl" "/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/kgtkr/zero-dl [INFO] finished tweaking git repo https://github.com/kgtkr/zero-dl [INFO] tweaked toml for git repo https://github.com/kgtkr/zero-dl written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kgtkr/zero-dl 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/kgtkr/zero-dl 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] c9cadf7b1b91e78c2f26d38c63b03ae115ce1e76de45eabb33aa10d843537b18 [INFO] running `Command { std: "docker" "start" "-a" "c9cadf7b1b91e78c2f26d38c63b03ae115ce1e76de45eabb33aa10d843537b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9cadf7b1b91e78c2f26d38c63b03ae115ce1e76de45eabb33aa10d843537b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9cadf7b1b91e78c2f26d38c63b03ae115ce1e76de45eabb33aa10d843537b18", kill_on_drop: false }` [INFO] [stdout] c9cadf7b1b91e78c2f26d38c63b03ae115ce1e76de45eabb33aa10d843537b18 [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] da1a27e8b4d7ce5a7cbc68e51c6286fa3ae47cef3c5807062338abe6233c6a12 [INFO] running `Command { std: "docker" "start" "-a" "da1a27e8b4d7ce5a7cbc68e51c6286fa3ae47cef3c5807062338abe6233c6a12", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling frunk_core v0.3.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling svg v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling noisy_float v0.1.12 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.0.4 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling frunk_proc_macros_impl v0.0.4 [INFO] [stderr] Compiling frunk_derives v0.3.1 [INFO] [stderr] Compiling frunk_labelled_proc_macro v0.1.0 (https://github.com/kgtkr/frunk-labelled-proc-macro.git#2f2f89a2) [INFO] [stderr] Compiling frunk_proc_macros v0.0.4 [INFO] [stderr] Compiling frunk v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling plotlib v0.5.1 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling ndarray-rand v0.11.0 [INFO] [stderr] Compiling ndarray-stats v0.3.0 [INFO] [stderr] Compiling zero-dl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `frunk::traits::ToMut` [INFO] [stdout] --> src/layer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use frunk::traits::ToMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frunk::traits::ToMut` [INFO] [stdout] --> src/layers/affine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use frunk::traits::ToMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hlist`, `field`, and `hlist` [INFO] [stdout] --> src/layers/affine.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use frunk::{field, hlist, HNil, Hlist}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frunk::traits::ToMut` [INFO] [stdout] --> src/layers/variable.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use frunk::traits::ToMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frunk::traits::ToMut` [INFO] [stdout] --> src/layers/placeholder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use frunk::traits::ToMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frunk::traits::ToMut` [INFO] [stdout] --> src/layers/relu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use frunk::traits::ToMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frunk::traits::ToMut` [INFO] [stdout] --> src/layers/softmax_cross_entropy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use frunk::traits::ToMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/layers/softmax_cross_entropy.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / /** [INFO] [stdout] 25 | | * TODO: doutが1の時しか正常に動かない [INFO] [stdout] 26 | | * またdtは正常な値でない [INFO] [stdout] 27 | | */ [INFO] [stdout] | |___________^ [INFO] [stdout] 28 | / ( [INFO] [stdout] 29 | | record! { [INFO] [stdout] 30 | | x: dx, [INFO] [stdout] 31 | | t: Array2::zeros((0,0)) [INFO] [stdout] 32 | | }, [INFO] [stdout] 33 | | HNil, [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frunk::traits::ToMut` [INFO] [stdout] --> src/layers/convolution.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use frunk::traits::ToMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frunk::traits::ToMut` [INFO] [stdout] --> src/layers/pooling.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use frunk::traits::ToMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frunk::traits::ToMut` [INFO] [stdout] --> src/layers/n_dim_to_2dim.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use frunk::traits::ToMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConcatToMutIsToMutConcat` [INFO] [stdout] --> src/layer.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::hlist_extra::{Concat, ConcatIsInverseSplit, ConcatToMutIsToMutConcat, Split}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `col_W` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub col_W: Array2, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `col_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FN` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | let (FN, C, FH, FW) = self.weight.dim(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 30 - let (FN, C, FH, FW) = self.weight.dim(); [INFO] [stdout] 30 + let (r#fn, C, FH, FW) = self.weight.dim(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let (FN, C, FH, FW) = self.weight.dim(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FH` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let (FN, C, FH, FW) = self.weight.dim(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FW` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let (FN, C, FH, FW) = self.weight.dim(); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `fw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dW` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let dW = self.col.t().dot(&dout); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dW` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let dW = dW.t().to_shared().reshape((FN, C, FH, FW)).to_owned(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `d_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FN` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | let (FN, _C, FH, FW) = weight.dim(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 92 - let (FN, _C, FH, FW) = weight.dim(); [INFO] [stdout] 92 + let (r#fn, _C, FH, FW) = weight.dim(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_C` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | let (FN, _C, FH, FW) = weight.dim(); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FH` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let (FN, _C, FH, FW) = weight.dim(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `fh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FW` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | let (FN, _C, FH, FW) = weight.dim(); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `fw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | let (N, C, H, W) = x.dim(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let (N, C, H, W) = x.dim(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let (N, C, H, W) = x.dim(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | let (N, C, H, W) = x.dim(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `col_W` should have a snake case name [INFO] [stdout] --> src/layers/convolution.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let col_W = weight.to_shared().reshape((FN, C * FH * FW)).t().to_owned(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `col_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/layers/pooling.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | let (N, C, H, W) = x.dim(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/layers/pooling.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let (N, C, H, W) = x.dim(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/layers/pooling.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | let (N, C, H, W) = x.dim(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/layers/pooling.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let (N, C, H, W) = x.dim(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LabelledBackwards` [INFO] [stdout] --> src/main.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use zero_dl::layer::{Backward, LabelledBackwards, LabelledLayers, Layer, UnconnectedLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LabelledLayers` [INFO] [stdout] --> src/main.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | use zero_dl::layer::{Backward, LabelledBackwards, LabelledLayers, Layer, UnconnectedLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `learning_rate` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let learning_rate = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dvariables` [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let dvariables = backward.backward(1.); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dvariables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut variables = softmax_with_loss.initial_variables(); [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] 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/rustcPU3VCB/symbols.o" "<11 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libflate2-54b18c721418549b.rlib,libminiz_oxide-3e50a990e61b83f2.rlib,libadler32-d5b4eee2103fe4ae.rlib,libcrc32fast-061a844a3ae1fd0f.rlib,libzero_dl-ffa9c3a2ee8f8af2.rlib,libplotlib-97395b9e4292a465.rlib,libfailure-e8dcd6a37ace5078.rlib,libbacktrace-0fd2e9f819ee1e34.rlib,libobject-ceef6f2581f9ee92.rlib,libaddr2line-592e49278c2ffaf1.rlib,libgimli-65f31084cbd40463.rlib,librustc_demangle-dcc5b1758b30e405.rlib,libsvg-1a1288ee4de8ad62.rlib,libbyteorder-549def2b2525ef52.rlib,libndarray_stats-347ad0b890a3acbe.rlib,libindexmap-26cb6cde39a1cad6.rlib,libitertools-4f95a965210de8d0.rlib,libnoisy_float-d26102707ad836f8.rlib,libndarray_rand-0d509129e9aa59db.rlib,librand_distr-c0550db9251a00e7.rlib,librand-2ab588142428e148.rlib,librand_pcg-02ef04b098a1c070.rlib,librand_chacha-c8e57545cc206422.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-97d6b90a1fa16563.rlib,libgetrandom-99ad25133b0376fa.rlib,libfrunk-92351263809c58b7.rlib,libfrunk_core-a2fb89226194af62.rlib,libndarray-299d94e9a82f4a6f.rlib,libmatrixmultiply-482b47bad5f02851.rlib,libnum_complex-cca03aca6f44b771.rlib,librayon-ecdeaeb4ba601f1d.rlib,librayon_core-9e772c9217a167d2.rlib,libnum_cpus-5a88e878fe706260.rlib,liblibc-8c242142bf5979c3.rlib,libcrossbeam_queue-d356900e1e66c067.rlib,libcrossbeam_deque-4a26602fd4a0da00.rlib,libcrossbeam_epoch-923490f6abace6bc.rlib,libscopeguard-73056285f12cb829.rlib,libmemoffset-cd13a985edf38d49.rlib,libcrossbeam_utils-3fb9af92267ec0e2.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libmaybe_uninit-56cae5b1ed8837f0.rlib,libcfg_if-2d17986ae484e939.rlib,libeither-00eb09499d51fa78.rlib,libnum_integer-e25f485ec5760a04.rlib,libnum_traits-0bf7f32224c3660a.rlib,librawpointer-ee8696fe85e6dce4.rlib,libserde-17c9e3c746332c77.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/rustcPU3VCB/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/main-b3877127e7ea82f9" "-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-99ad25133b0376fa.rlib(getrandom-99ad25133b0376fa.getrandom.c6839bb42ca23352-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_readonly17he778326de60d23ceE+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 `zero-dl` (bin "main") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "da1a27e8b4d7ce5a7cbc68e51c6286fa3ae47cef3c5807062338abe6233c6a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1a27e8b4d7ce5a7cbc68e51c6286fa3ae47cef3c5807062338abe6233c6a12", kill_on_drop: false }` [INFO] [stdout] da1a27e8b4d7ce5a7cbc68e51c6286fa3ae47cef3c5807062338abe6233c6a12