array_manipulation 0.4.1

Methods for manipuling arrays in a Vec-like fashion. It will (probably) get into core once const expressions get less experimental.
Documentation
Build #1626223 2025-01-15 09:58:55

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.86.0-nightly (8361aef0d 2025-01-14)# docs.rs version
docsrs 0.6.0 (13d4ccea 2025-01-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/array_manipulation-0.4.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/array_manipulation-0.4.1/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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250114-1.86.0-nightly-8361aef0d\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c32e70a3170c1434cf7d03f7e231d2ef947f2e591bf59bc310a9125fe8f8d9c3
[INFO] running `Command { std: "docker" "start" "-a" "c32e70a3170c1434cf7d03f7e231d2ef947f2e591bf59bc310a9125fe8f8d9c3", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting array_manipulation v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: const `impl` for trait `ArrayAdd` which is not marked with `#[const_trait]`
[INFO] [stderr]    --> src/lib.rs:124:31
[INFO] [stderr]     |
[INFO] [stderr] 124 | impl<T, const N: usize> const ArrayAdd<T, N> for [T; N] {
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr]     |
[INFO] [stderr]     = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr]     = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `ArrayAdd` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr]     |
[INFO] [stderr] 21  | #[const_trait] pub trait ArrayAdd<T, const N: usize>: Sized {
[INFO] [stderr]     | ++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error: const `impl` for trait `ArrayRemove` which is not marked with `#[const_trait]`
[INFO] [stderr]    --> src/lib.rs:172:37
[INFO] [stderr]     |
[INFO] [stderr] 172 | impl<T: Copy, const N: usize> const ArrayRemove<T, N> for [T; N] {
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr]     |
[INFO] [stderr]     = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr]     = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `ArrayRemove` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr]     |
[INFO] [stderr] 76  | #[const_trait] pub trait ArrayRemove<T, const N: usize>: Sized {
[INFO] [stderr]     | ++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error: could not document `array_manipulation`
[INFO] running `Command { std: "docker" "inspect" "c32e70a3170c1434cf7d03f7e231d2ef947f2e591bf59bc310a9125fe8f8d9c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c32e70a3170c1434cf7d03f7e231d2ef947f2e591bf59bc310a9125fe8f8d9c3", kill_on_drop: false }`
[INFO] [stdout] c32e70a3170c1434cf7d03f7e231d2ef947f2e591bf59bc310a9125fe8f8d9c3