[INFO] fetching crate aws-smithy-async 0.42.0... [INFO] documenting aws-smithy-async-0.42.0 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate aws-smithy-async 0.42.0 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate aws-smithy-async 0.42.0 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aws-smithy-async 0.42.0 [INFO] finished tweaking crates.io crate aws-smithy-async 0.42.0 [INFO] tweaked toml for crates.io crate aws-smithy-async 0.42.0 written to /workspace/builds/worker-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02358daedad6bc67e92183d211f13205995090a958d4463c37c21491721db8bf [INFO] running `Command { std: "docker" "start" "-a" "02358daedad6bc67e92183d211f13205995090a958d4463c37c21491721db8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02358daedad6bc67e92183d211f13205995090a958d4463c37c21491721db8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02358daedad6bc67e92183d211f13205995090a958d4463c37c21491721db8bf", kill_on_drop: false }` [INFO] [stdout] 02358daedad6bc67e92183d211f13205995090a958d4463c37c21491721db8bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d068f560ed6820f55251f0addf24e44ba21835eb3fdf21745fa302d3b729c96 [INFO] running `Command { std: "docker" "start" "-a" "3d068f560ed6820f55251f0addf24e44ba21835eb3fdf21745fa302d3b729c96", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Documenting aws-smithy-async v0.42.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.51s [INFO] running `Command { std: "docker" "inspect" "3d068f560ed6820f55251f0addf24e44ba21835eb3fdf21745fa302d3b729c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d068f560ed6820f55251f0addf24e44ba21835eb3fdf21745fa302d3b729c96", kill_on_drop: false }` [INFO] [stdout] 3d068f560ed6820f55251f0addf24e44ba21835eb3fdf21745fa302d3b729c96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--frozen" "--message-format=json" "--" "--cfg" "docsrs" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 1b11a881fcef9f3780106bd23b480bc56aa8468dca066bf0207e60b4362a23b5 [INFO] running `Command { std: "docker" "start" "-a" "1b11a881fcef9f3780106bd23b480bc56aa8468dca066bf0207e60b4362a23b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Documenting aws-smithy-async v0.42.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / //! Future utilities and runtime-agnostic abstractions for smithy-rs. [INFO] [stdout] 14 | | //! [INFO] [stdout] 15 | | //! Async runtime specific code is abstracted behind async traits, and implementations are [INFO] [stdout] 16 | | //! provided via feature flag. For now, only Tokio runtime implementations are provided. [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | rustdoc::all, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(rustdoc::missing_doc_code_examples)]` implied by `#[warn(rustdoc::all)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | //! Useful runtime-agnostic future implementations. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/fn_stream.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | //! Utility to drive a stream with an async function and a channel. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/fn_stream.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl FnStream { [INFO] [stdout] 51 | | /// Creates a new function based stream driven by `generator`. [INFO] [stdout] 52 | | /// [INFO] [stdout] 53 | | /// For examples, see the documentation for [`FnStream`] [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/fn_stream.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// Creates a new function based stream driven by `generator`. [INFO] [stdout] 52 | | /// [INFO] [stdout] 53 | | /// For examples, see the documentation for [`FnStream`] [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/fn_stream.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / /// Utility wrapper to flatten paginated results [INFO] [stdout] 85 | | /// [INFO] [stdout] 86 | | /// When flattening paginated results, it's most convenient to produce an iterator where the `Result` [INFO] [stdout] 87 | | /// is present in each item. This provides `items()` which can wrap an stream of `Result` [INFO] [stdout] 88 | | /// and produce a stream of `Result`. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/fn_stream.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / impl TryFlatMap { [INFO] [stdout] 93 | | /// Create a `TryFlatMap` that wraps the input [INFO] [stdout] 94 | | pub fn new(i: I) -> Self { [INFO] [stdout] 95 | | Self(i) [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/fn_stream.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | /// Create a `TryFlatMap` that wraps the input [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/fn_stream.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | /// Produce a new [`Stream`] by mapping this stream with `map` then flattening the result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/never.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | //! Provides the [`Never`] future that never completes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/never.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// Future that never completes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/never.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Never { [INFO] [stdout] 18 | | /// Create a new `Never` future that never resolves [INFO] [stdout] 19 | | pub fn new() -> Never { [INFO] [stdout] 20 | | Default::default() [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/never.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// Create a new `Never` future that never resolves [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/now_or_later.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | /// Zero sized type for using NowOrLater when no future variant exists. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/now_or_later.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / impl NowOrLater { [INFO] [stdout] 112 | | /// Creates a future that will resolve when `future` resolves [INFO] [stdout] 113 | | pub fn new(future: F) -> Self { [INFO] [stdout] 114 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/now_or_later.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | /// Creates a future that will resolve when `future` resolves [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/now_or_later.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | /// Creates a future that immediately resolves to `value` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/rendezvous.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / //! Rendezvous channel implementation [INFO] [stdout] 7 | | //! [INFO] [stdout] 8 | | //! Rendezvous channels are equivalent to a channel with a 0-sized buffer: A sender cannot send [INFO] [stdout] 9 | | //! until there is an active receiver waiting. This implementation uses a Semaphore to record demand [INFO] [stdout] ... | [INFO] [stdout] 12 | | //! Rendezvous channels should be used with care—it's inherently easy to deadlock unless they're being [INFO] [stdout] 13 | | //! used from separate tasks or an a coroutine setup (e.g. [`crate::future::fn_stream::FnStream`]) [INFO] [stdout] | |__________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/rendezvous.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Create a new rendezvous channel [INFO] [stdout] 21 | | /// [INFO] [stdout] 22 | | /// Rendezvous channels are equivalent to a channel with a 0-sized buffer: A sender cannot send [INFO] [stdout] 23 | | /// until this is an active receiver waiting. This implementation uses a semaphore to record demand [INFO] [stdout] 24 | | /// and coordinate with the receiver. [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/rendezvous.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | /// Sender-half of a channel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/rendezvous.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Sender { [INFO] [stdout] 49 | | /// Send `item` into the channel waiting until there is matching demand [INFO] [stdout] 50 | | /// [INFO] [stdout] 51 | | /// Unlike something like `tokio::sync::mpsc::Channel` where sending a value will be buffered until [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/rendezvous.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / /// Send `item` into the channel waiting until there is matching demand [INFO] [stdout] 50 | | /// [INFO] [stdout] 51 | | /// Unlike something like `tokio::sync::mpsc::Channel` where sending a value will be buffered until [INFO] [stdout] 52 | | /// demand exists, a rendezvous sender will wait until matching demand exists before this function will return. [INFO] [stdout] | |___________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/rendezvous.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | /// Receiver half of the rendezvous channel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/rendezvous.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / impl Receiver { [INFO] [stdout] 77 | | /// Polls to receive an item from the channel [INFO] [stdout] 78 | | pub fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] 79 | | // This uses `needs_permit` to track whether this is the first poll since we last returned an item. [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/rendezvous.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | /// Polls to receive an item from the channel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/timeout.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | //! Provides the [`Timeout`] future for adding a timeout to another future. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/timeout.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | /// Error returned when [`Timeout`] times out [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/timeout.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / impl Timeout { [INFO] [stdout] 71 | | /// Create a new future that will race `value` and `sleep`. [INFO] [stdout] 72 | | /// [INFO] [stdout] 73 | | /// If `sleep` resolves first, a timeout error is returned. Otherwise, the value is returned. [INFO] [stdout] ... | [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/future/timeout.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / /// Create a new future that will race `value` and `sleep`. [INFO] [stdout] 72 | | /// [INFO] [stdout] 73 | | /// If `sleep` resolves first, a timeout error is returned. Otherwise, the value is returned. [INFO] [stdout] | |_________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | //! Async runtime agnostic traits and implementations. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / //! Provides an [`AsyncSleep`] trait that returns a future that sleeps for a given duration, [INFO] [stdout] 7 | | //! and implementations of `AsyncSleep` for different async runtimes. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | /// Async trait with a `sleep` function. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// Returns a future that sleeps for the given `duration` of time. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | /// Returns a default sleep implementation based on the features enabled [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | /// Future returned by [`AsyncSleep`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / impl Sleep { [INFO] [stdout] 65 | | /// Create a new [`Sleep`] future [INFO] [stdout] 66 | | /// [INFO] [stdout] 67 | | /// The provided future will be Boxed. [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / /// Create a new [`Sleep`] future [INFO] [stdout] 66 | | /// [INFO] [stdout] 67 | | /// The provided future will be Boxed. [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | /// Implementation of [`AsyncSleep`] for Tokio. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / impl TokioSleep { [INFO] [stdout] 89 | | /// Create a new [`AsyncSleep`] implementation using the Tokio hashed wheel sleep implementation [INFO] [stdout] 90 | | pub fn new() -> TokioSleep { [INFO] [stdout] 91 | | Default::default() [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/rt/sleep.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | /// Create a new [`AsyncSleep`] implementation using the Tokio hashed wheel sleep implementation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / /// Given an `Instant` and a `Duration`, assert time elapsed since `Instant` is equal to `Duration`. [INFO] [stdout] 22 | | /// This macro allows for a 5ms margin of error. [INFO] [stdout] 23 | | /// [INFO] [stdout] 24 | | /// # Example [INFO] [stdout] ... | [INFO] [stdout] 29 | | /// assert_elapsed!(now, std::time::Duration::from_secs(5)); [INFO] [stdout] 30 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.96s [INFO] running `Command { std: "docker" "inspect" "1b11a881fcef9f3780106bd23b480bc56aa8468dca066bf0207e60b4362a23b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b11a881fcef9f3780106bd23b480bc56aa8468dca066bf0207e60b4362a23b5", kill_on_drop: false }` [INFO] [stdout] 1b11a881fcef9f3780106bd23b480bc56aa8468dca066bf0207e60b4362a23b5