serialization 0.2.12

encode and decode your struct
Documentation

Build #3363477 2026-05-23 17:38:56

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.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.98.0-nightly (54333ff07 2026-05-22)

# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "4bf4ff32898c1f0ffb4e33efa8d8699211413b81c3fd49b1da2232f9c739b9d9" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260522-1.98.0-nightly-54333ff07\", \"--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: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking constvec v0.1.14 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/constvec-0.1.14/src/lib.rs:47:3 [INFO] [stderr] | [INFO] [stderr] 47 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/constvec-0.1.14/src/lib.rs:232:63 [INFO] [stderr] | [INFO] [stderr] 232 | impl<T: Sized + Copy, const N1: usize, const N2: usize> const Add<&ConstVec<[T; N2]>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stderr] | [INFO] [stderr] = note: see issue #143802 <https://github.com/rust-lang/rust/issues/143802> for more information [INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2026-05-22; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `ConstEq` which is not `const` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/constvec-0.1.14/src/lib.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | impl const ConstEq for $type { [INFO] [stderr] | ^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 64 | impl_const_eq!(u8, i8, u16, i16, u32, i32, u64, i64, f32, f64, bool, usize, isize, i128, u128); [INFO] [stderr] | ---------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` 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] = note: this error originates in the macro `impl_const_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `ConstEq` as `const` to allow it to have `const` implementations [INFO] [stderr] | [INFO] [stderr] 48 | pub const trait ConstEq { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `ConstEq` which is not `const` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/constvec-0.1.14/src/lib.rs:66:46 [INFO] [stderr] | [INFO] [stderr] 66 | impl<T: const ConstEq, const N: usize> const ConstEq for ConstVec<[T; N]> { [INFO] [stderr] | ^^^^^^^ this trait is not `const` [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` 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 `ConstEq` as `const` to allow it to have `const` implementations [INFO] [stderr] | [INFO] [stderr] 48 | pub const trait ConstEq { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: `const` can only be applied to `const` traits [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/constvec-0.1.14/src/lib.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | impl<T: const ConstEq, const N: usize> const ConstEq for ConstVec<[T; N]> { [INFO] [stderr] | ^^^^^ can't be applied to `ConstEq` [INFO] [stderr] | [INFO] [stderr] help: mark `ConstEq` as `const` to allow it to have `const` implementations [INFO] [stderr] | [INFO] [stderr] 48 | pub const trait ConstEq { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error[E0015]: cannot call non-const method `<T as ConstEq>::eq` in constant functions [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/constvec-0.1.14/src/lib.rs:75:26 [INFO] [stderr] | [INFO] [stderr] 75 | if !slice[i].eq(&rhs_slice[i]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: method `eq` is not const because trait `ConstEq` is not const [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/constvec-0.1.14/src/lib.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | pub trait ConstEq { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stderr] 49 | fn eq(&self, other: &Self) -> bool; [INFO] [stderr] | ----------------------------------- this method is not const [INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stderr] help: consider making trait `ConstEq` const [INFO] [stderr] | [INFO] [stderr] 48 | pub const trait ConstEq { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0015, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0015`. [INFO] [stderr] error: could not compile `constvec` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4bf4ff32898c1f0ffb4e33efa8d8699211413b81c3fd49b1da2232f9c739b9d9", kill_on_drop: false }`