rendarray 0.2.0-alpha

An N-dimensional array for elements of arbitrary type. Lightweight array views and slicing. The Array is copy-on-write and similar to numpy’s ndarray.
Build #1272651 2024-06-25 13:26:43

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.81.0-nightly (6b0f4b5ec 2024-06-24)

# docs.rs version docsrs 0.6.0 (bb8cd489 2024-06-24)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/rendarray-0.2.0-alpha/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/rendarray-0.2.0-alpha/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240624-1.81.0-nightly-6b0f4b5ec\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stdout] f9bfeb52ce7bab4af081a2f0e75b5a8b68e02499299e69beced067bdeef1c309 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f9bfeb52ce7bab4af081a2f0e75b5a8b68e02499299e69beced067bdeef1c309", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rendarray v0.2.0-alpha (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to check lib in package `rendarray` as a prerequisite for scraping examples from: example "matmul" [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rendarray` (lib) generated 1 warning [INFO] [stderr] Scraping rendarray v0.2.0-alpha (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to scan example "matmul" in package `rendarray` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rendarray` (example "matmul") generated 1 warning [INFO] [stderr] Documenting rendarray v0.2.0-alpha (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition value: `serde` [INFO] [stderr] --> src/lib.rs:38:7 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(feature = "serde")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `assign_ops` [INFO] [stderr] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rustc-serialize` [INFO] [stderr] --> src/lib.rs:40:7 [INFO] [stderr] | [INFO] [stderr] 40 | #[cfg(feature = "rustc-serialize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `assign_ops` [INFO] [stderr] = help: consider adding `rustc-serialize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nocomplex` [INFO] [stderr] --> src/lib.rs:44:11 [INFO] [stderr] | [INFO] [stderr] 44 | #[cfg(not(nocomplex))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nocomplex)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nocomplex)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `serde` [INFO] [stderr] --> src/lib.rs:67:7 [INFO] [stderr] | [INFO] [stderr] 67 | #[cfg(feature = "serde")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `assign_ops` [INFO] [stderr] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nocomplex` [INFO] [stderr] --> src/linalg.rs:48:11 [INFO] [stderr] | [INFO] [stderr] 48 | #[cfg(not(nocomplex))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nocomplex)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nocomplex)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rustc-serialize` [INFO] [stderr] --> src/arraytraits.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(feature = "rustc-serialize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `assign_ops` [INFO] [stderr] = help: consider adding `rustc-serialize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rustc-serialize` [INFO] [stderr] --> src/arraytraits.rs:155:7 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg(feature = "rustc-serialize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `assign_ops` [INFO] [stderr] = help: consider adding `rustc-serialize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rustc-serialize` [INFO] [stderr] --> src/arraytraits.rs:159:7 [INFO] [stderr] | [INFO] [stderr] 159 | #[cfg(feature = "rustc-serialize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `assign_ops` [INFO] [stderr] = help: consider adding `rustc-serialize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rustc-serialize` [INFO] [stderr] --> src/arraytraits.rs:188:7 [INFO] [stderr] | [INFO] [stderr] 188 | #[cfg(feature = "rustc-serialize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `assign_ops` [INFO] [stderr] = help: consider adding `rustc-serialize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dimension.rs:365:21 [INFO] [stderr] | [INFO] [stderr] 365 | impl RemoveAxis for ($from $(,$more)*) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 398 | impl_shrink_recursive!(Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix,); [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_shrink` which comes from the expansion of the macro `impl_shrink_recursive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dimension.rs:367:20 [INFO] [stderr] | [INFO] [stderr] 367 | type Smaller = ($($more),*); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 398 | impl_shrink_recursive!(Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix, Ix,); [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_shrink` which comes from the expansion of the macro `impl_shrink_recursive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stderr] --> src/lib.rs:165:62 [INFO] [stderr] | [INFO] [stderr] 165 | unsafe fn clone_with_ptr(&self, ptr: *mut Self::Elem) -> (Self, *mut Self::Elem); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stderr] help: consider further restricting `Self` [INFO] [stderr] | [INFO] [stderr] 165 | unsafe fn clone_with_ptr(&self, ptr: *mut Self::Elem) -> (Self, *mut Self::Elem) where Self: std::marker::Sized; [INFO] [stderr] | ++++++++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] warning: `rendarray` (lib doc) generated 11 warnings [INFO] [stderr] error: could not document `rendarray` [INFO] running `Command { std: "docker" "inspect" "f9bfeb52ce7bab4af081a2f0e75b5a8b68e02499299e69beced067bdeef1c309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9bfeb52ce7bab4af081a2f0e75b5a8b68e02499299e69beced067bdeef1c309", kill_on_drop: false }` [INFO] [stdout] f9bfeb52ce7bab4af081a2f0e75b5a8b68e02499299e69beced067bdeef1c309