panic-message 0.3.0

Get a panic message from a panic payload
Documentation
Build #1543856 2024-11-16T02:44:52.809029+00:00
# rustc version
rustc 1.84.0-nightly (917a50a03 2024-11-15)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/panic-message-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/panic-message-0.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241115-1.84.0-nightly-917a50a03\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] e4cd42961e76085dc0bed1f65e7389130ef58c784f8927774734c42b653eb553
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e4cd42961e76085dc0bed1f65e7389130ef58c784f8927774734c42b653eb553", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting panic-message v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/lib.rs:7:23
[INFO] [stderr]   |
[INFO] [stderr] 7 | //! [`panic_message`][crate::panic_message] takes a payload from `[std::panic::catch_unwind`] and returns a `&str`,
[INFO] [stderr]   |      ---------------  ^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]   |      |
[INFO] [stderr]   |      because label contains path that resolves to same destination
[INFO] [stderr]   |
[INFO] [stderr]   = note: when a link's destination is not specified,
[INFO] [stderr]           the label is used to resolve intra-doc links
[INFO] [stderr]   = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 7 | //! [`panic_message`] takes a payload from `[std::panic::catch_unwind`] and returns a `&str`,
[INFO] [stderr]   |     ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:35:27
[INFO] [stderr]    |
[INFO] [stderr] 35 | //! [`get_panic_message`][crate::get_panic_message] is similar to `panic_message`, but returns an `Option<&str>`,
[INFO] [stderr]    |      -------------------  ^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |      |
[INFO] [stderr]    |      because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 35 | //! [`get_panic_message`] is similar to `panic_message`, but returns an `Option<&str>`,
[INFO] [stderr]    |     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:65:30
[INFO] [stderr]    |
[INFO] [stderr] 65 | //! - [`panic_info_message`][crate::panic_info_message] is similar
[INFO] [stderr]    |        --------------------  ^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |        |
[INFO] [stderr]    |        because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 65 | //! - [`panic_info_message`] is similar
[INFO] [stderr]    |       ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:66:26
[INFO] [stderr]    |
[INFO] [stderr] 66 | //! to [`panic_message`][crate::panic_message] and has a default string `"Box<dyn Any>"`
[INFO] [stderr]    |         ---------------  ^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |         |
[INFO] [stderr]    |         because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 66 | //! to [`panic_message`] and has a default string `"Box<dyn Any>"`
[INFO] [stderr]    |        ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:67:34
[INFO] [stderr]    |
[INFO] [stderr] 67 | //! - [`get_panic_info_message`][crate::get_panic_info_message] is similar
[INFO] [stderr]    |        ------------------------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |        |
[INFO] [stderr]    |        because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 67 | //! - [`get_panic_info_message`] is similar
[INFO] [stderr]    |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:68:30
[INFO] [stderr]    |
[INFO] [stderr] 68 | //! to [`get_panic_message`][crate::get_panic_message] and returns an `Option<&str>`
[INFO] [stderr]    |         -------------------  ^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |         |
[INFO] [stderr]    |         because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 68 | //! to [`get_panic_message`] and returns an `Option<&str>`
[INFO] [stderr]    |        ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `panic-message` (lib doc) generated 6 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/panic_message/index.html
[INFO] running `Command { std: "docker" "inspect" "e4cd42961e76085dc0bed1f65e7389130ef58c784f8927774734c42b653eb553", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4cd42961e76085dc0bed1f65e7389130ef58c784f8927774734c42b653eb553", kill_on_drop: false }`
[INFO] [stdout] e4cd42961e76085dc0bed1f65e7389130ef58c784f8927774734c42b653eb553