Build #598509 2022-07-23T19:33:03.083319+00:00
# rustc version
rustc 1.64.0-nightly (848090dcd 2022-07-22)# docs.rs version
docsrs 0.6.0 (19b354a 2022-07-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/async-broadcast-0.4.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/async-broadcast-0.4.1/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" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220722-1.64.0-nightly-848090dcd\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] b1ac477b6a1d22cc3e2a9701ac7ba36cd056a9d1a808acc486e11c8840e44b77
[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" "b1ac477b6a1d22cc3e2a9701ac7ba36cd056a9d1a808acc486e11c8840e44b77", kill_on_drop: false }`
[INFO] [stderr] Documenting async-broadcast v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:287:1
[INFO] [stderr] |
[INFO] [stderr] 287 | / /// The sending side of the broadcast channel.
[INFO] [stderr] 288 | | ///
[INFO] [stderr] 289 | | /// Senders can be cloned and shared among threads. When all senders associated with a channel are
[INFO] [stderr] 290 | | /// dropped, the channel becomes closed.
[INFO] [stderr] 291 | | ///
[INFO] [stderr] 292 | | /// The channel can also be closed manually by calling [`Sender::close()`].
[INFO] [stderr] | |___________________________________________________________________________^
[INFO] [stderr] |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr] --> src/lib.rs:96:23
[INFO] [stderr] |
[INFO] [stderr] 96 | #![warn(missing_docs, rustdoc::missing_doc_code_examples, unreachable_pub)]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:298:1
[INFO] [stderr] |
[INFO] [stderr] 298 | / impl<T> Sender<T> {
[INFO] [stderr] 299 | | /// Returns the channel capacity.
[INFO] [stderr] 300 | | ///
[INFO] [stderr] 301 | | /// # Examples
[INFO] [stderr] ... |
[INFO] [stderr] 589 | | }
[INFO] [stderr] 590 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:592:1
[INFO] [stderr] |
[INFO] [stderr] 592 | / impl<T: Clone> Sender<T> {
[INFO] [stderr] 593 | | /// Broadcasts a message on the channel.
[INFO] [stderr] 594 | | ///
[INFO] [stderr] 595 | | /// If the channel is full, this method waits until there is space for a message unless overflow
[INFO] [stderr] ... |
[INFO] [stderr] 673 | | }
[INFO] [stderr] 674 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:698:1
[INFO] [stderr] |
[INFO] [stderr] 698 | / /// The receiving side of a channel.
[INFO] [stderr] 699 | | ///
[INFO] [stderr] 700 | | /// Receivers can be cloned and shared among threads. When all (active) receivers associated with a
[INFO] [stderr] 701 | | /// channel are dropped, the channel becomes closed. You can deactivate a receiver using
[INFO] [stderr] 702 | | /// [`Receiver::deactivate`] if you would like the channel to remain open without keeping active
[INFO] [stderr] 703 | | /// receivers around.
[INFO] [stderr] | |_____________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:713:1
[INFO] [stderr] |
[INFO] [stderr] 713 | / impl<T> Receiver<T> {
[INFO] [stderr] 714 | | /// Returns the channel capacity.
[INFO] [stderr] 715 | | ///
[INFO] [stderr] 716 | | /// # Examples
[INFO] [stderr] ... |
[INFO] [stderr] 1001 | | }
[INFO] [stderr] 1002 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1004:1
[INFO] [stderr] |
[INFO] [stderr] 1004 | / impl<T: Clone> Receiver<T> {
[INFO] [stderr] 1005 | | /// Receives a message from the channel.
[INFO] [stderr] 1006 | | ///
[INFO] [stderr] 1007 | | /// If the channel is empty, this method waits until there is a message.
[INFO] [stderr] ... |
[INFO] [stderr] 1145 | | }
[INFO] [stderr] 1146 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1261:1
[INFO] [stderr] |
[INFO] [stderr] 1261 | / /// An error returned from [`Sender::broadcast()`].
[INFO] [stderr] 1262 | | ///
[INFO] [stderr] 1263 | | /// Received because the channel is closed.
[INFO] [stderr] | |___________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1267:1
[INFO] [stderr] |
[INFO] [stderr] 1267 | / impl<T> SendError<T> {
[INFO] [stderr] 1268 | | /// Unwraps the message that couldn't be sent.
[INFO] [stderr] 1269 | | pub fn into_inner(self) -> T {
[INFO] [stderr] 1270 | | self.0
[INFO] [stderr] 1271 | | }
[INFO] [stderr] 1272 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1268:5
[INFO] [stderr] |
[INFO] [stderr] 1268 | /// Unwraps the message that couldn't be sent.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1288:1
[INFO] [stderr] |
[INFO] [stderr] 1288 | /// An error returned from [`Sender::try_broadcast()`].
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1301:1
[INFO] [stderr] |
[INFO] [stderr] 1301 | / impl<T> TrySendError<T> {
[INFO] [stderr] 1302 | | /// Unwraps the message that couldn't be sent.
[INFO] [stderr] 1303 | | pub fn into_inner(self) -> T {
[INFO] [stderr] 1304 | | match self {
[INFO] [stderr] ... |
[INFO] [stderr] 1333 | | }
[INFO] [stderr] 1334 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1302:5
[INFO] [stderr] |
[INFO] [stderr] 1302 | /// Unwraps the message that couldn't be sent.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1311:5
[INFO] [stderr] |
[INFO] [stderr] 1311 | /// Returns `true` if the channel is full but not closed.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1319:5
[INFO] [stderr] |
[INFO] [stderr] 1319 | /// Returns `true` if the channel is closed.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1327:5
[INFO] [stderr] |
[INFO] [stderr] 1327 | /// Returns `true` if there are currently no active receivers, only inactive ones.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1358:1
[INFO] [stderr] |
[INFO] [stderr] 1358 | /// An error returned from [`Receiver::recv()`].
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1382:1
[INFO] [stderr] |
[INFO] [stderr] 1382 | /// An error returned from [`Receiver::try_recv()`].
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1396:1
[INFO] [stderr] |
[INFO] [stderr] 1396 | / impl TryRecvError {
[INFO] [stderr] 1397 | | /// Returns `true` if the channel is empty but not closed.
[INFO] [stderr] 1398 | | pub fn is_empty(&self) -> bool {
[INFO] [stderr] 1399 | | match self {
[INFO] [stderr] ... |
[INFO] [stderr] 1422 | | }
[INFO] [stderr] 1423 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1397:5
[INFO] [stderr] |
[INFO] [stderr] 1397 | /// Returns `true` if the channel is empty but not closed.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1406:5
[INFO] [stderr] |
[INFO] [stderr] 1406 | /// Returns `true` if the channel is empty and closed.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1415:5
[INFO] [stderr] |
[INFO] [stderr] 1415 | /// Returns `true` if this error indicates the receiver missed messages.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1439:1
[INFO] [stderr] |
[INFO] [stderr] 1439 | /// A future returned by [`Sender::broadcast()`].
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1492:1
[INFO] [stderr] |
[INFO] [stderr] 1492 | /// A future returned by [`Receiver::recv()`].
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1538:1
[INFO] [stderr] |
[INFO] [stderr] 1538 | / /// An inactive receiver.
[INFO] [stderr] 1539 | | ///
[INFO] [stderr] 1540 | | /// An inactive receiver is a receiver that is unable to receive messages. It's only useful for
[INFO] [stderr] 1541 | | /// keeping a channel open even when no associated active receivers exist.
[INFO] [stderr] | |__________________________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1547:1
[INFO] [stderr] |
[INFO] [stderr] 1547 | / impl<T> InactiveReceiver<T> {
[INFO] [stderr] 1548 | | /// Convert to an activate [`Receiver`].
[INFO] [stderr] 1549 | | ///
[INFO] [stderr] 1550 | | /// Consumes `self`. Use [`InactiveReceiver::activate_cloned`] if you want to keep `self`.
[INFO] [stderr] ... |
[INFO] [stderr] 1725 | | }
[INFO] [stderr] 1726 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1601:5
[INFO] [stderr] |
[INFO] [stderr] 1601 | / /// Returns the channel capacity.
[INFO] [stderr] 1602 | | ///
[INFO] [stderr] 1603 | | /// See [`Receiver::capacity`] documentation for examples.
[INFO] [stderr] | |______________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1608:5
[INFO] [stderr] |
[INFO] [stderr] 1608 | / /// Set the channel capacity.
[INFO] [stderr] 1609 | | ///
[INFO] [stderr] 1610 | | /// There are times when you need to change the channel's capacity after creating it. If the
[INFO] [stderr] 1611 | | /// `new_cap` is less than the number of messages in the channel, the oldest messages will be
[INFO] [stderr] 1612 | | /// dropped to shrink the channel.
[INFO] [stderr] 1613 | | ///
[INFO] [stderr] 1614 | | /// See [`Receiver::set_capacity`] documentation for examples.
[INFO] [stderr] | |__________________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1619:5
[INFO] [stderr] |
[INFO] [stderr] 1619 | / /// If overflow mode is enabled on this channel.
[INFO] [stderr] 1620 | | ///
[INFO] [stderr] 1621 | | /// See [`Receiver::overflow`] documentation for examples.
[INFO] [stderr] | |______________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1626:5
[INFO] [stderr] |
[INFO] [stderr] 1626 | / /// Set overflow mode on the channel.
[INFO] [stderr] 1627 | | ///
[INFO] [stderr] 1628 | | /// When overflow mode is set, broadcasting to the channel will succeed even if the channel is
[INFO] [stderr] 1629 | | /// full. It achieves that by removing the oldest message from the channel.
[INFO] [stderr] 1630 | | ///
[INFO] [stderr] 1631 | | /// See [`Receiver::set_overflow`] documentation for examples.
[INFO] [stderr] | |__________________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1636:5
[INFO] [stderr] |
[INFO] [stderr] 1636 | / /// Closes the channel.
[INFO] [stderr] 1637 | | ///
[INFO] [stderr] 1638 | | /// Returns `true` if this call has closed the channel and it was not closed already.
[INFO] [stderr] 1639 | | ///
[INFO] [stderr] 1640 | | /// The remaining messages can still be received.
[INFO] [stderr] 1641 | | ///
[INFO] [stderr] 1642 | | /// See [`Receiver::close`] documentation for examples.
[INFO] [stderr] | |___________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1647:5
[INFO] [stderr] |
[INFO] [stderr] 1647 | / /// Returns `true` if the channel is closed.
[INFO] [stderr] 1648 | | ///
[INFO] [stderr] 1649 | | /// See [`Receiver::is_closed`] documentation for examples.
[INFO] [stderr] | |_______________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1654:5
[INFO] [stderr] |
[INFO] [stderr] 1654 | / /// Returns `true` if the channel is empty.
[INFO] [stderr] 1655 | | ///
[INFO] [stderr] 1656 | | /// See [`Receiver::is_empty`] documentation for examples.
[INFO] [stderr] | |______________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1661:5
[INFO] [stderr] |
[INFO] [stderr] 1661 | / /// Returns `true` if the channel is full.
[INFO] [stderr] 1662 | | ///
[INFO] [stderr] 1663 | | /// See [`Receiver::is_full`] documentation for examples.
[INFO] [stderr] | |_____________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1670:5
[INFO] [stderr] |
[INFO] [stderr] 1670 | / /// Returns the number of messages in the channel.
[INFO] [stderr] 1671 | | ///
[INFO] [stderr] 1672 | | /// See [`Receiver::len`] documentation for examples.
[INFO] [stderr] | |_________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1720:5
[INFO] [stderr] |
[INFO] [stderr] 1720 | / /// Returns the number of senders for the channel.
[INFO] [stderr] 1721 | | ///
[INFO] [stderr] 1722 | | /// See [`Receiver::sender_count`] documentation for examples.
[INFO] [stderr] | |__________________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: `async-broadcast` (lib doc) generated 35 warnings
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.71s
[INFO] running `Command { std: "docker" "inspect" "b1ac477b6a1d22cc3e2a9701ac7ba36cd056a9d1a808acc486e11c8840e44b77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1ac477b6a1d22cc3e2a9701ac7ba36cd056a9d1a808acc486e11c8840e44b77", kill_on_drop: false }`
[INFO] [stdout] b1ac477b6a1d22cc3e2a9701ac7ba36cd056a9d1a808acc486e11c8840e44b77