[INFO] fetching crate azul-winit 0.24.0... [INFO] testing azul-winit-0.24.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate azul-winit 0.24.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate azul-winit 0.24.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-9/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80bb41ed5f7ebcb62a872a5a53e5b22ccc00320ef6ef39cdba0f82f32a469417 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "80bb41ed5f7ebcb62a872a5a53e5b22ccc00320ef6ef39cdba0f82f32a469417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80bb41ed5f7ebcb62a872a5a53e5b22ccc00320ef6ef39cdba0f82f32a469417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80bb41ed5f7ebcb62a872a5a53e5b22ccc00320ef6ef39cdba0f82f32a469417", kill_on_drop: false }` [INFO] [stdout] 80bb41ed5f7ebcb62a872a5a53e5b22ccc00320ef6ef39cdba0f82f32a469417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 108bb1770666b0c216cfaa25b0367fb9e215269aab6195bfcf974d50fb1db6f2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "108bb1770666b0c216cfaa25b0367fb9e215269aab6195bfcf974d50fb1db6f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling azul-winit v0.24.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-misc v1.0.0 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "108bb1770666b0c216cfaa25b0367fb9e215269aab6195bfcf974d50fb1db6f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108bb1770666b0c216cfaa25b0367fb9e215269aab6195bfcf974d50fb1db6f2", kill_on_drop: false }` [INFO] [stdout] 108bb1770666b0c216cfaa25b0367fb9e215269aab6195bfcf974d50fb1db6f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76cf11d48ca8d8f675aae238fdce4be60493549d2f894437cf26be01961675c6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "76cf11d48ca8d8f675aae238fdce4be60493549d2f894437cf26be01961675c6", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simple_logger v1.11.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling azul-winit v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> 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] 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] [stderr] error: could not compile `azul-winit` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/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/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[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: 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/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 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[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: 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 crate or module `winit` [INFO] [stdout] --> examples/transparent.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/multithreaded.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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/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 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[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 `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 `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[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[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_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[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: aborting due to 12 previous errors [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/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 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 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 `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: 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 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: 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 `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[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[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[E0412]: cannot find type `PhysicalSize` in this scope [INFO] [stdout] --> examples/multithreaded.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | const WINDOW_SIZE: PhysicalSize = PhysicalSize::new(600, 400); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalSize` [INFO] [stdout] --> examples/multithreaded.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | const WINDOW_SIZE: PhysicalSize = PhysicalSize::new(600, 400); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/multithreaded.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/multithreaded.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/multithreaded.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | ... KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/multithreaded.rs:86:55 [INFO] [stdout] | [INFO] [stdout] 86 | ... (true, false) => Some(Fullscreen::Borderless(None)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::Fullscreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/multithreaded.rs:87:54 [INFO] [stdout] | [INFO] [stdout] 87 | ... (true, true) => Some(Fullscreen::Exclusive( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::Fullscreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalSize` [INFO] [stdout] --> examples/multithreaded.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | ... true => PhysicalSize::new( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Position` [INFO] [stdout] --> examples/multithreaded.rs:126:62 [INFO] [stdout] | [INFO] [stdout] 126 | ... .set_cursor_position(Position::Physical( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalPosition` [INFO] [stdout] --> examples/multithreaded.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | ... PhysicalPosition::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/multithreaded.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/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[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[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[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[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 type `ControlFlow` [INFO] [stdout] --> examples/set_ime_position.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/set_ime_position.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/set_ime_position.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | event: WindowEvent::CursorMoved { position, .. }, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/set_ime_position.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/set_ime_position.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | WindowEvent::MouseInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/set_ime_position.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/set_ime_position.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/set_ime_position.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/set_ime_position.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | *control_flow = ControlFlow::Exit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/set_ime_position.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/set_ime_position.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let window = WindowBuilder::new().build(&event_loop).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhysicalPosition` [INFO] [stdout] --> examples/set_ime_position.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | let mut cursor_position = PhysicalPosition::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use azul_winit::dpi::PhysicalPosition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: 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: 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: 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] [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 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] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "76cf11d48ca8d8f675aae238fdce4be60493549d2f894437cf26be01961675c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76cf11d48ca8d8f675aae238fdce4be60493549d2f894437cf26be01961675c6", kill_on_drop: false }` [INFO] [stdout] 76cf11d48ca8d8f675aae238fdce4be60493549d2f894437cf26be01961675c6