embassy-sync 0.6.2

no-std, no-alloc synchronization primitives with async support
Documentation
Build #1629784 2025-01-16T05:37:39.001077+00:00
# rustc version
rustc 1.86.0-nightly (419b3e2d3 2025-01-15)# docs.rs version
docsrs 0.6.0 (13d4ccea 2025-01-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/embassy-sync-0.6.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/embassy-sync-0.6.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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250115-1.86.0-nightly-419b3e2d3\", \"--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}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-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] 36489b78de45d02b66ceb05bd7bd35218965cf0427999c5e1a3f950fc9acbd2b
[INFO] running `Command { std: "docker" "start" "-a" "36489b78de45d02b66ceb05bd7bd35218965cf0427999c5e1a3f950fc9acbd2b", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting embassy-sync v0.6.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `ThreadModeMutex`
[INFO] [stderr]   --> src/blocking_mutex/mod.rs:21:11
[INFO] [stderr]    |
[INFO] [stderr] 21 | /// Use [`ThreadModeMutex`] when data is shared between tasks running on the same executor but you want a global singleton.
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^ no item named `ThreadModeMutex` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::blocking_mutex::raw::ThreadModeRawMutex`
[INFO] [stderr]   --> src/mutex.rs:37:32
[INFO] [stderr]    |
[INFO] [stderr] 37 | /// Use [`ThreadModeRawMutex`](crate::blocking_mutex::raw::ThreadModeRawMutex) when data is shared between tasks running on the same exec...
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `ThreadModeRawMutex` in module `raw`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Pipe::fill_buf`
[INFO] [stderr]    --> src/pipe.rs:155:26
[INFO] [stderr]     |
[INFO] [stderr] 155 | /// Future returned by [`Pipe::fill_buf`] and  [`Reader::fill_buf`].
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^ the struct `Pipe` has no field or associated item named `fill_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `DynamicWriter` links to private item `DynamicPipe`
[INFO] [stderr]    --> src/pipe.rs:590:30
[INFO] [stderr]     |
[INFO] [stderr] 590 | /// Write-only access to a [`DynamicPipe`].
[INFO] [stderr]     |                              ^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr]     = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `DynamicReader` links to private item `DynamicPipe`
[INFO] [stderr]    --> src/pipe.rs:660:29
[INFO] [stderr]     |
[INFO] [stderr] 660 | /// Read-only access to a [`DynamicPipe`].
[INFO] [stderr]     |                             ^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `DynamicPipe::fill_buf`
[INFO] [stderr]    --> src/pipe.rs:745:26
[INFO] [stderr]     |
[INFO] [stderr] 745 | /// Future returned by [`DynamicPipe::fill_buf`] and  [`DynamicReader::fill_buf`].
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^ the trait `DynamicPipe` has no associated item named `fill_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `futures::Sink`
[INFO] [stderr]   --> src/pubsub/publisher.rs:78:20
[INFO] [stderr]    |
[INFO] [stderr] 78 |     /// Create a [`futures::Sink`] adapter for this publisher.
[INFO] [stderr]    |                    ^^^^^^^^^^^^^ no item named `futures` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/mutex.rs:26:55
[INFO] [stderr]    |
[INFO] [stderr] 26 | /// The mutex is generic over a blocking [`RawMutex`](crate::blocking_mutex::raw::RawMutex).
[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] 26 | /// The mutex is generic over a blocking [`RawMutex`].
[INFO] [stderr]    |                                          ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/priority_channel.rs:4:96
[INFO] [stderr]   |
[INFO] [stderr] 4 | ...y behavior is determined by the [`Kind`](heapless::binary_heap::Kind) parameter of the channel.
[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] 4 | //! Priority is determined by the `Ord` trait. Priority behavior is determined by the [`Kind`] parameter of the channel.
[INFO] [stderr]   |                                                                                       ~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/priority_channel.rs:427:31
[INFO] [stderr]     |
[INFO] [stderr] 427 | /// For example, in a [`Max`](heapless::binary_heap::Max) [`PriorityChannel`]
[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] 427 | /// For example, in a [`Max`] [`PriorityChannel`]
[INFO] [stderr]     |                       ~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `embassy-sync` (lib doc) generated 10 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/embassy_sync/index.html
[INFO] running `Command { std: "docker" "inspect" "36489b78de45d02b66ceb05bd7bd35218965cf0427999c5e1a3f950fc9acbd2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36489b78de45d02b66ceb05bd7bd35218965cf0427999c5e1a3f950fc9acbd2b", kill_on_drop: false }`
[INFO] [stdout] 36489b78de45d02b66ceb05bd7bd35218965cf0427999c5e1a3f950fc9acbd2b