embassy-executor 0.5.1

async/await executor designed for embedded usage
Documentation
Build #1399461 2024-10-21T14:22:26.581382+00:00
# rustc version
rustc 1.84.0-nightly (662180b34 2024-10-20)# docs.rs version
docsrs 0.6.0 (4e3e1363 2024-10-21)# build log
[INFO] adding target thumbv7em-none-eabi for toolchain nightly
[INFO] running `Command { std: CARGO_HOME="/home/cratesfyi/workspace/cargo-home" RUSTUP_HOME="/home/cratesfyi/workspace/rustup-home" "/home/cratesfyi/workspace/cargo-home/bin/rustup" "target" "add" "--toolchain" "nightly" "thumbv7em-none-eabi", kill_on_drop: false }`
[INFO] [stderr] info: component 'rust-std' for target 'thumbv7em-none-eabi' is up to date
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/embassy-executor-0.5.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/embassy-executor-0.5.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" "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" "--features" "defmt arch-cortex-m executor-thread executor-interrupt" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241020-1.84.0-nightly-662180b34\", \"--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}/thumbv7em-none-eabi\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "thumbv7em-none-eabi", kill_on_drop: false }`
[INFO] [stdout] 33eeae10e09f76e9644614051660fc929686dfbb7732e62319c18767e55a6db4
[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" "33eeae10e09f76e9644614051660fc929686dfbb7732e62319c18767e55a6db4", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting embassy-executor v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `armv6m`
[INFO] [stderr]   --> src/arch/cortex_m.rs:33:23
[INFO] [stderr]    |
[INFO] [stderr] 33 |             #[cfg(not(armv6m))]
[INFO] [stderr]    |                       ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv6m)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv6m)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `armv6m`
[INFO] [stderr]   --> src/arch/cortex_m.rs:39:19
[INFO] [stderr]    |
[INFO] [stderr] 39 |             #[cfg(armv6m)]
[INFO] [stderr]    |                   ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv6m)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv6m)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `cortex_m`
[INFO] [stderr]   --> src/raw/mod.rs:14:16
[INFO] [stderr]    |
[INFO] [stderr] 14 | #[cfg_attr(all(cortex_m, target_has_atomic = "8"), path = "state_atomics_arm.rs")]
[INFO] [stderr]    |                ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cortex_m)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cortex_m)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `cortex_m`
[INFO] [stderr]   --> src/raw/mod.rs:15:20
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[cfg_attr(all(not(cortex_m), target_has_atomic = "8"), path = "state_atomics.rs")]
[INFO] [stderr]    |                    ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cortex_m)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cortex_m)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Executor`
[INFO] [stderr]    --> src/arch/cortex_m.rs:146:11
[INFO] [stderr]     |
[INFO] [stderr] 146 |     /// [`Executor`] instead, if it works for your use case.
[INFO] [stderr]     |           ^^^^^^^^ no item named `Executor` 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 `SendSpawner`
[INFO] [stderr]    --> src/arch/cortex_m.rs:181:30
[INFO] [stderr]     |
[INFO] [stderr] 181 |         /// This returns a [`SendSpawner`] you can use to spawn tasks on it. A [`SendSpawner`]
[INFO] [stderr]     |                              ^^^^^^^^^^^ no item named `SendSpawner` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SendSpawner`
[INFO] [stderr]    --> src/arch/cortex_m.rs:181:82
[INFO] [stderr]     |
[INFO] [stderr] 181 |         /// This returns a [`SendSpawner`] you can use to spawn tasks on it. A [`SendSpawner`]
[INFO] [stderr]     |                                                                                  ^^^^^^^^^^^ no item named `SendSpawner` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `embassy_executor::Spawner`
[INFO] [stderr]    --> src/arch/cortex_m.rs:182:50
[INFO] [stderr]     |
[INFO] [stderr] 182 |         /// is returned instead of a [`Spawner`](embassy_executor::Spawner) because the executor effectively runs in a
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `embassy_executor` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `embassy_executor::Spawner`
[INFO] [stderr]    --> src/arch/cortex_m.rs:186:37
[INFO] [stderr]     |
[INFO] [stderr] 186 | ...   /// To obtain a [`Spawner`](embassy_executor::Spawner) for this executor, use [`Spawner::for_current_executor()`](embassy_executor:...
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `embassy_executor` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `embassy_executor::Spawner::for_current_executor`
[INFO] [stderr]    --> src/arch/cortex_m.rs:186:123
[INFO] [stderr]     |
[INFO] [stderr] 186 | ...current_executor()`](embassy_executor::Spawner::for_current_executor()) from
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `embassy_executor` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SendSpawner`
[INFO] [stderr]    --> src/arch/cortex_m.rs:218:30
[INFO] [stderr]     |
[INFO] [stderr] 218 |         /// This returns a [`SendSpawner`] you can use to spawn tasks on this
[INFO] [stderr]     |                              ^^^^^^^^^^^ no item named `SendSpawner` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `embassy-executor` (lib doc) generated 11 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]    Generated /opt/rustwide/target/thumbv7em-none-eabi/doc/embassy_executor/index.html
[INFO] running `Command { std: "docker" "inspect" "33eeae10e09f76e9644614051660fc929686dfbb7732e62319c18767e55a6db4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33eeae10e09f76e9644614051660fc929686dfbb7732e62319c18767e55a6db4", kill_on_drop: false }`
[INFO] [stdout] 33eeae10e09f76e9644614051660fc929686dfbb7732e62319c18767e55a6db4