i-slint-backend-selector 1.9.2

Helper crate to pick the default rendering backend for Slint
Build #1619054 2025-01-13T10:13:19.713361+00:00
# rustc version
rustc 1.86.0-nightly (48a426eca 2025-01-12)# 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/i-slint-backend-selector-1.9.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/i-slint-backend-selector-1.9.2/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: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\", \"-20250112-1.86.0-nightly-48a426eca\", \"--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] fbb6c545f8378a58e44b7f8b2fea53213adcad97f7ce1ee5c3a1f43d39fd8d7e
[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" "fbb6c545f8378a58e44b7f8b2fea53213adcad97f7ce1ee5c3a1f43d39fd8d7e", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking i-slint-backend-winit v1.9.2
[INFO] [stderr] error: Please select a feature to build with the winit backend: `renderer-femtovg`, `renderer-skia`, `renderer-skia-opengl`, `renderer-skia-vulkan` or `renderer-software`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/i-slint-backend-winit-1.9.2/lib.rs:108:9
[INFO] [stderr]     |
[INFO] [stderr] 108 | ...   compile_error!("Please select a feature to build with the winit backend: `renderer-femtovg`, `renderer-skia`, `renderer-skia-opengl`, `renderer-skia-vulkan` or `renderer-software`...
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: Please select a feature to build with the winit backend: `renderer-femtovg`, `renderer-skia`, `renderer-skia-opengl`, `renderer-skia-vulkan` or `renderer-software`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/i-slint-backend-winit-1.9.2/lib.rs:121:13
[INFO] [stderr]     |
[INFO] [stderr] 121 | ...   compile_error!("Please select a feature to build with the winit backend: `renderer-femtovg`, `renderer-skia`, `renderer-skia-opengl`, `renderer-skia-vulkan` or `renderer-software`...
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `raw_window_handle` in `winit`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/i-slint-backend-winit-1.9.2/clipboard.rs:21:30
[INFO] [stderr]     |
[INFO] [stderr] 21  |     _display_handle: &winit::raw_window_handle::DisplayHandle<'_>,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^ could not find `raw_window_handle` in `winit`
[INFO] [stderr]     |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.8/src/lib.rs:194:19
[INFO] [stderr]     |
[INFO] [stderr] 194 | pub use rwh_06 as raw_window_handle;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: the item is gated behind the `rwh_06` feature
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.8/src/lib.rs:193:7
[INFO] [stderr]     |
[INFO] [stderr] 193 | #[cfg(feature = "rwh_06")]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DEFAULT_RENDERER_NAME` in this scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/i-slint-backend-winit-1.9.2/lib.rs:298:40
[INFO] [stderr]     |
[INFO] [stderr] 298 |                         renderer_name, DEFAULT_RENDERER_NAME
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `display_handle` found for struct `EventLoop` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/i-slint-backend-winit-1.9.2/event_loop.rs:82:18
[INFO] [stderr]    |
[INFO] [stderr] 81 |               &instance
[INFO] [stderr]    |  ______________-
[INFO] [stderr] 82 | |                 .display_handle()
[INFO] [stderr]    | |_________________-^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: there is a method `owned_display_handle` with a similar name
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 .owned_display_handle()
[INFO] [stderr]    |                  ~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/i-slint-backend-winit-1.9.2/lib.rs:112:34
[INFO] [stderr]     |
[INFO] [stderr] 112 | fn default_renderer_factory() -> Box<dyn WinitCompatibleRenderer> {
[INFO] [stderr]     |    ------------------------      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Box<dyn WinitCompatibleRenderer>`, found `()`
[INFO] [stderr]     |    |
[INFO] [stderr]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected struct `Box<(dyn WinitCompatibleRenderer + 'static)>`
[INFO] [stderr]             found unit type `()`
[INFO] [stderr] 
[INFO] [stderr] error[E0282]: type annotations needed
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/i-slint-backend-winit-1.9.2/lib.rs:143:16
[INFO] [stderr]     |
[INFO] [stderr] 143 |     .find_map(|renderer_factory| {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^
[INFO] [stderr] 144 |         WinitWindowAdapter::new(
[INFO] [stderr] 145 |             renderer_factory(),
[INFO] [stderr]     |             ------------------ type must be known at this point
[INFO] [stderr]     |
[INFO] [stderr] help: consider giving this closure parameter an explicit type
[INFO] [stderr]     |
[INFO] [stderr] 143 |     .find_map(|renderer_factory: /* Type */| {
[INFO] [stderr]     |                                ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0282, E0308, E0425, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0282`.
[INFO] [stderr] error: could not compile `i-slint-backend-winit` (lib) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "fbb6c545f8378a58e44b7f8b2fea53213adcad97f7ce1ee5c3a1f43d39fd8d7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbb6c545f8378a58e44b7f8b2fea53213adcad97f7ce1ee5c3a1f43d39fd8d7e", kill_on_drop: false }`
[INFO] [stdout] fbb6c545f8378a58e44b7f8b2fea53213adcad97f7ce1ee5c3a1f43d39fd8d7e