[INFO] fetching crate azul-winit 0.24.0... [INFO] testing azul-winit-0.24.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate azul-winit 0.24.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate azul-winit 0.24.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate azul-winit 0.24.0 [INFO] finished tweaking crates.io crate azul-winit 0.24.0 [INFO] tweaked toml for crates.io crate azul-winit 0.24.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate azul-winit 0.24.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 4ff61a7f2ed653724bc2d811ff9e1c7fafd45285933ba0667eb7696ee1d0b4ac [INFO] running `Command { std: "docker" "start" "-a" "4ff61a7f2ed653724bc2d811ff9e1c7fafd45285933ba0667eb7696ee1d0b4ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ff61a7f2ed653724bc2d811ff9e1c7fafd45285933ba0667eb7696ee1d0b4ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff61a7f2ed653724bc2d811ff9e1c7fafd45285933ba0667eb7696ee1d0b4ac", kill_on_drop: false }` [INFO] [stdout] 4ff61a7f2ed653724bc2d811ff9e1c7fafd45285933ba0667eb7696ee1d0b4ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] b8acf737e301db8cbd600399217064888409e187e24f5fc7735e3cbf726840ea [INFO] running `Command { std: "docker" "start" "-a" "b8acf737e301db8cbd600399217064888409e187e24f5fc7735e3cbf726840ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling azul-winit v0.24.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-misc v1.0.0 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:589:10 [INFO] [stdout] | [INFO] [stdout] 589 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InputMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "b8acf737e301db8cbd600399217064888409e187e24f5fc7735e3cbf726840ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8acf737e301db8cbd600399217064888409e187e24f5fc7735e3cbf726840ea", kill_on_drop: false }` [INFO] [stdout] b8acf737e301db8cbd600399217064888409e187e24f5fc7735e3cbf726840ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 554ce55beba8886179384439ea52458b35b310572a69e47861405f39569a8741 [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" "554ce55beba8886179384439ea52458b35b310572a69e47861405f39569a8741", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:589:10 [INFO] [stdout] | [INFO] [stdout] 589 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InputMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling simple_logger v1.11.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling azul-winit v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/multithreaded.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/web.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `VirtualKeyCode` [INFO] [stdout] --> examples/multithreaded.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | use VirtualKeyCode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/transparent.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/set_ime_position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/monitor_list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::{event_loop::EventLoop, window::WindowBuilder}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/multithreaded.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | WindowEvent::Moved { .. } => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/multithreaded.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/multithreaded.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | ... state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorIcon` [INFO] [stdout] --> examples/multithreaded.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | ... true => CursorIcon::Progress, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorIcon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorIcon` [INFO] [stdout] --> examples/multithreaded.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | ... false => CursorIcon::Default, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorIcon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Left` is not bound in all patterns [INFO] [stdout] --> examples/multithreaded.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | ... Right | Left => { [INFO] [stdout] | ^^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Left` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Left` [INFO] [stdout] --> examples/multithreaded.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | ... Right | Left => { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Right` is not bound in all patterns [INFO] [stdout] --> examples/multithreaded.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | ... Right | Left => { [INFO] [stdout] | ----- ^^^^ pattern doesn't bind `Right` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Right` [INFO] [stdout] --> examples/multithreaded.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | ... Right | Left => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/cursor_grab.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/cursor_grab.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | use winit::event::VirtualKeyCode::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> examples/multithreaded.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | ... if let Size::Physical(size) = WINDOW_SIZE.into() { [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/multithreaded.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | true => ControlFlow::Wait, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/multithreaded.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | false => ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/drag_window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/multithreaded.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | Event::WindowEvent { event, window_id } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/multithreaded.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | WindowEvent::CloseRequested [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/multithreaded.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | | WindowEvent::Destroyed [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/multithreaded.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/multithreaded.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | ... state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/multithreaded.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | ... virtual_keycode: Some(VirtualKeyCode::Escape), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhysicalSize` in this scope [INFO] [stdout] --> examples/multithreaded.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | const WINDOW_SIZE: PhysicalSize = PhysicalSize::new(600, 400); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalSize` [INFO] [stdout] --> examples/multithreaded.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | const WINDOW_SIZE: PhysicalSize = PhysicalSize::new(600, 400); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/multithreaded.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/multithreaded.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/multithreaded.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | ... KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/multithreaded.rs:86:55 [INFO] [stdout] | [INFO] [stdout] 86 | ... (true, false) => Some(Fullscreen::Borderless(None)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::Fullscreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/multithreaded.rs:87:54 [INFO] [stdout] | [INFO] [stdout] 87 | ... (true, true) => Some(Fullscreen::Exclusive( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::Fullscreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalSize` [INFO] [stdout] --> examples/multithreaded.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | ... true => PhysicalSize::new( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Position` [INFO] [stdout] --> examples/multithreaded.rs:126:62 [INFO] [stdout] | [INFO] [stdout] 126 | ... .set_cursor_position(Position::Physical( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalPosition` [INFO] [stdout] --> examples/multithreaded.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | ... PhysicalPosition::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/multithreaded.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/web.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/web.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/web.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/web.rs:55:62 [INFO] [stdout] | [INFO] [stdout] 55 | } if window_id == window.id() => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/web.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Event::MainEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/web.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/web.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/transparent.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/transparent.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/transparent.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/transparent.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | } => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/transparent.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/transparent.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/request_redraw.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/window_run_return.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/control_flow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/control_flow.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winit::event::{ElementState, StartCause, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/request_redraw_threaded.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/monitor_list.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/monitor_list.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let window = WindowBuilder::new().build(&event_loop).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/set_ime_position.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/set_ime_position.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/set_ime_position.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | event: WindowEvent::CursorMoved { position, .. }, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/set_ime_position.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/set_ime_position.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | WindowEvent::MouseInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/set_ime_position.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/set_ime_position.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/set_ime_position.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/set_ime_position.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | *control_flow = ControlFlow::Exit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/set_ime_position.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/set_ime_position.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let window = WindowBuilder::new().build(&event_loop).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalPosition` [INFO] [stdout] --> examples/set_ime_position.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | let mut cursor_position = PhysicalPosition::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/fullscreen.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::event::{ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/fullscreen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/fullscreen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::monitor::{MonitorHandle, VideoMode}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/fullscreen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winit::window::{Fullscreen, WindowBuilder}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/window_icon.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/window_icon.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | use winit::event::WindowEvent::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 14 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/cursor_grab.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/cursor_grab.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/cursor_grab.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/cursor_grab.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/cursor_grab.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/cursor_grab.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | ... state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/cursor_grab.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | Escape => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/cursor_grab.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | WindowEvent::ModifiersChanged(m) => modifiers = m, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/cursor_grab.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Event::DeviceEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceEvent` [INFO] [stdout] --> examples/cursor_grab.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | DeviceEvent::MouseMotion { delta } => println!("mouse moved: {:?}", delta), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DeviceEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceEvent` [INFO] [stdout] --> examples/cursor_grab.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | DeviceEvent::Button { button, state } => match state { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DeviceEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/cursor_grab.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | ElementState::Pressed => println!("mouse button {} pressed", button), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/cursor_grab.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | ElementState::Released => println!("mouse button {} released", button), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/cursor_grab.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/cursor_grab.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModifiersState` [INFO] [stdout] --> examples/cursor_grab.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let mut modifiers = ModifiersState::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::ModifiersState; [INFO] [stdout] | [INFO] [stdout] 1 | use sctk::seat::keyboard::ModifiersState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/cursor_grab.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/drag_window.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Event::NewEvents(StartCause::Init) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StartCause` [INFO] [stdout] --> examples/drag_window.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | Event::NewEvents(StartCause::Init) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StartCause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/drag_window.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Event::WindowEvent { event, window_id } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/drag_window.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/drag_window.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/drag_window.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | WindowEvent::MouseInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/drag_window.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | state: ElementState::Pressed, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MouseButton` [INFO] [stdout] --> examples/drag_window.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | button: MouseButton::Left, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MouseButton` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/drag_window.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | WindowEvent::CursorEntered { .. } => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/drag_window.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 4 previous errors [INFO] [stderr] error: could not compile `azul-winit` due to 20 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/drag_window.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/drag_window.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | virtual_keycode: Some(VirtualKeyCode::X), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/window.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | } if window_id == window.id() => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Event::MainEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/window.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/window.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/window.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | .with_inner_size(winit::dpi::LogicalSize::new(128.0, 128.0)) [INFO] [stdout] | ^^^^^^^^^^^ not found in `winit::dpi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/drag_window.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 30 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/drag_window.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let window_1 = WindowBuilder::new().build(&event_loop).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/drag_window.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let window_2 = WindowBuilder::new().build(&event_loop).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/drag_window.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowId` in this scope [INFO] [stdout] --> examples/drag_window.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn name_windows(window_id: WindowId, switched: bool, window_1: &Window, window_2: &Window) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::WindowId; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Window` in this scope [INFO] [stdout] --> examples/drag_window.rs:64:65 [INFO] [stdout] | [INFO] [stdout] 64 | fn name_windows(window_id: WindowId, switched: bool, window_1: &Window, window_2: &Window) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::ffi::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use sctk::window::Window; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Window` in this scope [INFO] [stdout] --> examples/drag_window.rs:64:84 [INFO] [stdout] | [INFO] [stdout] 64 | fn name_windows(window_id: WindowId, switched: bool, window_1: &Window, window_2: &Window) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::ffi::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use sctk::window::Window; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/request_redraw.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/request_redraw.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/request_redraw.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/request_redraw.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/request_redraw.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | WindowEvent::MouseInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/request_redraw.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/request_redraw.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Event::RedrawRequested(_) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/request_redraw.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/request_redraw.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Event::NewEvents(start_cause) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StartCause` [INFO] [stdout] --> examples/control_flow.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | StartCause::WaitCancelled { .. } => mode == Mode::WaitUntil, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StartCause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/control_flow.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | WindowEvent::CloseRequested => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/control_flow.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/control_flow.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | ... state: ElementState::Pressed, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | VirtualKeyCode::Key1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | VirtualKeyCode::Key2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | VirtualKeyCode::Key3 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | VirtualKeyCode::R => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | VirtualKeyCode::Escape => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Event::MainEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | *control_flow = ControlFlow::Exit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | Event::RedrawRequested(_window_id) => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | Event::RedrawEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | Mode::Wait => ControlFlow::Wait, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | ControlFlow::Poll [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/control_flow.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/control_flow.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/control_flow.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | ... ControlFlow::WaitUntil(time::Instant::now() + WAIT_TIME) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::ControlFlow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window_run_return.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window_run_return.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | if let Event::WindowEvent { event, .. } = &event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window_run_return.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/window_run_return.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window_run_return.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | Event::MainEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window_run_return.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | *control_flow = ControlFlow::Exit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/window_run_return.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | let mut event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 2 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/window_run_return.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let _window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 11 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window_icon.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window_icon.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | if let Event::WindowEvent { event, .. } = event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window_icon.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/request_redraw_threaded.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/request_redraw_threaded.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/request_redraw_threaded.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/request_redraw_threaded.rs:31:64 [INFO] [stdout] | [INFO] [stdout] 31 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/request_redraw_threaded.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Event::RedrawRequested(_) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/request_redraw_threaded.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/request_redraw_threaded.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/window_icon.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 2 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/window_icon.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DroppedFile` in this scope [INFO] [stdout] --> examples/window_icon.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | DroppedFile(path) => { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 | use azul_winit::event::WindowEvent::DroppedFile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Icon` in this scope [INFO] [stdout] --> examples/window_icon.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn load_icon(path: &Path) -> Icon { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use azul_winit::window::Icon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Icon` [INFO] [stdout] --> examples/window_icon.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Icon::from_rgba(icon_rgba, icon_width, icon_height).expect("Failed to open icon") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use azul_winit::window::Icon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 21 previous errors [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/fullscreen.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/fullscreen.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/fullscreen.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/fullscreen.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/fullscreen.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/fullscreen.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | (VirtualKeyCode::Escape, _) => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/fullscreen.rs:49:68 [INFO] [stdout] | [INFO] [stdout] 49 | (VirtualKeyCode::Escape, _) => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/fullscreen.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | (VirtualKeyCode::F, ElementState::Pressed) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/fullscreen.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | (VirtualKeyCode::F, ElementState::Pressed) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/fullscreen.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | (VirtualKeyCode::S, ElementState::Pressed) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/fullscreen.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | (VirtualKeyCode::S, ElementState::Pressed) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/fullscreen.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | (VirtualKeyCode::M, ElementState::Pressed) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/fullscreen.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | (VirtualKeyCode::M, ElementState::Pressed) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/fullscreen.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | (VirtualKeyCode::D, ElementState::Pressed) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/fullscreen.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | (VirtualKeyCode::D, ElementState::Pressed) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 11 previous errors [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/fullscreen.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/fullscreen.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | 1 => Fullscreen::Exclusive(prompt_for_video_mode(&prompt_for_monitor(&event_loop))), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::Fullscreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/fullscreen.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | 2 => Fullscreen::Borderless(Some(prompt_for_monitor(&event_loop))), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::Fullscreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/fullscreen.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/fullscreen.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> examples/fullscreen.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | fn prompt_for_monitor(event_loop: &EventLoop<()>) -> MonitorHandle { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonitorHandle` in this scope [INFO] [stdout] --> examples/fullscreen.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | fn prompt_for_monitor(event_loop: &EventLoop<()>) -> MonitorHandle { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::monitor::MonitorHandle; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::MonitorHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonitorHandle` in this scope [INFO] [stdout] --> examples/fullscreen.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | fn prompt_for_video_mode(monitor: &MonitorHandle) -> VideoMode { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::monitor::MonitorHandle; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::MonitorHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VideoMode` in this scope [INFO] [stdout] --> examples/fullscreen.rs:99:54 [INFO] [stdout] | [INFO] [stdout] 99 | fn prompt_for_video_mode(monitor: &MonitorHandle) -> VideoMode { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::monitor::VideoMode; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::VideoMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 9 previous errors [INFO] [stderr] error: could not compile `azul-winit` due to 24 previous errors [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 29 previous errors [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:589:10 [INFO] [stdout] | [INFO] [stdout] 589 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InputMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "554ce55beba8886179384439ea52458b35b310572a69e47861405f39569a8741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "554ce55beba8886179384439ea52458b35b310572a69e47861405f39569a8741", kill_on_drop: false }` [INFO] [stdout] 554ce55beba8886179384439ea52458b35b310572a69e47861405f39569a8741