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 (b8c54d635 2025-04-20)# 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/bird-protocol-0.1.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/bird-protocol-0.1.3/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" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250420-1.88.0-nightly-b8c54d635\", \"--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] 9cb8eec7f306c4cfc4432d662d4bf0529694fa70d05ceaf382377afc82af4af4
[INFO] running `Command { std: "docker" "start" "-a" "9cb8eec7f306c4cfc4432d662d4bf0529694fa70d05ceaf382377afc82af4af4", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting bird-protocol v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr] error: const `impl` for trait `PacketLength` which is not marked with `#[const_trait]`
[INFO] [stderr] --> src/packet_types.rs:531:20
[INFO] [stderr] |
[INFO] [stderr] 531 | impl const PacketLength for $num {
[INFO] [stderr] | ^^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] ...
[INFO] [stderr] 609 | length_impl!(u8 i8 u16 i16 u32 i32 u64 i64);
[INFO] [stderr] | ------------------------------------------- in this macro invocation
[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] = note: this error originates in the macro `length_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: mark `PacketLength` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 256 | #[const_trait] pub trait PacketLength {
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: could not document `bird-protocol`
[INFO] running `Command { std: "docker" "inspect" "9cb8eec7f306c4cfc4432d662d4bf0529694fa70d05ceaf382377afc82af4af4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cb8eec7f306c4cfc4432d662d4bf0529694fa70d05ceaf382377afc82af4af4", kill_on_drop: false }`
[INFO] [stdout] 9cb8eec7f306c4cfc4432d662d4bf0529694fa70d05ceaf382377afc82af4af4