[INFO] fetching crate azul-winit 0.24.0... [INFO] checking azul-winit-0.24.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate azul-winit 0.24.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate azul-winit 0.24.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio-misc v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d2cec358de06ad9a14b13d762f4b6c1a35c1577dcb63c23d58dee4d95e4996f [INFO] running `Command { std: "docker" "start" "-a" "8d2cec358de06ad9a14b13d762f4b6c1a35c1577dcb63c23d58dee4d95e4996f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d2cec358de06ad9a14b13d762f4b6c1a35c1577dcb63c23d58dee4d95e4996f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d2cec358de06ad9a14b13d762f4b6c1a35c1577dcb63c23d58dee4d95e4996f", kill_on_drop: false }` [INFO] [stdout] 8d2cec358de06ad9a14b13d762f4b6c1a35c1577dcb63c23d58dee4d95e4996f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3390be5d9c42beb9761be0090148fbc18890584d21c393f51784d481930aac84 [INFO] running `Command { std: "docker" "start" "-a" "3390be5d9c42beb9761be0090148fbc18890584d21c393f51784d481930aac84", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] log v0.4.14: std [INFO] [stderr] scopeguard v1.1.0: default, use_std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling azul-winit v0.24.0 (/tmp/fixit) [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking mio-misc v1.0.0 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/multithreaded.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/custom_events.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/multiwindow.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/cursor.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/control_flow.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/timer.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/serde_objects.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/web.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/minimize.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/drag_window.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/window_run_return.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/window_debug.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/menu.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/cursor_grab.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/set_ime_position.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/request_redraw_threaded.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/resizable.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/send_objects.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/sync_object.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/window.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/request_redraw.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/video_modes.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/monitor_list.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/window_icon.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/transparent.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/handling_close.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/mouse_wheel.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/fullscreen.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/min_max_size.rs from 2018 edition to 2021 [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[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 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 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 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 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 crate or module `winit` [INFO] [stdout] --> examples/custom_events.rs:4:9 [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 `ControlFlow` [INFO] [stdout] --> examples/custom_events.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | *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/custom_events.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Event::UserEvent(event) => println!("user 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/custom_events.rs:41:13 [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/custom_events.rs:42:24 [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 `ControlFlow` [INFO] [stdout] --> examples/custom_events.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | } => *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/custom_events.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let event_loop = EventLoop::::with_user_event(); [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/custom_events.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | 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 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azul-winit` due to 30 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/cursor.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/cursor.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | *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.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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/cursor.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | 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.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | ... 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 `Event` [INFO] [stdout] --> examples/cursor.rs:41:13 [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/cursor.rs:42:24 [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 `ControlFlow` [INFO] [stdout] --> examples/cursor.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | *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 `CursorIcon` [INFO] [stdout] --> examples/cursor.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | CursorIcon::Default, [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/cursor.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | CursorIcon::Crosshair, [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/cursor.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | CursorIcon::Hand, [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/cursor.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | CursorIcon::Arrow, [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/cursor.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | CursorIcon::Move, [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/cursor.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | CursorIcon::Text, [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/cursor.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | CursorIcon::Wait, [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/cursor.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | CursorIcon::Help, [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/cursor.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | 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/cursor.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | CursorIcon::NotAllowed, [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/cursor.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | CursorIcon::ContextMenu, [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/cursor.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | CursorIcon::Cell, [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/cursor.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | CursorIcon::VerticalText, [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/cursor.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | CursorIcon::Alias, [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/cursor.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | CursorIcon::Copy, [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/cursor.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | CursorIcon::NoDrop, [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/cursor.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | CursorIcon::Grab, [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/cursor.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | CursorIcon::Grabbing, [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/cursor.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | CursorIcon::AllScroll, [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/cursor.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | CursorIcon::ZoomIn, [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/cursor.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | CursorIcon::ZoomOut, [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/cursor.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | CursorIcon::EResize, [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/cursor.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | CursorIcon::NResize, [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/cursor.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | CursorIcon::NeResize, [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/cursor.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | CursorIcon::NwResize, [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/cursor.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | CursorIcon::SResize, [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/cursor.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | CursorIcon::SeResize, [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/cursor.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | CursorIcon::SwResize, [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/cursor.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | CursorIcon::WResize, [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/cursor.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | CursorIcon::EwResize, [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/cursor.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | CursorIcon::NsResize, [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/cursor.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | CursorIcon::NeswResize, [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/cursor.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | CursorIcon::NwseResize, [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/cursor.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | CursorIcon::ColResize, [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/cursor.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | CursorIcon::RowResize, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorIcon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/cursor.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.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | 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[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/cursor.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | ... 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 `CursorIcon` in this scope [INFO] [stdout] --> examples/cursor.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | const CURSORS: &[CursorIcon] = &[ [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::CursorIcon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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: aborting due to 47 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[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] 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 crate or module `winit` [INFO] [stdout] --> examples/multiwindow.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 `ControlFlow` [INFO] [stdout] --> examples/multiwindow.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/multiwindow.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Event::WindowEvent { event, window_id } => { [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/multiwindow.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | 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/multiwindow.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | ... *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/multiwindow.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | 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/multiwindow.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | ... 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 `EventLoop` [INFO] [stdout] --> examples/multiwindow.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 `Window` [INFO] [stdout] --> examples/multiwindow.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let window = Window::new(&event_loop).unwrap(); [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[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/multiwindow.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | ... 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 `Window` [INFO] [stdout] --> examples/multiwindow.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | let window = Window::new(&event_loop).unwrap(); [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: aborting due to 11 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] [stdout] error: aborting due to 23 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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/timer.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] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/timer.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 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/timer.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | 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/timer.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Event::NewEvents(StartCause::ResumeTimeReached { .. }) => { [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/timer.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | Event::NewEvents(StartCause::ResumeTimeReached { .. }) => { [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/timer.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | 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/timer.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | 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/timer.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | } => *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/timer.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | 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/timer.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | 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/timer.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | *control_flow = ControlFlow::WaitUntil(Instant::now() + timer_length) [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/timer.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | *control_flow = ControlFlow::WaitUntil(Instant::now() + timer_length); [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: aborting due to 12 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/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[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: 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/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[E0463]: can't find crate for `winit` [INFO] [stdout] --> examples/minimize.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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[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 `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[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] [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: 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[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/window_debug.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 `ControlFlow` [INFO] [stdout] --> examples/window_debug.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | *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_debug.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Event::DeviceEvent { [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/window_debug.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | DeviceEvent::Key(KeyboardInput { [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/window_debug.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | 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/window_debug.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | VirtualKeyCode::M => { [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/window_debug.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | VirtualKeyCode::V => { [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/window_debug.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 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_debug.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | event: WindowEvent::KeyboardInput { input, .. }, [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/window_debug.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | 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/window_debug.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | VirtualKeyCode::E => { [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/window_debug.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | VirtualKeyCode::F => { [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/window_debug.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | VirtualKeyCode::P => { [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/window_debug.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | VirtualKeyCode::M => { [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/window_debug.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | VirtualKeyCode::Q => { [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/window_debug.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | *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/window_debug.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | VirtualKeyCode::V => { [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/window_debug.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | VirtualKeyCode::X => { [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/window_debug.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | 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_debug.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | 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_debug.rs:121:62 [INFO] [stdout] | [INFO] [stdout] 121 | } 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 `EventLoop` [INFO] [stdout] --> examples/window_debug.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 3 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 3 | 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_debug.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogicalSize` [INFO] [stdout] --> examples/window_debug.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | .with_inner_size(LogicalSize::new(100.0, 100.0)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use azul_winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/window_debug.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | DeviceEvent::Key(KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 3 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/window_debug.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 3 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhysicalSize` in this scope [INFO] [stdout] --> examples/window_debug.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | fn area(size: PhysicalSize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use azul_winit::dpi::PhysicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/window_debug.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | ... window.set_fullscreen(Some(Fullscreen::Exclusive(mode))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | 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/window_debug.rs:89:56 [INFO] [stdout] | [INFO] [stdout] 89 | ... window.set_fullscreen(Some(Fullscreen::Borderless(monitor))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | 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/window_debug.rs:96:56 [INFO] [stdout] | [INFO] [stdout] 96 | ... window.set_fullscreen(Some(Fullscreen::Borderless(None))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use azul_winit::window::Fullscreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 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[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] [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[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] [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] [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 `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 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] [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 `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: 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/resizable.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/resizable.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | *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/resizable.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 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/resizable.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | 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/resizable.rs:27:64 [INFO] [stdout] | [INFO] [stdout] 27 | 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/resizable.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | 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/resizable.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | ... virtual_keycode: Some(VirtualKeyCode::Space), [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/resizable.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | ... 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 `EventLoop` [INFO] [stdout] --> examples/resizable.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/resizable.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | 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 `LogicalSize` [INFO] [stdout] --> examples/resizable.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | .with_inner_size(LogicalSize::new(400.0, 200.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::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/resizable.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | 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 12 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] [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] --> tests/sync_object.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | needs_sync::(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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] 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/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: aborting due to 13 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] --> tests/send_objects.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | needs_send::>(); [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] --> tests/send_objects.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | needs_send::(); [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] --> tests/send_objects.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | needs_send::(); [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] --> tests/send_objects.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | needs_send::(); [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] --> tests/send_objects.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | needs_send::(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/menu.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/menu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winit::platform::windows::WindowBuilderExtWindows; [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 `winapi` [INFO] [stdout] --> examples/menu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{CreateMenu, AppendMenuW}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> examples/menu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::{MF_STRING, MF_SEPARATOR, MF_POPUP}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> examples/menu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::basetsd::UINT_PTR; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/menu.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | *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/menu.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Event::WindowEvent { event, window_id } if window_id == window.id() => { [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/menu.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | 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/menu.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | *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/menu.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | WindowEvent::Command(IDM_FILE_NEW) => { [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/menu.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | WindowEvent::Command(IDM_FILE_OPEN) => { [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/menu.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | WindowEvent::Command(IDM_FILE_QUIT) => { [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/menu.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | *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/menu.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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/menu.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | 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[E0425]: cannot find function, tuple struct or tuple variant `CreateMenu` in this scope [INFO] [stdout] --> examples/menu.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let menu = unsafe { CreateMenu() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> examples/menu.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | AppendMenuW(menu, MF_STRING, IDM_FILE_NEW.into(), convert_widestring("&New").as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> examples/menu.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | AppendMenuW(menu, MF_STRING, IDM_FILE_NEW.into(), convert_widestring("&New").as_ptr()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> examples/menu.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | AppendMenuW(menu, MF_STRING, IDM_FILE_OPEN.into(), convert_widestring("&Open").as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> examples/menu.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | AppendMenuW(menu, MF_STRING, IDM_FILE_OPEN.into(), convert_widestring("&Open").as_ptr()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> examples/menu.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | AppendMenuW(menu, MF_SEPARATOR, 0, core::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope [INFO] [stdout] --> examples/menu.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | AppendMenuW(menu, MF_SEPARATOR, 0, core::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> examples/menu.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | AppendMenuW(menu, MF_STRING, IDM_FILE_QUIT.into(), convert_widestring("&Quit").as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> examples/menu.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | AppendMenuW(menu, MF_STRING, IDM_FILE_QUIT.into(), convert_widestring("&Quit").as_ptr()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateMenu` in this scope [INFO] [stdout] --> examples/menu.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let menubar = unsafe { CreateMenu() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope [INFO] [stdout] --> examples/menu.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | AppendMenuW(menubar, MF_POPUP, menu as UINT_PTR, convert_widestring("&File").as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_POPUP` in this scope [INFO] [stdout] --> examples/menu.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | AppendMenuW(menubar, MF_POPUP, menu as UINT_PTR, convert_widestring("&File").as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT_PTR` in this scope [INFO] [stdout] --> examples/menu.rs:41:48 [INFO] [stdout] | [INFO] [stdout] 41 | AppendMenuW(menubar, MF_POPUP, menu as UINT_PTR, convert_widestring("&File").as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/menu.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | 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/menu.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | .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] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [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 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/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 `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] 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] [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[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 10 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/video_modes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::event_loop::EventLoop; [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/video_modes.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: aborting due to 2 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/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 `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: 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 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] 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] [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 `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 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 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 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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/mouse_wheel.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/mouse_wheel.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | *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/mouse_wheel.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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/mouse_wheel.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | 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/mouse_wheel.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | 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/mouse_wheel.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 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/mouse_wheel.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | DeviceEvent::MouseWheel { delta } => match delta { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DeviceEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/mouse_wheel.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | winit::event::MouseScrollDelta::LineDelta(x, y) => { [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/mouse_wheel.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | winit::event::MouseScrollDelta::PixelDelta(p) => { [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/mouse_wheel.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/mouse_wheel.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 11 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/handling_close.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/handling_close.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winit::event::{ [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/handling_close.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | *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/handling_close.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Event::WindowEvent { 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/handling_close.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | 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/handling_close.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | WindowEvent::KeyboardInput { [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/handling_close.rs:66:53 [INFO] [stdout] | [INFO] [stdout] 66 | ... *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/handling_close.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/handling_close.rs:12:19 [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[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/handling_close.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | ... 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 10 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] [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[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] [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[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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/min_max_size.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/min_max_size.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 `Event` [INFO] [stdout] --> examples/min_max_size.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/min_max_size.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/min_max_size.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | } => *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/min_max_size.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/min_max_size.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 `LogicalSize` [INFO] [stdout] --> examples/min_max_size.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | window.set_min_inner_size(Some(LogicalSize::new(400.0, 200.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::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogicalSize` [INFO] [stdout] --> examples/min_max_size.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | window.set_max_inner_size(Some(LogicalSize::new(800.0, 400.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::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [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] [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3390be5d9c42beb9761be0090148fbc18890584d21c393f51784d481930aac84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3390be5d9c42beb9761be0090148fbc18890584d21c393f51784d481930aac84", kill_on_drop: false }` [INFO] [stdout] 3390be5d9c42beb9761be0090148fbc18890584d21c393f51784d481930aac84