http-api-problem 0.60.0

A library to create HTTP error response content for APIs based on RFC 7807
Documentation

Build #3948410 2026-07-25 16:03:16

# rustc version rustc 1.99.0-nightly (d0babd8b6 2026-07-15)

# docs.rs version docsrs 0.0.0 (f1b150f0cd76f7cabcd39e1f4790ba771b28b5c4 2026-07-19 )

# 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" "44c0edf69b00c324818dfaed6699a217d0963a25ff148dd0028e796933d6f842" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2026-07-16" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"doc_cfg\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260715-1.99.0-nightly-d0babd8b6\", \"--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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/api_error.rs:450:27 [INFO] [stderr] | [INFO] [stderr] 450 | pub fn detail_message(&self) -> Option<Cow<str>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 450 | pub fn detail_message(&self) -> Option<Cow<'_, str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `http-api-problem` (lib) generated 1 warning (run `cargo fix --lib -p http-api-problem` to apply 1 suggestion) [INFO] [stderr] Scraping http-api-problem v0.60.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting http-api-problem v0.60.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `axum_core::response::response` [INFO] [stderr] --> src/api_error.rs:471:36 [INFO] [stderr] | [INFO] [stderr] 471 | /// Creates an axum [Response](axum_core::response::response) containing a problem JSON. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `response` in module `response` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `http-api-problem` (lib doc) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.51s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/http_api_problem/index.html [INFO] running `Command { std: "docker" "inspect" "44c0edf69b00c324818dfaed6699a217d0963a25ff148dd0028e796933d6f842", kill_on_drop: false }`