rendarray 0.2.0-alpha.8

An N-dimensional array. NOTE: CRATE NAME CHANGED TO `ndarray`. Having package name non equal to crate name ran into many quirks of various tools. Changing the package name is easier for everyone involved! New name is `ndarray`.
Build #1272658 2024-06-25T13:27:30.812156+00:00
# 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.8/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/rendarray-0.2.0-alpha.8/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] df02a1cbabb9c5d9156ae54ef3a53378a3e176c02d7b279b031e1286030251e9
[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" "df02a1cbabb9c5d9156ae54ef3a53378a3e176c02d7b279b031e1286030251e9", 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.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `rendarray` as a prerequisite for scraping examples from: example "life"
[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.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "life" 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 "life") generated 1 warning
[INFO] [stderr]  Documenting rendarray v0.2.0-alpha.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `has_deprecated`
[INFO] [stderr]  --> src/lib.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | #![cfg_attr(has_deprecated, feature(deprecated))]
[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(has_deprecated)'] }
[INFO] [stderr]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `serde`
[INFO] [stderr]   --> src/lib.rs:58:7
[INFO] [stderr]    |
[INFO] [stderr] 58 | #[cfg(feature = "serde")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `assign_ops`, `rblas`, and `rustc-serialize`
[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/lib.rs:64:11
[INFO] [stderr]    |
[INFO] [stderr] 64 | #[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: `serde`
[INFO] [stderr]   --> src/lib.rs:95:7
[INFO] [stderr]    |
[INFO] [stderr] 95 | #[cfg(feature = "serde")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `assign_ops`, `rblas`, and `rustc-serialize`
[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: unnecessary parentheses around type
[INFO] [stderr]    --> src/dimension.rs:404:21
[INFO] [stderr]     |
[INFO] [stderr] 404 | impl RemoveAxis for ($from $(,$more)*)
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 437 | 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:406:20
[INFO] [stderr]     |
[INFO] [stderr] 406 |     type Smaller = ($($more),*);
[INFO] [stderr]     |                    ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 437 | 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] warning: unexpected `cfg` condition name: `has_deprecated`
[INFO] [stderr]    --> src/lib.rs:494:16
[INFO] [stderr]     |
[INFO] [stderr] 494 |     #[cfg_attr(has_deprecated, deprecated(note="use ArrayBase::linspace() instead"))]
[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(has_deprecated)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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 name: `has_deprecated`
[INFO] [stderr]    --> src/lib.rs:839:16
[INFO] [stderr]     |
[INFO] [stderr] 839 |     #[cfg_attr(has_deprecated, deprecated(note="use .slice_mut() instead"))]
[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(has_deprecated)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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 name: `has_deprecated`
[INFO] [stderr]    --> src/lib.rs:861:16
[INFO] [stderr]     |
[INFO] [stderr] 861 |     #[cfg_attr(has_deprecated, deprecated(note="use .get() instead"))]
[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(has_deprecated)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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 name: `has_deprecated`
[INFO] [stderr]    --> src/lib.rs:879:16
[INFO] [stderr]     |
[INFO] [stderr] 879 |     #[cfg_attr(has_deprecated, deprecated(note="use .get_mut() instead"))]
[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(has_deprecated)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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 name: `has_deprecated`
[INFO] [stderr]    --> src/lib.rs:899:16
[INFO] [stderr]     |
[INFO] [stderr] 899 |     #[cfg_attr(has_deprecated, deprecated(note="use .uget() instead"))]
[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(has_deprecated)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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 name: `has_deprecated`
[INFO] [stderr]    --> src/lib.rs:922:16
[INFO] [stderr]     |
[INFO] [stderr] 922 |     #[cfg_attr(has_deprecated, deprecated(note="use .uget_mut() instead"))]
[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(has_deprecated)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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 name: `has_deprecated`
[INFO] [stderr]     --> src/lib.rs:1029:16
[INFO] [stderr]      |
[INFO] [stderr] 1029 |     #[cfg_attr(has_deprecated, deprecated(note="use .subview_mut() instead"))]
[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(has_deprecated)'] }
[INFO] [stderr]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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 name: `has_deprecated`
[INFO] [stderr]     --> src/lib.rs:1123:16
[INFO] [stderr]      |
[INFO] [stderr] 1123 |     #[cfg_attr(has_deprecated, deprecated(note="use .diag_mut() instead"))]
[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(has_deprecated)'] }
[INFO] [stderr]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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 name: `has_deprecated`
[INFO] [stderr]     --> src/lib.rs:1381:16
[INFO] [stderr]      |
[INFO] [stderr] 1381 |     #[cfg_attr(has_deprecated, deprecated(note="use .broadcast() instead"))]
[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(has_deprecated)'] }
[INFO] [stderr]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_deprecated)");` 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] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stderr]    --> src/lib.rs:329:62
[INFO] [stderr]     |
[INFO] [stderr] 329 |     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] 329 |     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 16 warnings
[INFO] [stderr] error: could not document `rendarray`
[INFO] running `Command { std: "docker" "inspect" "df02a1cbabb9c5d9156ae54ef3a53378a3e176c02d7b279b031e1286030251e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df02a1cbabb9c5d9156ae54ef3a53378a3e176c02d7b279b031e1286030251e9", kill_on_drop: false }`
[INFO] [stdout] df02a1cbabb9c5d9156ae54ef3a53378a3e176c02d7b279b031e1286030251e9