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.88.0-nightly (d6c1e454a 2025-04-21)
# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/staticvec-0.11.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/staticvec-0.11.9/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "std serde" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250421-1.88.0-nightly-d6c1e454a\", \"--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] bcd6fc07e77479eec696c256ba72717126b51e3f164db262e2c851605ef91ee1 [INFO] running `Command { std: "docker" "start" "-a" "bcd6fc07e77479eec696c256ba72717126b51e3f164db262e2c851605ef91ee1", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting staticvec v0.11.9 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/lib.rs:88:28 [INFO] [stderr] | [INFO] [stderr] 88 | #[cfg(any(feature = "std", rustdoc))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` 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 name: `rustdoc` [INFO] [stderr] --> src/lib.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | #[cfg(any(feature = "std", rustdoc))] [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(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` 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: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stderr] --> src/lib.rs:53:3 [INFO] [stderr] | [INFO] [stderr] 53 | core_intrinsics, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: using it is strongly discouraged [INFO] [stderr] = note: `#[warn(internal_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/string/mod.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(all(feature = "std", rustdoc))] [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(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` 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: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_trait_impls.rs:262:28 [INFO] [stderr] | [INFO] [stderr] 262 | impl<const N: usize> const Index<RangeFull> for StaticString<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] [INFO] [stderr] error: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:495:31 [INFO] [stderr] | [INFO] [stderr] 495 | impl<T, const N: usize> const Index<usize> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:518:31 [INFO] [stderr] | [INFO] [stderr] 518 | impl<T, const N: usize> const IndexMut<usize> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:540:31 [INFO] [stderr] | [INFO] [stderr] 540 | impl<T, const N: usize> const Index<Range<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:554:31 [INFO] [stderr] | [INFO] [stderr] 554 | impl<T, const N: usize> const IndexMut<Range<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:572:31 [INFO] [stderr] | [INFO] [stderr] 572 | impl<T, const N: usize> const Index<RangeFrom<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:589:31 [INFO] [stderr] | [INFO] [stderr] 589 | impl<T, const N: usize> const IndexMut<RangeFrom<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:605:31 [INFO] [stderr] | [INFO] [stderr] 605 | impl<T, const N: usize> const Index<RangeFull> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:615:31 [INFO] [stderr] | [INFO] [stderr] 615 | impl<T, const N: usize> const IndexMut<RangeFull> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:624:31 [INFO] [stderr] | [INFO] [stderr] 624 | impl<T, const N: usize> const Index<RangeInclusive<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:638:31 [INFO] [stderr] | [INFO] [stderr] 638 | impl<T, const N: usize> const IndexMut<RangeInclusive<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:651:31 [INFO] [stderr] | [INFO] [stderr] 651 | impl<T, const N: usize> const Index<RangeTo<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:663:31 [INFO] [stderr] | [INFO] [stderr] 663 | impl<T, const N: usize> const IndexMut<RangeTo<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:674:31 [INFO] [stderr] | [INFO] [stderr] 674 | impl<T, const N: usize> const Index<RangeToInclusive<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:686:31 [INFO] [stderr] | [INFO] [stderr] 686 | impl<T, const N: usize> const IndexMut<RangeToInclusive<usize>> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:708:39 [INFO] [stderr] | [INFO] [stderr] 708 | impl<'a, T: 'a, const N: usize> const IntoIterator for &'a StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:719:39 [INFO] [stderr] | [INFO] [stderr] 719 | impl<'a, T: 'a, const N: usize> const IntoIterator for &'a mut StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:730:31 [INFO] [stderr] | [INFO] [stderr] 730 | impl<T, const N: usize> const IntoIterator for StaticVec<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] [INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stderr] --> src/lib.rs:1420:19 [INFO] [stderr] | [INFO] [stderr] 1420 | where T: Copy + ~const PartialOrd { [INFO] [stderr] | ^^^^^^ can't be applied to `core::cmp::PartialOrd` [INFO] [stderr] | [INFO] [stderr] note: `core::cmp::PartialOrd` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stderr] --> /rustc/d6c1e454aa8af5e7e59fbf5c4e7d3128d2f99582/library/core/src/cmp.rs:1340:1 [INFO] [stderr] [INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stderr] --> src/lib.rs:1455:19 [INFO] [stderr] | [INFO] [stderr] 1455 | where T: Copy + ~const PartialOrd { [INFO] [stderr] | ^^^^^^ can't be applied to `core::cmp::PartialOrd` [INFO] [stderr] | [INFO] [stderr] note: `core::cmp::PartialOrd` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stderr] --> /rustc/d6c1e454aa8af5e7e59fbf5c4e7d3128d2f99582/library/core/src/cmp.rs:1340:1 [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Clone` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/heap/heap_trait_impls.rs:25:37 [INFO] [stderr] | [INFO] [stderr] 25 | impl<T: Copy, const N: usize> const Clone for StaticHeap<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] [INFO] [stderr] error: const `impl` for trait `Clone` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_trait_impls.rs:74:28 [INFO] [stderr] | [INFO] [stderr] 74 | impl<const N: usize> const Clone for StaticString<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] [INFO] [stderr] error: const `impl` for trait `Clone` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:112:37 [INFO] [stderr] | [INFO] [stderr] 112 | impl<T: Copy, const N: usize> const Clone for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `AsRef` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_trait_impls.rs:46:28 [INFO] [stderr] | [INFO] [stderr] 46 | impl<const N: usize> const AsRef<str> for StaticString<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] [INFO] [stderr] error: const `impl` for trait `AsRef` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_trait_impls.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | impl<const N: usize> const AsRef<[u8]> for StaticString<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] [INFO] [stderr] error: const `impl` for trait `AsRef` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:54:31 [INFO] [stderr] | [INFO] [stderr] 54 | impl<T, const N: usize> const AsRef<[T]> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `AsMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_trait_impls.rs:39:28 [INFO] [stderr] | [INFO] [stderr] 39 | impl<const N: usize> const AsMut<str> for StaticString<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] [INFO] [stderr] error: const `impl` for trait `AsMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:47:31 [INFO] [stderr] | [INFO] [stderr] 47 | impl<T, const N: usize> const AsMut<[T]> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `Default` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/heap/heap_trait_impls.rs:47:36 [INFO] [stderr] | [INFO] [stderr] 47 | impl<T: Ord, const N: usize> const Default for StaticHeap<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] [INFO] [stderr] error: const `impl` for trait `Default` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_trait_impls.rs:106:28 [INFO] [stderr] | [INFO] [stderr] 106 | impl<const N: usize> const Default for StaticString<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] [INFO] [stderr] error: const `impl` for trait `Default` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:153:31 [INFO] [stderr] | [INFO] [stderr] 153 | impl<T, const N: usize> const Default for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/heap/heap_trait_impls.rs:199:31 [INFO] [stderr] | [INFO] [stderr] 199 | impl<T, const N: usize> const IntoIterator for StaticHeap<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] [INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/heap/heap_trait_impls.rs:225:35 [INFO] [stderr] | [INFO] [stderr] 225 | impl<'a, T, const N: usize> const IntoIterator for &'a StaticHeap<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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_errors.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl const From<DecodeUtf16Error> for StringError { [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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_errors.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 82 | impl const From<Utf8Error> for StringError { [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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_errors.rs:89:28 [INFO] [stderr] | [INFO] [stderr] 89 | impl<const N: usize> const From<CapacityError<N>> for StringError { [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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:362:37 [INFO] [stderr] | [INFO] [stderr] 362 | impl<T: Copy, const N: usize> const From<&[T]> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:371:37 [INFO] [stderr] | [INFO] [stderr] 371 | impl<T: Copy, const N: usize> const From<&mut [T]> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:389:31 [INFO] [stderr] | [INFO] [stderr] 389 | impl<T, const N: usize> const From<[T; N]> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:396:55 [INFO] [stderr] | [INFO] [stderr] 396 | impl<T: Copy, const N1: usize, const N2: usize> const From<&[T; N1]> for StaticVec<T, N2> { [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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:405:37 [INFO] [stderr] | [INFO] [stderr] 405 | impl<T: Copy, const N: usize> const From<&[T; N]> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:414:55 [INFO] [stderr] | [INFO] [stderr] 414 | impl<T: Copy, const N1: usize, const N2: usize> const From<&mut [T; N1]> for StaticVec<T, N2> { [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] [INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:423:37 [INFO] [stderr] | [INFO] [stderr] 423 | impl<T: Copy, const N: usize> const From<&mut [T; N]> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/heap/heap_trait_impls.rs:235:35 [INFO] [stderr] | [INFO] [stderr] 235 | impl<'a, T, const N: usize> const IntoIterator for &'a mut StaticHeap<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] [INFO] [stderr] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stderr] --> src/string/mod.rs:840:40 [INFO] [stderr] | [INFO] [stderr] 840 | pub fn remove_matches<'a, P: for<'x> Pattern<'x>>(&'a mut self, pat: P) { [INFO] [stderr] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 lifetime arguments [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Borrow` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_trait_impls.rs:60:28 [INFO] [stderr] | [INFO] [stderr] 60 | impl<const N: usize> const Borrow<str> for StaticString<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] [INFO] [stderr] error: const `impl` for trait `Borrow` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:61:31 [INFO] [stderr] | [INFO] [stderr] 61 | impl<T, const N: usize> const Borrow<[T]> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `BorrowMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_trait_impls.rs:67:28 [INFO] [stderr] | [INFO] [stderr] 67 | impl<const N: usize> const BorrowMut<str> for StaticString<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] [INFO] [stderr] error: const `impl` for trait `BorrowMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/trait_impls.rs:68:31 [INFO] [stderr] | [INFO] [stderr] 68 | impl<T, const N: usize> const BorrowMut<[T]> for StaticVec<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] [INFO] [stderr] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stderr] --> src/string/string_trait_impls.rs:271:28 [INFO] [stderr] | [INFO] [stderr] 271 | impl<const N: usize> const IndexMut<RangeFull> for StaticString<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] [INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stderr] --> src/utils.rs:177:50 [INFO] [stderr] | [INFO] [stderr] 177 | pub(crate) const fn quicksort_internal<T: Copy + ~const PartialOrd>( [INFO] [stderr] | ^^^^^^ can't be applied to `core::cmp::PartialOrd` [INFO] [stderr] | [INFO] [stderr] note: `core::cmp::PartialOrd` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stderr] --> /rustc/d6c1e454aa8af5e7e59fbf5c4e7d3128d2f99582/library/core/src/cmp.rs:1340:1 [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0107`. [INFO] [stderr] warning: `staticvec` (lib doc) generated 4 warnings [INFO] [stderr] error: could not document `staticvec` [INFO] running `Command { std: "docker" "inspect" "bcd6fc07e77479eec696c256ba72717126b51e3f164db262e2c851605ef91ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd6fc07e77479eec696c256ba72717126b51e3f164db262e2c851605ef91ee1", kill_on_drop: false }` [INFO] [stdout] bcd6fc07e77479eec696c256ba72717126b51e3f164db262e2c851605ef91ee1