[INFO] fetching crate kn0sys_ndarray 0.17.1... [INFO] checking kn0sys_ndarray-0.17.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate kn0sys_ndarray 0.17.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate kn0sys_ndarray 0.17.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate kn0sys_ndarray 0.17.1 [INFO] tweaked toml for crates.io crate kn0sys_ndarray 0.17.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kn0sys_ndarray 0.17.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kn0sys_ndarray 0.17.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-tree v0.3.3 [INFO] [stderr] Downloaded cblas-sys v0.2.0 [INFO] [stderr] Downloaded defmac v0.2.1 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80d7702b134f8c8008f17a676a670ad58679ae781e92a68de209fb96a299d179 [INFO] running `Command { std: "docker" "start" "-a" "80d7702b134f8c8008f17a676a670ad58679ae781e92a68de209fb96a299d179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80d7702b134f8c8008f17a676a670ad58679ae781e92a68de209fb96a299d179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d7702b134f8c8008f17a676a670ad58679ae781e92a68de209fb96a299d179", kill_on_drop: false }` [INFO] [stdout] 80d7702b134f8c8008f17a676a670ad58679ae781e92a68de209fb96a299d179 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 173b09e24abf70be5d1e3d8bccc773a1d3a9f7d66cb0ea69f7e486989ff89eb9 [INFO] running `Command { std: "docker" "start" "-a" "173b09e24abf70be5d1e3d8bccc773a1d3a9f7d66cb0ea69f7e486989ff89eb9", kill_on_drop: false }` [INFO] [stderr] warning: profile package spec `blas-tests` in profile `test` did not match any packages [INFO] [stderr] warning: profile package spec `numeric-tests` in profile `test` did not match any packages [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking defmac v0.2.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking kn0sys_ndarray v0.17.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Dimension` and `IxDyn` [INFO] [stdout] --> src/dimension/mod.rs:805:22 [INFO] [stdout] | [INFO] [stdout] 805 | use crate::{Dim, Dimension, Ix0, Ix1, Ix2, Ix3, IxDyn, NewAxis}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] --> benches/gemv_gemm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] --> benches/gemv_gemm.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ndarray::linalg::general_mat_mul; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] --> benches/gemv_gemm.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ndarray::linalg::general_mat_vec_mul; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> benches/gemv_gemm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ndarray::LinalgScalar; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] --> benches/construct.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> benches/zip.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::s; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> benches/zip.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ndarray::IntoNdProducer; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> benches/zip.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::{Array3, ShapeBuilder, Zip}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] --> benches/chunks.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> benches/chunks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::NdProducer; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `s` in this scope [INFO] [stdout] --> benches/construct.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let av = a.slice(s![.., ..;2]); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use kn0sys_ndarray::s; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kn0sys_ndarray` (bench "zip") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/construct.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | bench.iter(|| Array::::default((128, 128))) [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 6 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/construct.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | bench.iter(|| Array::::zeros((128, 128))) [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 6 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/construct.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let a = Array::linspace(0., 127., 128) [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 6 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/construct.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let a = Array::linspace(0., 127., 256) [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 6 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kn0sys_ndarray` (bench "construct") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let a = Array::zeros((64, 64)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let x = Array::zeros(n); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut y = Array::zeros(m); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let a = Array::zeros((64, 64).f()); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let x = Array::zeros(n); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut y = Array::zeros(m); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let a = Array::zeros((64, 32)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let x = Array::zeros(n); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut y = Array::zeros(m); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let a = Array::, _>::zeros((m, k)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let x = Array::zeros((k, n)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/gemv_gemm.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut y = Array::zeros((m, n)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `azip` in this scope [INFO] [stdout] --> benches/chunks.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | azip!((a in a.exact_chunks(chunksz), sum in &mut sum) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::azip; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `azip` in this scope [INFO] [stdout] --> benches/chunks.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | azip!((a in a.exact_chunks(chunksz), sum in &mut sum) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::azip; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndarray_gen` [INFO] [stdout] --> tests/oper.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ndarray_gen::array_builder::ArrayBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `ndarray_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray_gen`, use `cargo add ndarray_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kn0sys_ndarray` (bench "gemv_gemm") due to 16 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let a = Array::::zeros((256, 256)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut sum = Array::zeros(a.exact_chunks(chunksz).raw_dim()); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let a = Array::::zeros((256, 256)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let mut sum = Array::zeros(a.exact_chunks(chunksz).raw_dim()); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let a = Array::::zeros((256, 256)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let mut sum = Array::::zeros(a.exact_chunks(chunksz).raw_dim()); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let a = Array::::zeros((256, 256)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let mut sum = Array::::zeros(a.exact_chunks(chunksz).raw_dim()); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let a = Array::::zeros((256, 256)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/chunks.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | let mut sum = Array::::zeros(a.exact_chunks(chunksz).raw_dim()); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> tests/oper.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kn0sys_ndarray` (bench "chunks") due to 14 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] --> benches/iter.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> benches/iter.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ndarray::Slice; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> benches/iter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ndarray::{FoldWhile, Zip}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndarray` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray`, use `cargo add ndarray` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `s` in this scope [INFO] [stdout] --> benches/iter.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let av = a.slice(s![1..-1, 1..-1]); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::s; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `s` in this scope [INFO] [stdout] --> benches/iter.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let av = a.slice(s![1..-1, 1..-1]); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::s; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `s` in this scope [INFO] [stdout] --> benches/iter.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let b = b.slice(s![.., ..;2]); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::s; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `s` in this scope [INFO] [stdout] --> benches/iter.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let b = b.slice(s![.., ..;2]); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::s; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `azip` in this scope [INFO] [stdout] --> benches/iter.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | azip!((&a in &a, &b in &b, &c in &c) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::azip; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `azip` in this scope [INFO] [stdout] --> benches/iter.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | azip!((&a in &a, &b in &b, c in &mut c) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::azip; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let a = Array::::zeros((64, 64)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let a = Array::::zeros((66, 66)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let a = Array::::zeros((66, 66)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let a = Array::::zeros((66, 66)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let a = Array::linspace(0., 1., 256) [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let a = Array::linspace(0., 1., 256) [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let a = Array::linspace(0., 1., 256) [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let a = Array::linspace(0., 1., 256) [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let a = Array::linspace(0., 1., 512); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let mut a = Array::linspace(0., 1., 1024); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Axis` in this scope [INFO] [stdout] --> benches/iter.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | a.slice_axis_inplace(Axis(0), Slice::new(0, None, 2)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Axis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut a = Array::::zeros(I2DSZ * I2DSZ); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | let mut a = Array::::zeros(I2DSZ * I2DSZ); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let mut a = Array::::zeros((I2DSZ, I2DSZ)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | let mut a = Array::::zeros((I2DSZ, I2DSZ)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let mut a = Array::::zeros((ISZ, ISZ, ISZ)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | let mut a = Array::::zeros((ISZ, ISZ, ISZ)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | let mut a = Array::::zeros((ISZ, ISZ, ISZ)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut a = Array::::ones(10240); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Axis` in this scope [INFO] [stdout] --> benches/iter.rs:370:26 [INFO] [stdout] | [INFO] [stdout] 370 | a.slice_axis_inplace(Axis(0), Slice::new(0, None, 2)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Axis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let mut a = Array::::ones(10240); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Axis` in this scope [INFO] [stdout] --> benches/iter.rs:378:26 [INFO] [stdout] | [INFO] [stdout] 378 | a.slice_axis_inplace(Axis(0), Slice::new(0, None, 2)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Axis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | let a = Array::::zeros((64, 64)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Axis` in this scope [INFO] [stdout] --> benches/iter.rs:386:31 [INFO] [stdout] | [INFO] [stdout] 386 | bench.iter(|| a.axis_iter(Axis(0)).map(|plane| plane.sum()).sum::()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Axis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | let a = Array::::zeros((64, 64)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Axis` in this scope [INFO] [stdout] --> benches/iter.rs:394:28 [INFO] [stdout] | [INFO] [stdout] 394 | a.axis_chunks_iter(Axis(0), 1) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Axis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> benches/iter.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | let a = Array::::zeros((64, 64)); [INFO] [stdout] | ^^^^^ use of undeclared type `Array` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Axis` in this scope [INFO] [stdout] --> benches/iter.rs:405:28 [INFO] [stdout] | [INFO] [stdout] 405 | a.axis_chunks_iter(Axis(0), 5) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Axis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array3` in this scope [INFO] [stdout] --> benches/iter.rs:411:28 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn zip_mut_with(data: &Array3, out: &mut Array3) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array3` in this scope [INFO] [stdout] --> benches/iter.rs:411:51 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn zip_mut_with(data: &Array3, out: &mut Array3) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array3` in this scope [INFO] [stdout] --> benches/iter.rs:421:15 [INFO] [stdout] | [INFO] [stdout] 421 | let data: Array3 = Array3::zeros((ISZ, ISZ, ISZ)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array3` [INFO] [stdout] --> benches/iter.rs:421:29 [INFO] [stdout] | [INFO] [stdout] 421 | let data: Array3 = Array3::zeros((ISZ, ISZ, ISZ)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Array3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array3` [INFO] [stdout] --> benches/iter.rs:422:19 [INFO] [stdout] | [INFO] [stdout] 422 | let mut out = Array3::zeros(data.dim()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Array3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array3` in this scope [INFO] [stdout] --> benches/iter.rs:429:15 [INFO] [stdout] | [INFO] [stdout] 429 | let data: Array3 = Array3::zeros((ISZ, ISZ, ISZ).f()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array3` [INFO] [stdout] --> benches/iter.rs:429:29 [INFO] [stdout] | [INFO] [stdout] 429 | let data: Array3 = Array3::zeros((ISZ, ISZ, ISZ).f()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Array3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array3` [INFO] [stdout] --> benches/iter.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | let mut out = Array3::zeros(data.dim().f()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Array3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use kn0sys_ndarray::Array3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `f` found for tuple `(usize, usize, usize)` in the current scope [INFO] [stdout] --> benches/iter.rs:429:59 [INFO] [stdout] | [INFO] [stdout] 429 | let data: Array3 = Array3::zeros((ISZ, ISZ, ISZ).f()); [INFO] [stdout] | ^ method not found in `(usize, usize, usize)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/shape_builder.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn f(self) -> Shape; [INFO] [stdout] | - the method is available for `(usize, usize, usize)` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ShapeBuilder` which provides `f` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use kn0sys_ndarray::ShapeBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kn0sys_ndarray` (bench "iter") due to 46 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kn0sys_ndarray` (test "oper") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "173b09e24abf70be5d1e3d8bccc773a1d3a9f7d66cb0ea69f7e486989ff89eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "173b09e24abf70be5d1e3d8bccc773a1d3a9f7d66cb0ea69f7e486989ff89eb9", kill_on_drop: false }` [INFO] [stdout] 173b09e24abf70be5d1e3d8bccc773a1d3a9f7d66cb0ea69f7e486989ff89eb9