tokio 1.8.3

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.
Documentation
Build #415662 2021-07-26T18:59:33.102294+00:00
# rustc version
rustc 1.56.0-nightly (9c25eb7aa 2021-07-25)# docs.rs version
docsrs 0.6.0 (843531f 2021-06-26)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/tokio-1.8.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/tokio-1.8.3/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" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bf3311aec13679c042c55305eed4f6f98359c47a37eb765a3317ad487259f4e0" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j2" "--" "--cfg" "docsrs" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210725-1.56.0-nightly-9c25eb7aa" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] ee873240cbc804c3d8203f349b3a6e69f02c758204f0aa249e87bc9a32f040c1
[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" "ee873240cbc804c3d8203f349b3a6e69f02c758204f0aa249e87bc9a32f040c1", kill_on_drop: false }`
[INFO] [stderr]  Documenting tokio v1.8.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links`
[INFO] [stderr]   --> src/lib.rs:13:26
[INFO] [stderr]    |
[INFO] [stderr] 13 | #![cfg_attr(docsrs, deny(broken_intra_doc_links))]
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/macros/cfg.rs:159:32
[INFO] [stderr]     |
[INFO] [stderr] 159 |               #[cfg_attr(docsrs, doc(cfg(feature = "macros")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/lib.rs:468:1
[INFO] [stderr]     |
[INFO] [stderr] 468 | / cfg_macros! {
[INFO] [stderr] 469 | |     /// Implementation detail of the `select!` macro. This macro is **not**
[INFO] [stderr] 470 | |     /// intended to be used as part of the public API and is permitted to
[INFO] [stderr] 471 | |     /// change.
[INFO] [stderr] ...   |
[INFO] [stderr] 505 | |     }
[INFO] [stderr] 506 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_attributes)]` on by default
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_rt`
[INFO] [stderr]    --> src/lib.rs:475:5
[INFO] [stderr]     |
[INFO] [stderr] 475 |     cfg_rt! {
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/macros/cfg.rs:159:32
[INFO] [stderr]     |
[INFO] [stderr] 159 |               #[cfg_attr(docsrs, doc(cfg(feature = "macros")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/lib.rs:468:1
[INFO] [stderr]     |
[INFO] [stderr] 468 | / cfg_macros! {
[INFO] [stderr] 469 | |     /// Implementation detail of the `select!` macro. This macro is **not**
[INFO] [stderr] 470 | |     /// intended to be used as part of the public API and is permitted to
[INFO] [stderr] 471 | |     /// change.
[INFO] [stderr] ...   |
[INFO] [stderr] 505 | |     }
[INFO] [stderr] 506 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_not_rt`
[INFO] [stderr]    --> src/lib.rs:498:5
[INFO] [stderr]     |
[INFO] [stderr] 498 |     cfg_not_rt! {
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/macros/cfg.rs:273:32
[INFO] [stderr]     |
[INFO] [stderr] 273 |               #[cfg_attr(docsrs, doc(cfg(feature = "rt")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/lib.rs:475:5
[INFO] [stderr]     |
[INFO] [stderr] 475 | /     cfg_rt! {
[INFO] [stderr] 476 | |         #[cfg(feature = "rt-multi-thread")]
[INFO] [stderr] 477 | |         #[cfg(not(test))] // Work around for rust-lang/rust#62127
[INFO] [stderr] 478 | |         #[cfg_attr(docsrs, doc(cfg(feature = "macros")))]
[INFO] [stderr] ...   |
[INFO] [stderr] 494 | |         }
[INFO] [stderr] 495 | |     }
[INFO] [stderr]     | |_____- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_not_rt_multi_thread`
[INFO] [stderr]    --> src/lib.rs:487:9
[INFO] [stderr]     |
[INFO] [stderr] 487 |         cfg_not_rt_multi_thread! {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/macros/cfg.rs:131:32
[INFO] [stderr]     |
[INFO] [stderr] 131 |               #[cfg_attr(docsrs, doc(cfg(feature = "io-util")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/io/util/mod.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | / cfg_io_util! {
[INFO] [stderr] 4   | |     mod async_buf_read_ext;
[INFO] [stderr] 5   | |     pub use async_buf_read_ext::AsyncBufReadExt;
[INFO] [stderr] 6   | |
[INFO] [stderr] ...   |
[INFO] [stderr] 86  | |     const DEFAULT_BUF_SIZE: usize = 8 * 1024;
[INFO] [stderr] 87  | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_process`
[INFO] [stderr]    --> src/io/util/mod.rs:55:5
[INFO] [stderr]     |
[INFO] [stderr] 55  |     cfg_process! {
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_io_util` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/macros/cfg.rs:321:32
[INFO] [stderr]     |
[INFO] [stderr] 321 |               #[cfg_attr(docsrs, doc(cfg(feature = "time")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/runtime/context.rs:33:1
[INFO] [stderr]     |
[INFO] [stderr] 33  | / cfg_time! {
[INFO] [stderr] 34  | |     pub(crate) fn time_handle() -> crate::runtime::driver::TimeHandle {
[INFO] [stderr] 35  | |         CONTEXT.with(|ctx| {
[INFO] [stderr] 36  | |             let ctx = ctx.borrow();
[INFO] [stderr] ...   |
[INFO] [stderr] 45  | |     }
[INFO] [stderr] 46  | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_test_util`
[INFO] [stderr]    --> src/runtime/context.rs:41:5
[INFO] [stderr]     |
[INFO] [stderr] 41  |     cfg_test_util! {
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_time` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/macros/cfg.rs:273:32
[INFO] [stderr]     |
[INFO] [stderr] 273 |               #[cfg_attr(docsrs, doc(cfg(feature = "rt")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/task/mod.rs:278:1
[INFO] [stderr]     |
[INFO] [stderr] 278 | / cfg_rt! {
[INFO] [stderr] 279 | |     pub use crate::runtime::task::{JoinError, JoinHandle};
[INFO] [stderr] 280 | |
[INFO] [stderr] 281 | |     mod blocking;
[INFO] [stderr] ...   |
[INFO] [stderr] 306 | |     }
[INFO] [stderr] 307 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_rt_multi_thread`
[INFO] [stderr]    --> src/task/mod.rs:287:5
[INFO] [stderr]     |
[INFO] [stderr] 287 |     cfg_rt_multi_thread! {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/macros/cfg.rs:273:32
[INFO] [stderr]     |
[INFO] [stderr] 273 |               #[cfg_attr(docsrs, doc(cfg(feature = "rt")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/task/mod.rs:278:1
[INFO] [stderr]     |
[INFO] [stderr] 278 | / cfg_rt! {
[INFO] [stderr] 279 | |     pub use crate::runtime::task::{JoinError, JoinHandle};
[INFO] [stderr] 280 | |
[INFO] [stderr] 281 | |     mod blocking;
[INFO] [stderr] ...   |
[INFO] [stderr] 306 | |     }
[INFO] [stderr] 307 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_trace`
[INFO] [stderr]    --> src/task/mod.rs:303:5
[INFO] [stderr]     |
[INFO] [stderr] 303 |     cfg_trace! {
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/macros/cfg.rs:305:32
[INFO] [stderr]     |
[INFO] [stderr] 305 |               #[cfg_attr(docsrs, doc(cfg(feature = "test-util")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/time/clock.rs:30:1
[INFO] [stderr]     |
[INFO] [stderr] 30  | / cfg_test_util! {
[INFO] [stderr] 31  | |     use crate::time::{Duration, Instant};
[INFO] [stderr] 32  | |     use crate::loom::sync::{Arc, Mutex};
[INFO] [stderr] 33  | |
[INFO] [stderr] ...   |
[INFO] [stderr] 206 | |     }
[INFO] [stderr] 207 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_rt`
[INFO] [stderr]    --> src/time/clock.rs:34:5
[INFO] [stderr]     |
[INFO] [stderr] 34  |     cfg_rt! {
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_test_util` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused attribute `doc`
[INFO] [stderr]    --> src/macros/cfg.rs:305:32
[INFO] [stderr]     |
[INFO] [stderr] 305 |               #[cfg_attr(docsrs, doc(cfg(feature = "test-util")))]
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/time/clock.rs:30:1
[INFO] [stderr]     |
[INFO] [stderr] 30  | / cfg_test_util! {
[INFO] [stderr] 31  | |     use crate::time::{Duration, Instant};
[INFO] [stderr] 32  | |     use crate::loom::sync::{Arc, Mutex};
[INFO] [stderr] 33  | |
[INFO] [stderr] ...   |
[INFO] [stderr] 206 | |     }
[INFO] [stderr] 207 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `cfg_not_rt`
[INFO] [stderr]    --> src/time/clock.rs:40:5
[INFO] [stderr]     |
[INFO] [stderr] 40  |     cfg_not_rt! {
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     = note: this warning originates in the macro `cfg_test_util` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `tokio` (lib doc) generated 10 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.19s
[INFO] running `Command { std: "docker" "inspect" "ee873240cbc804c3d8203f349b3a6e69f02c758204f0aa249e87bc9a32f040c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee873240cbc804c3d8203f349b3a6e69f02c758204f0aa249e87bc9a32f040c1", kill_on_drop: false }`
[INFO] [stdout] ee873240cbc804c3d8203f349b3a6e69f02c758204f0aa249e87bc9a32f040c1