[INFO] fetching crate zenu-matrix 0.1.2... [INFO] testing zenu-matrix-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate zenu-matrix 0.1.2 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zenu-matrix 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 177 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zenu-cuda-kernel-sys v0.1.0 [INFO] [stderr] Downloaded zenu-cublas-sys v0.1.0 [INFO] [stderr] Downloaded zenu-cudnn-sys v0.1.0 [INFO] [stderr] Downloaded openblas-build v0.10.12 [INFO] [stderr] Downloaded zenu-cuda-driver-sys v0.1.0 [INFO] [stderr] Downloaded zenu-cuda-config v0.1.0 [INFO] [stderr] Downloaded zenu-cuda v0.1.0 [INFO] [stderr] Downloaded openblas-src v0.10.12 [INFO] [stderr] Downloaded zenu-cuda-runtime-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 224dbf1a0d0ae7f7ed815c3ca7627b64c8fc8e86a3eb79ad7be224f73eb95d08 [INFO] running `Command { std: "docker" "start" "-a" "224dbf1a0d0ae7f7ed815c3ca7627b64c8fc8e86a3eb79ad7be224f73eb95d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "224dbf1a0d0ae7f7ed815c3ca7627b64c8fc8e86a3eb79ad7be224f73eb95d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "224dbf1a0d0ae7f7ed815c3ca7627b64c8fc8e86a3eb79ad7be224f73eb95d08", kill_on_drop: false }` [INFO] [stdout] 224dbf1a0d0ae7f7ed815c3ca7627b64c8fc8e86a3eb79ad7be224f73eb95d08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9676be80136b0efcf9a6e9c918009b64bf3fbc90c62141c300fb5ebebf004981 [INFO] running `Command { std: "docker" "start" "-a" "9676be80136b0efcf9a6e9c918009b64bf3fbc90c62141c300fb5ebebf004981", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling webpki-root-certs v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling cblas v0.4.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling ureq-proto v0.5.1 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ureq v3.1.0 [INFO] [stderr] Compiling openblas-build v0.10.12 [INFO] [stderr] Compiling openblas-src v0.10.12 [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 15.00s [INFO] running `Command { std: "docker" "inspect" "9676be80136b0efcf9a6e9c918009b64bf3fbc90c62141c300fb5ebebf004981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9676be80136b0efcf9a6e9c918009b64bf3fbc90c62141c300fb5ebebf004981", kill_on_drop: false }` [INFO] [stdout] 9676be80136b0efcf9a6e9c918009b64bf3fbc90c62141c300fb5ebebf004981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4426587a180e22e722b767dd410ac8c90e3b4f389aa5412d52b920835153d08 [INFO] running `Command { std: "docker" "start" "-a" "f4426587a180e22e722b767dd410ac8c90e3b4f389aa5412d52b920835153d08", kill_on_drop: false }` [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ureq-proto v0.5.1 [INFO] [stderr] Compiling ureq v3.1.0 [INFO] [stderr] Compiling openblas-build v0.10.12 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling openblas-src v0.10.12 [INFO] [stderr] Compiling zenu-matrix v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling 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)]` (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] error: could not compile `zenu-matrix` (test "rnn") due to 2 previous errors; 4 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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" "f4426587a180e22e722b767dd410ac8c90e3b4f389aa5412d52b920835153d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4426587a180e22e722b767dd410ac8c90e3b4f389aa5412d52b920835153d08", kill_on_drop: false }` [INFO] [stdout] f4426587a180e22e722b767dd410ac8c90e3b4f389aa5412d52b920835153d08