rio-window 0.2.4

Winit fork maintained for Rio terminal
Documentation
Build #1638115 2025-01-17T23:05:34.006755+00:00
# rustc version
rustc 1.86.0-nightly (99db2737c 2025-01-16)# docs.rs version
docsrs 0.6.0 (13d4ccea 2025-01-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/rio-window-0.2.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/rio-window-0.2.4/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250116-1.86.0-nightly-99db2737c\", \"--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] 7fdcd53e6eb4c546c002ceb7524ef8d8fab804793111ee4e16ea8e92f74177d2
[INFO] running `Command { std: "docker" "start" "-a" "7fdcd53e6eb4c546c002ceb7524ef8d8fab804793111ee4e16ea8e92f74177d2", kill_on_drop: false }`
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]    --> src/platform_impl/linux/mod.rs:664:30
[INFO] [stderr]     |
[INFO] [stderr] 664 |         for hook in unsafe { XLIB_ERROR_HOOKS.lock() }.unwrap().iter() {
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/platform/x11.rs:82:9
[INFO] [stderr]    |
[INFO] [stderr] 82 | /         crate::platform_impl::XLIB_ERROR_HOOKS
[INFO] [stderr] 83 | |             .lock()
[INFO] [stderr]    | |___________________^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `rio-window` (lib) generated 2 warnings
[INFO] [stderr]     Scraping rio-window v0.2.4 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting rio-window v0.2.4 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `window_handle_any_thread`
[INFO] [stderr]    --> src/platform/windows.rs:441:34
[INFO] [stderr]     |
[INFO] [stderr] 441 |     /// It is possible to call [`window_handle_any_thread`] to get around Windows's thread
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ no item named `window_handle_any_thread` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/lib.rs:166:9
[INFO] [stderr]     |
[INFO] [stderr] 166 | #![deny(rustdoc::broken_intra_doc_links)]
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `HasWindowHandle`
[INFO] [stderr]    --> src/platform/windows.rs:443:29
[INFO] [stderr]     |
[INFO] [stderr] 443 |     /// that requires the [`HasWindowHandle`] trait, while ignoring thread affinity limitations.
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^ no item named `HasWindowHandle` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `HasWindowHandle`
[INFO] [stderr]    --> src/platform/windows.rs:446:66
[INFO] [stderr]     |
[INFO] [stderr] 446 |     /// uses the inner window handle as a mean of implementing [`HasWindowHandle`]. It wraps
[INFO] [stderr]     |                                                                  ^^^^^^^^^^^^^^^ no item named `HasWindowHandle` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `rio-window` (lib doc) generated 3 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.96s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rio_window/index.html
[INFO] running `Command { std: "docker" "inspect" "7fdcd53e6eb4c546c002ceb7524ef8d8fab804793111ee4e16ea8e92f74177d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fdcd53e6eb4c546c002ceb7524ef8d8fab804793111ee4e16ea8e92f74177d2", kill_on_drop: false }`
[INFO] [stdout] 7fdcd53e6eb4c546c002ceb7524ef8d8fab804793111ee4e16ea8e92f74177d2