tray-item 0.10.0

Super simple API to make tray icons/menus on Windows, Mac & Linux
Build #1181738 2024-04-07T14:55:58.467917+00:00
# rustc version
rustc 1.79.0-nightly (aa1c45908 2024-04-06)# docs.rs version
docsrs 0.6.0 (42f2c842 2024-04-05)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/tray-item-0.10.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/tray-item-0.10.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240406-1.79.0-nightly-aa1c45908\", \"--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] [stdout] bb4d279b3edd5534ba65c7e8242c1c526bfe7e1a5e43c927d2ee0250c1218d72
[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" "bb4d279b3edd5534ba65c7e8242c1c526bfe7e1a5e43c927d2ee0250c1218d72", kill_on_drop: false }`
[INFO] [stderr]     Checking tray-item v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `tray-item` as a prerequisite for scraping examples from: example "macos"
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `tray-item` (lib) generated 1 warning
[INFO] [stderr]     Scraping tray-item v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "macos" in package `tray-item` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `tray-item` (example "macos") generated 1 warning
[INFO] [stderr]  Documenting tray-item v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `TrayItemImpl` in module `api`
[INFO] [stderr]   --> src/lib.rs:5:26
[INFO] [stderr]    |
[INFO] [stderr] 5  | pub struct TrayItem(api::TrayItemImpl);
[INFO] [stderr]    |                          ^^^^^^^^^^^^ not found in `api`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/api/mod.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub type TrayItemImpl = linux_ksni::TrayItemLinux;
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/api/mod.rs:18:10
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub type TrayItemImpl = linux_libappindicator::TrayItemLinux;
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/api/mod.rs:21:10
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub type TrayItemImpl = windows::TrayItemWindows;
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr]    = note: the item is gated behind the `windows` feature
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/api/mod.rs:24:10
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub type TrayItemImpl = macos::TrayItemMacOS;
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr]    = note: the item is gated behind the `macos` feature
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TrayItemImpl` in module `api`
[INFO] [stderr]   --> src/lib.rs:50:46
[INFO] [stderr]    |
[INFO] [stderr] 50 |     pub fn inner_mut(&mut self) -> &mut api::TrayItemImpl {
[INFO] [stderr]    |                                              ^^^^^^^^^^^^ not found in `api`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/api/mod.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub type TrayItemImpl = linux_ksni::TrayItemLinux;
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/api/mod.rs:18:10
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub type TrayItemImpl = linux_libappindicator::TrayItemLinux;
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/api/mod.rs:21:10
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub type TrayItemImpl = windows::TrayItemWindows;
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr]    = note: the item is gated behind the `windows` feature
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/api/mod.rs:24:10
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub type TrayItemImpl = macos::TrayItemMacOS;
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr]    = note: the item is gated behind the `macos` feature
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not document `tray-item`
[INFO] running `Command { std: "docker" "inspect" "bb4d279b3edd5534ba65c7e8242c1c526bfe7e1a5e43c927d2ee0250c1218d72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb4d279b3edd5534ba65c7e8242c1c526bfe7e1a5e43c927d2ee0250c1218d72", kill_on_drop: false }`
[INFO] [stdout] bb4d279b3edd5534ba65c7e8242c1c526bfe7e1a5e43c927d2ee0250c1218d72