declarative_type_state 0.8.0

A collection of declarative macros to reduce boilerplate code when implementing type-state patterns
Documentation

Build #3362999 2026-05-23 16:23:30

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" "22f555d9ce9e353b70cdc611dbdbafcff2339ba0a82edf55b519f575d0a25700" "/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] Documenting declarative_type_state v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: the trait bound `TNext: std::ops::Residual<TCurr>` is not satisfied [INFO] [stderr] --> src/transition_result.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | type Residual = TNext; [INFO] [stderr] | ^^^^^ the nightly-only, unstable trait `std::ops::Residual<TCurr>` is not implemented for `TNext` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `std::ops::Try::Residual` [INFO] [stderr] --> /rustc/54333ff079780f803f65dcee30c544050b35f544/library/core/src/ops/try_trait.rs:160:4 [INFO] [stderr] help: consider restricting type parameter `TNext` with unstable trait `Residual` [INFO] [stderr] | [INFO] [stderr] 15 | impl<TCurr, TNext: std::ops::Residual<TCurr>> Try for Transition<TCurr, TNext> { [INFO] [stderr] | +++++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not document `declarative_type_state` [INFO] running `Command { std: "docker" "inspect" "22f555d9ce9e353b70cdc611dbdbafcff2339ba0a82edf55b519f575d0a25700", kill_on_drop: false }`