Skip to content

winit: Fix building without wayland feature #584

winit: Fix building without wayland feature

winit: Fix building without wayland feature #584

Triggered via push January 13, 2025 17:26
Status Failure
Total duration 1m 37s
Artifacts

check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 27 warnings
wasm: winit/src/program.rs#L379
unresolved import `winit::platform::web::WindowExtWebSys`
wasm: winit/src/program.rs#L504
unresolved import `winit::platform::web::WindowAttributesExtWebSys`
wasm: winit/src/program.rs#L519
unresolved import `winit::platform::web::WindowExtWebSys`
wasm: winit/src/program.rs#L639
unresolved import `winit::platform::web::EventLoopExtWebSys`
wasm: winit/src/program.rs#L640
no method named `spawn_app` found for struct `EventLoop` in the current scope
wasm: winit/src/program.rs#L380
no method named `canvas` found for struct `std::sync::Arc<dyn winit::window::Window>` in the current scope
wasm: winit/src/program.rs#L506
no method named `with_canvas` found for struct `WindowAttributes` in the current scope
wasm: winit/src/program.rs#L511
type annotations needed for `std::sync::Arc<_, _>`
wasm
Process completed with exit code 101.
widget
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
widget: runtime/src/dnd.rs#L3
unused import: `std::any::Any`
widget: runtime/src/dnd.rs#L6
unused import: `iced_core::clipboard::DndSource`
widget: runtime/src/dnd.rs#L7
unused import: `AsMimeTypes`
widget: runtime/src/lib.rs#L44
unused import: `Color`
widget: graphics/src/damage.rs#L48
unused import: `std::cmp::Ordering`
widget: widget/src/image/viewer.rs#L9
unused import: `Image`
widget: widget/src/scrollable.rs#L766
variable does not need to be mutable
widget: widget/src/overlay/menu.rs#L343
field `text_wrap` is never read
wasm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
wasm: graphics/src/damage.rs#L48
unused import: `std::cmp::Ordering`
wasm: runtime/src/dnd.rs#L3
unused import: `std::any::Any`
wasm: runtime/src/dnd.rs#L6
unused import: `iced_core::clipboard::DndSource`
wasm: runtime/src/dnd.rs#L7
unused import: `AsMimeTypes`
wasm: runtime/src/lib.rs#L44
unused import: `Color`
wasm: widget/src/image/viewer.rs#L9
unused import: `Image`
wasm: widget/src/scrollable.rs#L766
variable does not need to be mutable
wasm: widget/src/overlay/menu.rs#L343
field `text_wrap` is never read
wasm: winit/src/clipboard.rs#L4
unused import: `any::Any`
wasm: winit/src/conversion.rs#L14
unused import: `iced_futures::core::event::PlatformSpecific`
wasm: runtime/src/dnd.rs#L3
unused import: `std::any::Any`
wasm: runtime/src/dnd.rs#L6
unused import: `iced_core::clipboard::DndSource`
wasm: runtime/src/dnd.rs#L7
unused import: `AsMimeTypes`
wasm: runtime/src/lib.rs#L44
unused import: `Color`
wasm: graphics/src/damage.rs#L48
unused import: `std::cmp::Ordering`
wasm: widget/src/scrollable.rs#L766
variable does not need to be mutable
wasm: widget/src/overlay/menu.rs#L343
field `text_wrap` is never read