redacted-error 0.2.0

Stable public error messages with debug-only diagnostic detail
Documentation

Build #3233149 2026-05-05 13:33:51

# rustc version rustc 1.97.0-nightly (cb40c25f6 2026-05-04)

# docs.rs version docsrs 0.0.0 (ad302d961e54d5d2c273ab5bb3d4139759c933ad 2026-05-03 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder4/builds/redacted-error-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder4/builds/redacted-error-0.2.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "6442450944" "--cpuset-cpus" "26-31" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", 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] 66df4a7efe8c8ba1689b8aa5d3962c13f2c89b4cdf99aae9ab0a09822d16aa33 [INFO] running `Command { std: "docker" "start" "66df4a7efe8c8ba1689b8aa5d3962c13f2c89b4cdf99aae9ab0a09822d16aa33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-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" "--user" "1001:1001" "66df4a7efe8c8ba1689b8aa5d3962c13f2c89b4cdf99aae9ab0a09822d16aa33" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260504-1.97.0-nightly-cb40c25f6\", \"--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 redacted-error v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: `detail` is both a function and a macro [INFO] [stderr] --> src/lib.rs:7:60 [INFO] [stderr] | [INFO] [stderr] 7 | //! - runtime diagnostic details go through [`detail!`], [`detail`], or [`display`] [INFO] [stderr] | ^^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 7 | //! - runtime diagnostic details go through [`detail!`], [`detail()`], or [`display`] [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the macro, add an exclamation mark [INFO] [stderr] | [INFO] [stderr] 7 | //! - runtime diagnostic details go through [`detail!`], [`detail!`], or [`display`] [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: `detail` is both a function and a macro [INFO] [stderr] --> src/lib.rs:28:63 [INFO] [stderr] | [INFO] [stderr] 28 | //! Under that override every [`detail!`] / [`display`] / [`detail`] call leaks [INFO] [stderr] | ^^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 28 | //! Under that override every [`detail!`] / [`display`] / [`detail()`] call leaks [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the macro, add an exclamation mark [INFO] [stderr] | [INFO] [stderr] 28 | //! Under that override every [`detail!`] / [`display`] / [`detail!`] call leaks [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: `detail` is both a function and a macro [INFO] [stderr] --> src/lib.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | //! The [`detail`] and [`display`] free functions still evaluate (and drop) [INFO] [stderr] | ^^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 33 | //! The [`detail()`] and [`display`] free functions still evaluate (and drop) [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the macro, add an exclamation mark [INFO] [stderr] | [INFO] [stderr] 33 | //! The [`detail!`] and [`display`] free functions still evaluate (and drop) [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: `redacted-error` (lib doc) generated 3 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/redacted_error/index.html [INFO] running `Command { std: "docker" "stop" "-t" "1" "66df4a7efe8c8ba1689b8aa5d3962c13f2c89b4cdf99aae9ab0a09822d16aa33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66df4a7efe8c8ba1689b8aa5d3962c13f2c89b4cdf99aae9ab0a09822d16aa33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66df4a7efe8c8ba1689b8aa5d3962c13f2c89b4cdf99aae9ab0a09822d16aa33", kill_on_drop: false }` [INFO] [stdout] 66df4a7efe8c8ba1689b8aa5d3962c13f2c89b4cdf99aae9ab0a09822d16aa33