failure 0.1.8

Experimental error handling abstraction.
Documentation
Build #1521273 2024-11-11T18:52:41.742853+00:00
# rustc version
rustc 1.84.0-nightly (143ce0920 2024-11-10)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/failure-0.1.8/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/failure-0.1.8/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\", \"-20241110-1.84.0-nightly-143ce0920\", \"--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: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f2cb179d281210cb9f3b19a4fc4840bbd1e17559e9099e394cd64f19ba08c6ad
[INFO] running `Command { std: "docker" "start" "-a" "f2cb179d281210cb9f3b19a4fc4840bbd1e17559e9099e394cd64f19ba08c6ad", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]     Checking failure v0.1.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `failure` as a prerequisite for scraping examples from: example "bail_ensure", example "error_as_cause", example "simple", example "string_custom_error_pattern"
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `failure` (lib) generated 1 warning
[INFO] [stderr]     Scraping failure v0.1.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "string_custom_error_pattern" in package `failure` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `failure` (example "string_custom_error_pattern") generated 1 warning
[INFO] [stderr] warning: failed to scan example "bail_ensure" in package `failure` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `failure` (example "bail_ensure") generated 1 warning
[INFO] [stderr] warning: failed to scan example "simple" in package `failure` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `failure` (example "simple") generated 1 warning
[INFO] [stderr] warning: failed to scan example "error_as_cause" in package `failure` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `failure` (example "error_as_cause") generated 1 warning
[INFO] [stderr]  Documenting failure v0.1.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stderr]   --> src/lib.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 26 | #![cfg_attr(feature = "small-error", feature(extern_types, allocator_api))]
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stderr]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/lib.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 | #![deny(warnings)]
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stderr]   --> src/error/mod.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[cfg_attr(feature = "small-error", path = "./error_impl_small.rs")]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stderr]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `failure` (lib doc) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/failure/index.html
[INFO] running `Command { std: "docker" "inspect" "f2cb179d281210cb9f3b19a4fc4840bbd1e17559e9099e394cd64f19ba08c6ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2cb179d281210cb9f3b19a4fc4840bbd1e17559e9099e394cd64f19ba08c6ad", kill_on_drop: false }`
[INFO] [stdout] f2cb179d281210cb9f3b19a4fc4840bbd1e17559e9099e394cd64f19ba08c6ad