[INFO] fetching crate zenu-matrix 0.1.2... [INFO] checking zenu-matrix-0.1.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate zenu-matrix 0.1.2 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zenu-matrix 0.1.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 176 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.7.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 373bf8731484e886843ff8222b70efb077494e76832161223b04fc704e7d285c [INFO] running `Command { std: "docker" "start" "-a" "373bf8731484e886843ff8222b70efb077494e76832161223b04fc704e7d285c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "373bf8731484e886843ff8222b70efb077494e76832161223b04fc704e7d285c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "373bf8731484e886843ff8222b70efb077494e76832161223b04fc704e7d285c", kill_on_drop: false }` [INFO] [stdout] 373bf8731484e886843ff8222b70efb077494e76832161223b04fc704e7d285c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edbdb457fa3b1aa78ad25f47e9a8d3397a60cc5e6142584da9aee4499ea8df2e [INFO] running `Command { std: "docker" "start" "-a" "edbdb457fa3b1aa78ad25f47e9a8d3397a60cc5e6142584da9aee4499ea8df2e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling webpki-root-certs v1.0.2 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking cblas-sys v0.1.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Compiling ureq-proto v0.5.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking cblas v0.4.0 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling ureq v3.1.0 [INFO] [stderr] Compiling openblas-build v0.10.12 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Compiling openblas-src v0.10.12 [INFO] [stderr] Checking zenu-matrix v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [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)]` 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)]` 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)]` 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] [stdout] error[E0432]: unresolved imports `zenu_matrix::constructor::zeros::Zeros`, `zenu_matrix::matrix::ToViewMatrix`, `zenu_matrix::matrix::ToViewMutMatrix`, `zenu_matrix::matrix_impl`, `zenu_matrix::memory_impl`, `zenu_matrix::operation::copy_from::CopyFrom` [INFO] [stdout] --> benches/copy_from_all_matrix.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | constructor::zeros::Zeros, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Zeros` in `constructor::zeros` [INFO] [stdout] 4 | dim::DimDyn, [INFO] [stdout] 5 | matrix::{ToViewMatrix, ToViewMutMatrix}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `ToViewMutMatrix` in `matrix` [INFO] [stdout] | | [INFO] [stdout] | no `ToViewMatrix` in `matrix` [INFO] [stdout] 6 | matrix_impl::{Matrix, OwnedMatrixDyn}, [INFO] [stdout] | ^^^^^^^^^^^ could not find `matrix_impl` in `zenu_matrix` [INFO] [stdout] 7 | memory_impl::{ViewMem, ViewMutMem}, [INFO] [stdout] | ^^^^^^^^^^^ could not find `memory_impl` in `zenu_matrix` [INFO] [stdout] 8 | operation::copy_from::CopyFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CopyFrom` in `operation::copy_from` [INFO] [stdout] [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 imports `zenu_matrix::constructor::zeros::Zeros`, `zenu_matrix::matrix::AsPtr`, `zenu_matrix::matrix::MatrixSliceDyn`, `zenu_matrix::matrix::MatrixSliceMutDyn`, `zenu_matrix::matrix::ToViewMatrix`, `zenu_matrix::matrix::ToViewMutMatrix`, `zenu_matrix::matrix_impl`, `zenu_matrix::memory_impl`, `zenu_matrix::operation::copy_from::CopyFrom` [INFO] [stdout] --> benches/copy_from_im2col_way.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | constructor::zeros::Zeros, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Zeros` in `constructor::zeros` [INFO] [stdout] 4 | dim::DimDyn, [INFO] [stdout] 5 | matrix::{AsPtr, MatrixSliceDyn, MatrixSliceMutDyn, ToViewMatrix, ToViewMutMatrix}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `ToViewMutMatrix` in `matrix` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `ToViewMatrix` in `matrix` [INFO] [stdout] | | | no `MatrixSliceMutDyn` in `matrix` [INFO] [stdout] | | no `MatrixSliceDyn` in `matrix` [INFO] [stdout] | no `AsPtr` in `matrix` [INFO] [stdout] 6 | matrix_impl::{Matrix, OwnedMatrixDyn}, [INFO] [stdout] | ^^^^^^^^^^^ could not find `matrix_impl` in `zenu_matrix` [INFO] [stdout] 7 | memory_impl::{ViewMem, ViewMutMem}, [INFO] [stdout] | ^^^^^^^^^^^ could not find `memory_impl` in `zenu_matrix` [INFO] [stdout] 8 | operation::copy_from::CopyFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CopyFrom` in `operation::copy_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `zenu_matrix::constructor::zeros::Zeros`, `zenu_matrix::matrix::MatrixBase`, `zenu_matrix::matrix::MatrixSliceDyn`, `zenu_matrix::matrix::MatrixSliceMutDyn`, `zenu_matrix::matrix::ToViewMatrix`, `zenu_matrix::matrix::ToViewMutMatrix`, `zenu_matrix::matrix_impl`, `zenu_matrix::memory_impl`, `zenu_matrix::operation::copy_from::CopyFrom`, `zenu_matrix::operation::reshape::Reshape`, `zenu_matrix::operation::reshape::ReshapeMut`, `zenu_matrix::operation::transpose::TransposeInplace` [INFO] [stdout] --> benches/im2col_function.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | constructor::zeros::Zeros, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Zeros` in `constructor::zeros` [INFO] [stdout] 4 | dim::DimDyn, [INFO] [stdout] 5 | matrix::{MatrixBase, MatrixSliceDyn, MatrixSliceMutDyn, ToViewMatrix, ToViewMutMatrix}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `ToViewMutMatrix` in `matrix` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `ToViewMatrix` in `matrix` [INFO] [stdout] | | | no `MatrixSliceMutDyn` in `matrix` [INFO] [stdout] | | no `MatrixSliceDyn` in `matrix` [INFO] [stdout] | no `MatrixBase` in `matrix` [INFO] [stdout] 6 | matrix_impl::{Matrix, OwnedMatrixDyn}, [INFO] [stdout] | ^^^^^^^^^^^ could not find `matrix_impl` in `zenu_matrix` [INFO] [stdout] 7 | memory_impl::{OwnedMem, ViewMem}, [INFO] [stdout] | ^^^^^^^^^^^ could not find `memory_impl` in `zenu_matrix` [INFO] [stdout] ... [INFO] [stdout] 10 | copy_from::CopyFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `CopyFrom` in `operation::copy_from` [INFO] [stdout] 11 | reshape::{Reshape, ReshapeMut}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Reshape` in `operation::reshape` [INFO] [stdout] 12 | transpose::TransposeInplace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `zenu_matrix::constructor::zeros::Zeros`, `zenu_matrix::matrix::ToViewMatrix`, `zenu_matrix::matrix_impl`, `zenu_matrix::memory_impl`, `zenu_matrix::operation::reshape::Reshape`, `zenu_matrix::operation::transpose::TransposeInplace` [INFO] [stdout] --> benches/transpose_reshape_im2col.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | constructor::zeros::Zeros, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Zeros` in `constructor::zeros` [INFO] [stdout] 4 | dim::DimDyn, [INFO] [stdout] 5 | matrix::ToViewMatrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `ToViewMatrix` in `matrix` [INFO] [stdout] 6 | matrix_impl::{Matrix, OwnedMatrixDyn}, [INFO] [stdout] | ^^^^^^^^^^^ could not find `matrix_impl` in `zenu_matrix` [INFO] [stdout] 7 | memory_impl::ViewMem, [INFO] [stdout] | ^^^^^^^^^^^ could not find `memory_impl` in `zenu_matrix` [INFO] [stdout] 8 | operation::{reshape::Reshape, transpose::TransposeInplace}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TransposeInplace` in `operation::transpose` [INFO] [stdout] | | [INFO] [stdout] | no `Reshape` in `operation::reshape` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zenu-matrix` (bench "copy_from_all_matrix") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zenu-matrix` (bench "copy_from_im2col_way") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 61 | let oh = (h - kh + 2 * ph) / sh + 1; [INFO] [stdout] | ^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 61 | let oh = (h - kh + 2 * ph) / sh + 1; [INFO] [stdout] | ^^^^^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 61 | let oh = (h - kh + 2 * ph) / sh + 1; [INFO] [stdout] | ^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 61 | let oh = (h - kh + 2 * ph) / sh + 1; [INFO] [stdout] | ^ expected type parameter `T`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 62 | let ow = (w - kw + 2 * pw) / sw + 1; [INFO] [stdout] | ^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 62 | let ow = (w - kw + 2 * pw) / sw + 1; [INFO] [stdout] | ^^^^^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 62 | let ow = (w - kw + 2 * pw) / sw + 1; [INFO] [stdout] | ^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 62 | let ow = (w - kw + 2 * pw) / sw + 1; [INFO] [stdout] | ^ expected type parameter `T`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zenu-matrix` (bench "transpose_reshape_im2col") due to 1 previous error [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 77 | let col = col.reshape_mut([batch_size, c * kh * kw, oh * ow]); [INFO] [stdout] | ^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 77 | let col = col.reshape_mut([batch_size, c * kh * kw, oh * ow]); [INFO] [stdout] | ^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 79 | let col = col.reshape_new_matrix([c * kh * kw, batch_size * oh * ow]); [INFO] [stdout] | ^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/im2col_function.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn im2col( [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 79 | let col = col.reshape_new_matrix([c * kh * kw, batch_size * oh * ow]); [INFO] [stdout] | ^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zenu-matrix` (bench "im2col_function") due to 13 previous errors [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)]` 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" "edbdb457fa3b1aa78ad25f47e9a8d3397a60cc5e6142584da9aee4499ea8df2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbdb457fa3b1aa78ad25f47e9a8d3397a60cc5e6142584da9aee4499ea8df2e", kill_on_drop: false }` [INFO] [stdout] edbdb457fa3b1aa78ad25f47e9a8d3397a60cc5e6142584da9aee4499ea8df2e