futures-macro-await-preview 0.2.2

Definition of the `await!` macro for the `futures` crate.
Documentation
Build #1503971 2024-11-07T05:40:22.690835+00:00
# rustc version
rustc 1.84.0-nightly (854980293 2024-11-06)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/futures-macro-await-preview-0.2.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/futures-macro-await-preview-0.2.2/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\", \"-20241106-1.84.0-nightly-854980293\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] d01bd7be19b3598678d388b317e15330b196ff19d38a5d56f5288ba1cdf48b80
[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" "d01bd7be19b3598678d388b317e15330b196ff19d38a5d56f5288ba1cdf48b80", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting futures-macro-await-preview v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]   --> src/lib.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[cfg_attr(feature = "nightly", doc = "```")]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `nightly` 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: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]   --> src/lib.rs:18:16
[INFO] [stderr]    |
[INFO] [stderr] 18 | #[cfg_attr(not(feature = "nightly"), doc = "```ignore")]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `nightly` 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: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]   --> src/lib.rs:78:12
[INFO] [stderr]    |
[INFO] [stderr] 78 | #[cfg_attr(feature = "nightly", doc = "```")]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `nightly` 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: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]   --> src/lib.rs:79:16
[INFO] [stderr]    |
[INFO] [stderr] 79 | #[cfg_attr(not(feature = "nightly"), doc = "```ignore")]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `nightly` 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: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]    --> src/lib.rs:127:12
[INFO] [stderr]     |
[INFO] [stderr] 127 | #[cfg_attr(feature = "nightly", doc = "```")]
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `nightly` 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: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]    --> src/lib.rs:128:16
[INFO] [stderr]     |
[INFO] [stderr] 128 | #[cfg_attr(not(feature = "nightly"), doc = "```ignore")]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `nightly` 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: unresolved link to `futures::prelude`
[INFO] [stderr]  --> src/lib.rs:6:54
[INFO] [stderr]   |
[INFO] [stderr] 6 | //! All macros defined here should be imported via [`futures::prelude`] instead.
[INFO] [stderr]   |                                                      ^^^^^^^^^^^^^^^^ no item named `futures` in scope
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Future`
[INFO] [stderr]   --> src/lib.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr] 8  | / /// Await a sub-future inside an `#[async]` function.
[INFO] [stderr] 9  | | ///
[INFO] [stderr] 10 | | /// You should pass an object implementing [`Future`] or [`StableFuture`] to
[INFO] [stderr] 11 | | /// this macro, it will implicitly `yield` while that future returns
[INFO] [stderr] ...  |
[INFO] [stderr] 32 | | /// assert_eq!(Ok(1), block_on_stable(probably_one()));
[INFO] [stderr] 33 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the link appears in this line:
[INFO] [stderr]            
[INFO] [stderr]            You should pass an object implementing [`Future`] or [`StableFuture`] to
[INFO] [stderr]                                                    ^^^^^^^^
[INFO] [stderr]    = note: no item named `Future` in scope
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `StableFuture`
[INFO] [stderr]   --> src/lib.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr] 8  | / /// Await a sub-future inside an `#[async]` function.
[INFO] [stderr] 9  | | ///
[INFO] [stderr] 10 | | /// You should pass an object implementing [`Future`] or [`StableFuture`] to
[INFO] [stderr] 11 | | /// this macro, it will implicitly `yield` while that future returns
[INFO] [stderr] ...  |
[INFO] [stderr] 32 | | /// assert_eq!(Ok(1), block_on_stable(probably_one()));
[INFO] [stderr] 33 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the link appears in this line:
[INFO] [stderr]            
[INFO] [stderr]            You should pass an object implementing [`Future`] or [`StableFuture`] to
[INFO] [stderr]                                                                  ^^^^^^^^^^^^^^
[INFO] [stderr]    = note: no item named `StableFuture` in scope
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Async::Pending`
[INFO] [stderr]   --> src/lib.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr] 8  | / /// Await a sub-future inside an `#[async]` function.
[INFO] [stderr] 9  | | ///
[INFO] [stderr] 10 | | /// You should pass an object implementing [`Future`] or [`StableFuture`] to
[INFO] [stderr] 11 | | /// this macro, it will implicitly `yield` while that future returns
[INFO] [stderr] ...  |
[INFO] [stderr] 32 | | /// assert_eq!(Ok(1), block_on_stable(probably_one()));
[INFO] [stderr] 33 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the link appears in this line:
[INFO] [stderr]            
[INFO] [stderr]            [`Async::Pending`] and evaluate to a [`Result`] containing the result of
[INFO] [stderr]             ^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: no item named `Async` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Stream`
[INFO] [stderr]   --> src/lib.rs:67:1
[INFO] [stderr]    |
[INFO] [stderr] 67 | / /// Await an item from a stream inside an `#[async]` function.
[INFO] [stderr] 68 | | ///
[INFO] [stderr] 69 | | /// You should pass an object implementing [`Stream`] to this macro, it will
[INFO] [stderr] 70 | | /// implicitly `yield` while that stream returns [`Async::Pending`] and evaluate
[INFO] [stderr] ...  |
[INFO] [stderr] 98 | | /// assert_eq!(Ok(10), block_on_stable(eventually_ten()));
[INFO] [stderr] 99 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the link appears in this line:
[INFO] [stderr]            
[INFO] [stderr]            You should pass an object implementing [`Stream`] to this macro, it will
[INFO] [stderr]                                                    ^^^^^^^^
[INFO] [stderr]    = note: no item named `Stream` in scope
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Async::Pending`
[INFO] [stderr]   --> src/lib.rs:67:1
[INFO] [stderr]    |
[INFO] [stderr] 67 | / /// Await an item from a stream inside an `#[async]` function.
[INFO] [stderr] 68 | | ///
[INFO] [stderr] 69 | | /// You should pass an object implementing [`Stream`] to this macro, it will
[INFO] [stderr] 70 | | /// implicitly `yield` while that stream returns [`Async::Pending`] and evaluate
[INFO] [stderr] ...  |
[INFO] [stderr] 98 | | /// assert_eq!(Ok(10), block_on_stable(eventually_ten()));
[INFO] [stderr] 99 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the link appears in this line:
[INFO] [stderr]            
[INFO] [stderr]            implicitly `yield` while that stream returns [`Async::Pending`] and evaluate
[INFO] [stderr]                                                          ^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: no item named `Async` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: `futures-macro-await-preview` (lib doc) generated 12 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-pc-windows-msvc/doc/futures_macro_await/index.html
[INFO] running `Command { std: "docker" "inspect" "d01bd7be19b3598678d388b317e15330b196ff19d38a5d56f5288ba1cdf48b80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d01bd7be19b3598678d388b317e15330b196ff19d38a5d56f5288ba1cdf48b80", kill_on_drop: false }`
[INFO] [stdout] d01bd7be19b3598678d388b317e15330b196ff19d38a5d56f5288ba1cdf48b80