futures-preview 0.2.2

An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces.
Documentation
Build #1503970 2024-11-07T05:40:34.057100+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-builder/builds/futures-preview-0.2.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/futures-preview-0.2.2/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: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-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-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] 75d54e53ec0a2f708945b2011b7c6ff81227ca0984fa112d62cf95bcc5aa30db
[INFO] running `Command { std: "docker" "start" "-a" "75d54e53ec0a2f708945b2011b7c6ff81227ca0984fa112d62cf95bcc5aa30db", 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-preview v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:95:21
[INFO] [stderr]    |
[INFO] [stderr] 95 |     //! - [oneshot](::channel::oneshot), a way of sending a single value from
[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] 95 |     //! - [oneshot], a way of sending a single value from
[INFO] [stderr]    |           ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:98:18
[INFO] [stderr]    |
[INFO] [stderr] 98 |     //! - [mpsc](::channel::mpsc), a multi-producer, single-consumer channel for
[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] 98 |     //! - [mpsc], a multi-producer, single-consumer channel for
[INFO] [stderr]    |           ~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:142:19
[INFO] [stderr]     |
[INFO] [stderr] 142 |     //! [`spawn`](::executor::spawn) function or [pulling the executor from the
[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] 142 |     //! [`spawn`] function or [pulling the executor from the
[INFO] [stderr]     |         ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:155:23
[INFO] [stderr]     |
[INFO] [stderr] 155 |     //! [`LocalPool`](::executor::LocalPool) executor. Aside from cutting down
[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] 155 |     //! [`LocalPool`] executor. Aside from cutting down
[INFO] [stderr]     |         ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:163:22
[INFO] [stderr]     |
[INFO] [stderr] 163 |     //! [`block_on`](::executor::block_on), for simply running a future to
[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] 163 |     //! [`block_on`], for simply running a future to
[INFO] [stderr]     |         ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:186:29
[INFO] [stderr]     |
[INFO] [stderr] 186 |     //! - The [`FutureExt`](::future::FutureExt) trait, which provides adapters
[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] 186 |     //! - The [`FutureExt`] trait, which provides adapters
[INFO] [stderr]     |               ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:189:54
[INFO] [stderr]     |
[INFO] [stderr] 189 |     //! - Top-level future combinators like [`lazy`](::future::lazy) which
[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] 189 |     //! - Top-level future combinators like [`lazy`] which
[INFO] [stderr]     |                                             ~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:191:20
[INFO] [stderr]     |
[INFO] [stderr] 191 |     //! [`result`](::future::result), which constructs a future with an
[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] 191 |     //! [`result`], which constructs a future with an
[INFO] [stderr]     |         ~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:216:31
[INFO] [stderr]     |
[INFO] [stderr] 216 |     //! traits, [`AsyncRead`](::io::AsyncRead) and
[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] 216 |     //! traits, [`AsyncRead`] and
[INFO] [stderr]     |                 ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:217:24
[INFO] [stderr]     |
[INFO] [stderr] 217 |     //! [`AsyncWrite`](::io::AsyncWrite), which mirror the `Read` and `Write`
[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] 217 |     //! [`AsyncWrite`], which mirror the `Read` and `Write`
[INFO] [stderr]     |         ~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:223:43
[INFO] [stderr]     |
[INFO] [stderr] 223 |     //! In addition, the [`AsyncReadExt`](::io::AsyncReadExt) and
[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] 223 |     //! In addition, the [`AsyncReadExt`] and
[INFO] [stderr]     |                          ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:224:27
[INFO] [stderr]     |
[INFO] [stderr] 224 |     //! [`AsyncWriteExt`](::io::AsyncWriteExt) extension traits offer a variety
[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] 224 |     //! [`AsyncWriteExt`] extension traits offer a variety
[INFO] [stderr]     |         ~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:323:27
[INFO] [stderr]     |
[INFO] [stderr] 323 |     //! - The [`SinkExt`](::sink::SinkExt) trait, which provides adapters
[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] 323 |     //! - The [`SinkExt`] trait, which provides adapters
[INFO] [stderr]     |               ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:345:29
[INFO] [stderr]     |
[INFO] [stderr] 345 |     //! - The [`StreamExt`](::StreamExt) trait, which provides adapters
[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] 345 |     //! - The [`StreamExt`] trait, which provides adapters
[INFO] [stderr]     |               ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:348:57
[INFO] [stderr]     |
[INFO] [stderr] 348 |     //! - Top-level stream contructors like [`iter_ok`](::stream::iter_ok) which
[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] 348 |     //! - Top-level stream contructors like [`iter_ok`] which
[INFO] [stderr]     |                                             ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:376:23
[INFO] [stderr]     |
[INFO] [stderr] 376 |     //! - [`Context`](::task::Context), which provides contextual data present
[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] 376 |     //! - [`Context`], which provides contextual data present
[INFO] [stderr]     |           ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:379:21
[INFO] [stderr]     |
[INFO] [stderr] 379 |     //! - [`Waker`](::task::Waker), a handle for waking up a task.
[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] 379 |     //! - [`Waker`], a handle for waking up a task.
[INFO] [stderr]     |           ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:381:24
[INFO] [stderr]     |
[INFO] [stderr] 381 |     //! - [`LocalKey`](::task::LocalKey), a key for task-local data; you should
[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] 381 |     //! - [`LocalKey`], a key for task-local data; you should
[INFO] [stderr]     |           ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `futures-preview` (lib doc) generated 18 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/futures/index.html
[INFO] running `Command { std: "docker" "inspect" "75d54e53ec0a2f708945b2011b7c6ff81227ca0984fa112d62cf95bcc5aa30db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75d54e53ec0a2f708945b2011b7c6ff81227ca0984fa112d62cf95bcc5aa30db", kill_on_drop: false }`
[INFO] [stdout] 75d54e53ec0a2f708945b2011b7c6ff81227ca0984fa112d62cf95bcc5aa30db