snafu 0.8.5

An ergonomic error handling library
Documentation
Build #1368123 2024-09-23T15:37:29.770956+00:00
# rustc version
rustc 1.83.0-nightly (6c6d21008 2024-09-22)# docs.rs version
docsrs 0.6.0 (de1f9e72 2024-09-23)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/snafu-0.8.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/snafu-0.8.5/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "futures guide" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240922-1.83.0-nightly-6c6d21008\", \"--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] [stdout] 21c8d16b2426c921c088855daf5ab12a9fa2c8369b5b5d698cd58b9d5899be7c
[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" "21c8d16b2426c921c088855daf5ab12a9fa2c8369b5b5d698cd58b9d5899be7c", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting snafu v0.8.5 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/./guide/comparison/failure.md:11:14
[INFO] [stderr]     |
[INFO] [stderr] 11  |   [`Whatever`](crate::Whatever) type:
[INFO] [stderr]     |    ----------  ^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |    |
[INFO] [stderr]     |    because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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]     = note: this warning originates in the macro `generate_guide` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 11  | [`Whatever`] type:
[INFO] [stderr]     | ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:6:28
[INFO] [stderr]     |
[INFO] [stderr] 6   |   - implements the [`Error`][Error] trait
[INFO] [stderr]     |                     -------  ^^^^^ explicit target is redundant
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:181:10
[INFO] [stderr]     |
[INFO] [stderr] 181 |   [Error]: std::error::Error
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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: this warning originates in the macro `generate_guide` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 6   | - implements the [`Error`] trait
[INFO] [stderr]     |                  ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:8:34
[INFO] [stderr]     |
[INFO] [stderr] 8   |   - implements the [`ErrorCompat`][ErrorCompat] trait
[INFO] [stderr]     |                     -------------  ^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:180:16
[INFO] [stderr]     |
[INFO] [stderr] 180 |   [ErrorCompat]: crate::ErrorCompat
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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: this warning originates in the macro `generate_guide` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 8   | - implements the [`ErrorCompat`] trait
[INFO] [stderr]     |                  ~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:88:46
[INFO] [stderr]     |
[INFO] [stderr] 88  |   will have an implementation of [`IntoError`][IntoError]:
[INFO] [stderr]     |                                   -----------  ^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:182:14
[INFO] [stderr]     |
[INFO] [stderr] 182 |   [IntoError]: crate::IntoError
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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: this warning originates in the macro `generate_guide` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 88  | will have an implementation of [`IntoError`]:
[INFO] [stderr]     |                                ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:97:48
[INFO] [stderr]     |
[INFO] [stderr] 97  |   and `fail` and can be used with the [`ensure`](ensure) macro:
[INFO] [stderr]     |                                        --------  ^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                        |
[INFO] [stderr]     |                                        because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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: this warning originates in the macro `generate_guide` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 97  | and `fail` and can be used with the [`ensure`] macro:
[INFO] [stderr]     |                                     ~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:116:19
[INFO] [stderr]     |
[INFO] [stderr] 116 |   [`Error::source`][source] will return the underlying error, if
[INFO] [stderr]     |    ---------------  ^^^^^^ explicit target is redundant
[INFO] [stderr]     |    |
[INFO] [stderr]     |    because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:185:11
[INFO] [stderr]     |
[INFO] [stderr] 185 |   [source]: std::error::Error::source
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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: this warning originates in the macro `generate_guide` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 116 | [`Error::source`] will return the underlying error, if
[INFO] [stderr]     | ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:132:18
[INFO] [stderr]     |
[INFO] [stderr] 132 |   [`Error::cause`][cause] will return the same as `source`. As
[INFO] [stderr]     |    --------------  ^^^^^ explicit target is redundant
[INFO] [stderr]     |    |
[INFO] [stderr]     |    because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:183:10
[INFO] [stderr]     |
[INFO] [stderr] 183 |   [cause]: std::error::Error::cause
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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: this warning originates in the macro `generate_guide` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 132 | [`Error::cause`] will return the same as `source`. As
[INFO] [stderr]     | ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:133:24
[INFO] [stderr]     |
[INFO] [stderr] 133 |   [`Error::description`][description] is soft-deprecated, it will
[INFO] [stderr]     |    --------------------  ^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |    |
[INFO] [stderr]     |    because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/./guide/what_code_is_generated.md:184:16
[INFO] [stderr]     |
[INFO] [stderr] 184 |   [description]: std::error::Error::description
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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: this warning originates in the macro `generate_guide` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 133 | [`Error::description`] is soft-deprecated, it will
[INFO] [stderr]     | ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/./guide/upgrading.md:318:39
[INFO] [stderr]     |
[INFO] [stderr] 318 |   removed in favor of the [`IntoError`](crate::IntoError) trait. If
[INFO] [stderr]     |                            -----------  ^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:320:1
[INFO] [stderr]     |
[INFO] [stderr] 320 | / generate_guide! {
[INFO] [stderr] 321 | |     pub mod guide {
[INFO] [stderr] 322 | |         pub mod comparison {
[INFO] [stderr] 323 | |             pub mod failure;
[INFO] [stderr] ...   |
[INFO] [stderr] 338 | |     }
[INFO] [stderr] 339 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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: this warning originates in the macro `generate_guide` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 318 | removed in favor of the [`IntoError`] trait. If
[INFO] [stderr]     |                         ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `snafu` (lib doc) generated 9 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/snafu/index.html
[INFO] running `Command { std: "docker" "inspect" "21c8d16b2426c921c088855daf5ab12a9fa2c8369b5b5d698cd58b9d5899be7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21c8d16b2426c921c088855daf5ab12a9fa2c8369b5b5d698cd58b9d5899be7c", kill_on_drop: false }`
[INFO] [stdout] 21c8d16b2426c921c088855daf5ab12a9fa2c8369b5b5d698cd58b9d5899be7c