[INFO] fetching crate zenu-matrix 0.1.2... [INFO] testing zenu-matrix-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate zenu-matrix 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate zenu-matrix 0.1.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zenu-matrix 0.1.2 [INFO] tweaked toml for crates.io crate zenu-matrix 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zenu-matrix 0.1.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 188 packages to latest compatible versions [INFO] [stderr] Adding cblas v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding criterion v0.5.1 (available: v0.8.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.1) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f908e23bcc9bdab873622a984cc8203672224b733ae2445d97ec51e5e928e80a [INFO] running `Command { std: "docker" "start" "-a" "f908e23bcc9bdab873622a984cc8203672224b733ae2445d97ec51e5e928e80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f908e23bcc9bdab873622a984cc8203672224b733ae2445d97ec51e5e928e80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f908e23bcc9bdab873622a984cc8203672224b733ae2445d97ec51e5e928e80a", kill_on_drop: false }` [INFO] [stdout] f908e23bcc9bdab873622a984cc8203672224b733ae2445d97ec51e5e928e80a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21f4e3bfc8d9cc35b3f647588e217ca306f18ec76652fe07d8e5513e6a12bb5c [INFO] running `Command { std: "docker" "start" "-a" "21f4e3bfc8d9cc35b3f647588e217ca306f18ec76652fe07d8e5513e6a12bb5c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling pem-rfc7468 v1.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling webpki-root-certs v1.0.7 [INFO] [stderr] Compiling der v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling filetime v0.2.27 [INFO] [stderr] Compiling utf8-zero v0.8.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling ureq-proto v0.6.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling tar v0.4.45 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling cblas v0.4.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ureq v3.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling openblas-build v0.10.15 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling openblas-src v0.10.15 [INFO] [stderr] Compiling zenu-matrix v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/nn/batch_norm.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new(dim: DimDyn) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/nn/dropout.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn gpu_init(&mut self, shape: DimDyn) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> src/nn/pool2d.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | kernel: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/nn/pool2d.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | stride: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/nn/pool2d.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | padding: (usize, usize), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_shape` [INFO] [stdout] --> src/nn/pool2d.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | input_shape: (usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_shape` [INFO] [stdout] --> src/nn/pool2d.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | output_shape: (usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/nn/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl NNCache { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 21 | pub(crate) fn new(bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.90s [INFO] running `Command { std: "docker" "inspect" "21f4e3bfc8d9cc35b3f647588e217ca306f18ec76652fe07d8e5513e6a12bb5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f4e3bfc8d9cc35b3f647588e217ca306f18ec76652fe07d8e5513e6a12bb5c", kill_on_drop: false }` [INFO] [stdout] 21f4e3bfc8d9cc35b3f647588e217ca306f18ec76652fe07d8e5513e6a12bb5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 496c451086cf01680c4805262678b47241c077027a20bb7b491a22f02bb095ea [INFO] running `Command { std: "docker" "start" "-a" "496c451086cf01680c4805262678b47241c077027a20bb7b491a22f02bb095ea", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling ureq-proto v0.6.0 [INFO] [stderr] Compiling ureq v3.3.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling openblas-build v0.10.15 [INFO] [stderr] Compiling openblas-src v0.10.15 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling zenu-matrix v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/nn/batch_norm.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new(dim: DimDyn) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/nn/dropout.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn gpu_init(&mut self, shape: DimDyn) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> src/nn/pool2d.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | kernel: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/nn/pool2d.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | stride: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/nn/pool2d.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | padding: (usize, usize), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_shape` [INFO] [stdout] --> src/nn/pool2d.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | input_shape: (usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_shape` [INFO] [stdout] --> src/nn/pool2d.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | output_shape: (usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/nn/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl NNCache { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 21 | pub(crate) fn new(bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> tests/rnn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zenu_test::assert_mat_eq_epsilon; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> tests/rnn.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use zenu_test::read_test_case_from_json_val; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/rnn.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zenu_matrix::device::cpu::Cpu` [INFO] [stdout] --> tests/rnn.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use zenu_matrix::device::cpu::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zenu_matrix::matrix::Owned` [INFO] [stdout] --> tests/rnn.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use zenu_matrix::matrix::Owned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dim::DimDyn` and `matrix::Matrix` [INFO] [stdout] --> tests/rnn.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use zenu_matrix::{dim::DimDyn, matrix::Matrix}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zenu-matrix` (test "rnn") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/nn/conv2d/conv2d_cpu_impl.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use zenu_test::assert_mat_eq_epsilon; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/nn/conv2d/deconv2d_cpu_impl.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use zenu_test::assert_mat_eq_epsilon; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/nn/im2col.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use zenu_test::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/impl_serde.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | use zenu_test::assert_mat_eq_epsilon; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/nn/batch_norm.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | use zenu_test::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/nn/conv2d/mod.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | use zenu_test::{assert_mat_eq_epsilon, run_mat_test}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/nn/dropout.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | use zenu_test::run_mat_test; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/nn/pool2d.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | use zenu_test::{assert_mat_eq_epsilon, run_mat_test}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/operation/max.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | use zenu_test::{assert_mat_eq_epsilon, run_mat_test}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/operation/relu.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use zenu_test::{assert_mat_eq_epsilon, run_mat_test}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/operation/split.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use zenu_test::{assert_mat_eq_epsilon, run_mat_test}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zenu_test` [INFO] [stdout] --> src/operation/stack.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use zenu_test::{assert_mat_eq_epsilon, run_mat_test}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `zenu_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zenu_test`, use `cargo add zenu_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | assert_mat_eq_epsilon!(y_out.to_ref(), inputs.y.to_ref(), 2e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | assert_mat_eq_epsilon!(mean_out.to_ref(), inputs.mean.to_ref(), 2e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | assert_mat_eq_epsilon!(variance_out.to_ref(), inputs.variance.to_ref(), 2e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:876:9 [INFO] [stdout] | [INFO] [stdout] 876 | assert_mat_eq_epsilon!(saved_mean_out.to_ref(), inputs.saved_mean.to_ref(), 2e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:877:9 [INFO] [stdout] | [INFO] [stdout] 877 | assert_mat_eq_epsilon!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `run_mat_test` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:883:5 [INFO] [stdout] | [INFO] [stdout] 883 | run_mat_test!(small_foward, small_forward_cpu, small_forward_gpu); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:989:9 [INFO] [stdout] | [INFO] [stdout] 989 | assert_mat_eq_epsilon!(x_grad.to_ref(), x_grad_ans.to_ref(), 2e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:990:9 [INFO] [stdout] | [INFO] [stdout] 990 | assert_mat_eq_epsilon!(scale_grad.to_ref(), scale_grad_ans.to_ref(), 2e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:991:9 [INFO] [stdout] | [INFO] [stdout] 991 | assert_mat_eq_epsilon!(bias_grad.to_ref(), bias_grad_ans.to_ref(), 2e-4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `run_mat_test` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:993:5 [INFO] [stdout] | [INFO] [stdout] 993 | run_mat_test!(small_backward, small_backward_cpu, small_backward_gpu); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:1009:9 [INFO] [stdout] | [INFO] [stdout] 1009 | assert_mat_eq_epsilon!(y_out.to_ref(), inputs.y.to_ref(), 3e-3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `run_mat_test` in this scope [INFO] [stdout] --> src/nn/batch_norm.rs:1011:5 [INFO] [stdout] | [INFO] [stdout] 1011 | run_mat_test!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/im2col.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | assert_mat_eq_epsilon!(res.col, test_case.ans, 1e-6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | test_im2col!(small_test_case, small); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_im2col` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_mat_eq_epsilon` in this scope [INFO] [stdout] --> src/nn/im2col.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | assert_mat_eq_epsilon!(res.col, test_case.ans, 1e-6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | test_im2col!(medium_test_case, medium); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_im2col` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/nn/batch_norm.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new(dim: DimDyn) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/nn/dropout.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn gpu_init(&mut self, shape: DimDyn) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> src/nn/pool2d.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | kernel: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/nn/pool2d.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | stride: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/nn/pool2d.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | padding: (usize, usize), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_shape` [INFO] [stdout] --> src/nn/pool2d.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | input_shape: (usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_shape` [INFO] [stdout] --> src/nn/pool2d.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | output_shape: (usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zenu-matrix` (lib test) due to 26 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "496c451086cf01680c4805262678b47241c077027a20bb7b491a22f02bb095ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "496c451086cf01680c4805262678b47241c077027a20bb7b491a22f02bb095ea", kill_on_drop: false }` [INFO] [stdout] 496c451086cf01680c4805262678b47241c077027a20bb7b491a22f02bb095ea