retry_future 0.4.0

Retry futures mechanism
Documentation

Build #2538975 2025-09-27 04:52:36

# rustc version rustc 1.92.0-nightly (54a8a1db6 2025-09-26)

# docs.rs version docsrs 0.6.0 (f42173de 2025-09-12)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/retry_future-0.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/retry_future-0.4.0/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250926-1.92.0-nightly-54a8a1db6\", \"--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] e1c41e2869181b62f4e7a1cfa0341d0a744577f1c81b44262bce1d7069350881 [INFO] running `Command { std: "docker" "start" "-a" "e1c41e2869181b62f4e7a1cfa0341d0a744577f1c81b44262bce1d7069350881", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: http_request, http_request_function, http_request_macro, http_request_simple, preconfigured_retry [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting retry_future v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `crate::RetryFuture::poll` [INFO] [stderr] --> src/error.rs:27:39 [INFO] [stderr] | [INFO] [stderr] 27 | /// Error returned from [RetryFuture](crate::RetryFuture::poll), i.e. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the struct `RetryFuture` has no field or associated item named `poll` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::future::FutureFactory::Future` [INFO] [stderr] --> src/retry_strategy.rs:18:62 [INFO] [stderr] | [INFO] [stderr] 18 | /// `attempts_before` means how many attempts a [future](crate::future::FutureFactory::Future) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `FutureFactory` in module `future` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::future::FutureFactory::Future` [INFO] [stderr] --> src/retry_strategy.rs:22:66 [INFO] [stderr] | [INFO] [stderr] 22 | /// If `true`, errors propagated using `?` inside a [future](crate::future::FutureFactory::Future) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `FutureFactory` in module `future` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::future::FutureFactory::Future` [INFO] [stderr] --> src/lib.rs:17:35 [INFO] [stderr] | [INFO] [stderr] 17 | /// Return type of [inner future](crate::future::FutureFactory::Future) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `FutureFactory` in module `future` [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | /// inside [RetryFuture](crate::future::RetryFuture) [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] 18 - /// inside [RetryFuture](crate::future::RetryFuture) [INFO] [stderr] 18 + /// inside [RetryFuture] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:30:64 [INFO] [stderr] | [INFO] [stderr] 30 | /// Unrecoverable error which means that the [RetryFuture](crate::future::RetryFuture) [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] 30 - /// Unrecoverable error which means that the [RetryFuture](crate::future::RetryFuture) [INFO] [stderr] 30 + /// Unrecoverable error which means that the [RetryFuture] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `retry_future` (lib doc) generated 6 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/retry_future/index.html [INFO] running `Command { std: "docker" "inspect" "e1c41e2869181b62f4e7a1cfa0341d0a744577f1c81b44262bce1d7069350881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1c41e2869181b62f4e7a1cfa0341d0a744577f1c81b44262bce1d7069350881", kill_on_drop: false }` [INFO] [stdout] e1c41e2869181b62f4e7a1cfa0341d0a744577f1c81b44262bce1d7069350881