[INFO] fetching crate cart-tmp-winit 0.22.2... [INFO] checking cart-tmp-winit-0.22.2 against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] extracting crate cart-tmp-winit 0.22.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate cart-tmp-winit 0.22.2 on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate cart-tmp-winit 0.22.2 [INFO] finished tweaking crates.io crate cart-tmp-winit 0.22.2 [INFO] tweaked toml for crates.io crate cart-tmp-winit 0.22.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate cart-tmp-winit 0.22.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded ndk v0.1.0 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded bytemuck v1.3.1 [INFO] [stderr] Downloaded android_log-sys v0.1.2 [INFO] [stderr] Downloaded console_log v0.1.2 [INFO] [stderr] Downloaded image v0.23.8 [INFO] [stderr] Downloaded ndk-sys v0.1.0 [INFO] [stderr] Downloaded ndk-glue v0.1.0 [INFO] [stderr] Downloaded libloading v0.6.2 [INFO] [stderr] Downloaded futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e58bc138918bed06bfc90a54acba6442edede21205b407e36cc718b1b07200e4 [INFO] running `Command { std: "docker" "start" "-a" "e58bc138918bed06bfc90a54acba6442edede21205b407e36cc718b1b07200e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e58bc138918bed06bfc90a54acba6442edede21205b407e36cc718b1b07200e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58bc138918bed06bfc90a54acba6442edede21205b407e36cc718b1b07200e4", kill_on_drop: false }` [INFO] [stdout] e58bc138918bed06bfc90a54acba6442edede21205b407e36cc718b1b07200e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a3c39c03e2eaa57553a1cc1a531a9bca4d86c2717081004049ff728109ee535 [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" "0a3c39c03e2eaa57553a1cc1a531a9bca4d86c2717081004049ff728109ee535", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling cart-tmp-winit v0.22.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking image v0.23.8 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/timer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/cursor_grab.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/cursor_grab.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | use winit::event::VirtualKeyCode::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/video_modes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event_loop::EventLoop; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/fullscreen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/multithreaded.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/timer.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | 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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | 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:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | 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:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/timer.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | } => *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: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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/timer.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | 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 cart_tmp_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:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | *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 cart_tmp_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:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | *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 cart_tmp_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/transparent.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cart-tmp-winit` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/fullscreen.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/fullscreen.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | 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:38:64 [INFO] [stdout] | [INFO] [stdout] 38 | 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:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | 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:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | (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:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | (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:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | (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:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | (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:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | (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:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | (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:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | (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:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | (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:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | (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:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | (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 crate or module `winit` [INFO] [stdout] --> examples/window_debug.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | use VirtualKeyCode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/window.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/min_max_size.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/fullscreen.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | 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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/fullscreen.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | 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 cart_tmp_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:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | 2 => Fullscreen::Borderless(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 cart_tmp_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:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | 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 cart_tmp_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:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | 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 cart_tmp_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_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:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | 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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonitorHandle` in this scope [INFO] [stdout] --> examples/fullscreen.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | 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 cart_tmp_winit::monitor::MonitorHandle; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_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:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | 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 cart_tmp_winit::monitor::MonitorHandle; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_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:98:54 [INFO] [stdout] | [INFO] [stdout] 98 | 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 cart_tmp_winit::monitor::VideoMode; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::VideoMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/control_flow.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/control_flow.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use winit::event::{ElementState, StartCause, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winit` [INFO] [stdout] --> examples/minimize.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window.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/window.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/window.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | } if window_id == window.id() => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Event::MainEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/window.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | 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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/window.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | 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 cart_tmp_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/window.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | .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 cart_tmp_winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/cursor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `EventLoop` [INFO] [stdout] --> examples/video_modes.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | 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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/transparent.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/transparent.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/transparent.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | 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:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | } => *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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | 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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/transparent.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | 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 cart_tmp_winit::window::WindowBuilder; [INFO] [stdout] | [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 type `WindowEvent` [INFO] [stdout] --> examples/multithreaded.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | WindowEvent::Moved { .. } => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/multithreaded.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | 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:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | ... state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorIcon` [INFO] [stdout] --> examples/multithreaded.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | ... 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:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | ... 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:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | ... 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:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | ... 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:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | ... 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:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | ... Right | Left => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: 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 `ControlFlow` [INFO] [stdout] --> examples/min_max_size.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 `ControlFlow` [INFO] [stdout] --> examples/cursor_grab.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/cursor_grab.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/cursor_grab.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/cursor_grab.rs:23:64 [INFO] [stdout] | [INFO] [stdout] 23 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/cursor_grab.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | WindowEvent::KeyboardInput { [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/min_max_size.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/min_max_size.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/min_max_size.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | } => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/min_max_size.rs: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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/min_max_size.rs: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 cart_tmp_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogicalSize` [INFO] [stdout] --> examples/min_max_size.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | window.set_min_inner_size(Some(LogicalSize::new(400.0, 200.0))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogicalSize` [INFO] [stdout] --> examples/min_max_size.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | window.set_max_inner_size(Some(LogicalSize::new(800.0, 400.0))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> examples/multithreaded.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | ... 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 `ElementState` [INFO] [stdout] --> examples/cursor_grab.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | ... state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/cursor_grab.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | Escape => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/cursor_grab.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | WindowEvent::ModifiersChanged(m) => modifiers = m, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/cursor_grab.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Event::DeviceEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceEvent` [INFO] [stdout] --> examples/cursor_grab.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | DeviceEvent::MouseMotion { delta } => println!("mouse moved: {:?}", delta), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DeviceEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceEvent` [INFO] [stdout] --> examples/cursor_grab.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | DeviceEvent::Button { button, state } => match state { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DeviceEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/cursor_grab.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | ElementState::Pressed => println!("mouse button {} pressed", button), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/cursor_grab.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | ElementState::Released => println!("mouse button {} released", button), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/cursor_grab.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | 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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/cursor_grab.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | 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 cart_tmp_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModifiersState` [INFO] [stdout] --> examples/cursor_grab.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | let mut modifiers = ModifiersState::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::event::ModifiersState; [INFO] [stdout] | [INFO] [stdout] 1 | use smithay_client_toolkit::keyboard::ModifiersState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/cursor_grab.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | 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 cart_tmp_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_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/multithreaded.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | 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:152:22 [INFO] [stdout] | [INFO] [stdout] 152 | 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:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | 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:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | 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:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | | 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:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [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 `ElementState` [INFO] [stdout] --> examples/multithreaded.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | ... 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:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | ... virtual_keycode: Some(VirtualKeyCode::Escape), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhysicalSize` in this scope [INFO] [stdout] --> examples/multithreaded.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | 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 cart_tmp_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:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | 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 cart_tmp_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:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | 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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/multithreaded.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | 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 cart_tmp_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:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | ... 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 cart_tmp_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_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:42 [INFO] [stdout] | [INFO] [stdout] 86 | ... Some(Fullscreen::Borderless(window.current_monitor())) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_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:88:54 [INFO] [stdout] | [INFO] [stdout] 88 | ... (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 cart_tmp_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:118:41 [INFO] [stdout] | [INFO] [stdout] 118 | ... 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 cart_tmp_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:127:62 [INFO] [stdout] | [INFO] [stdout] 127 | ... .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 cart_tmp_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:128:45 [INFO] [stdout] | [INFO] [stdout] 128 | ... PhysicalPosition::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_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:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | 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 cart_tmp_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | Event::NewEvents(start_cause) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StartCause` [INFO] [stdout] --> examples/control_flow.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | StartCause::WaitCancelled { .. } => mode == Mode::WaitUntil, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StartCause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/control_flow.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | WindowEvent::CloseRequested => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/control_flow.rs:53:17 [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/control_flow.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | ... state: ElementState::Pressed, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | VirtualKeyCode::Key1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | VirtualKeyCode::Key2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | VirtualKeyCode::Key3 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | VirtualKeyCode::R => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | VirtualKeyCode::Escape => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Event::MainEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | *control_flow = ControlFlow::Exit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Event::RedrawRequested(_window_id) => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | Event::RedrawEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | Mode::Wait => ControlFlow::Wait, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window_debug.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_debug.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | Event::DeviceEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceEvent` [INFO] [stdout] --> examples/window_debug.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | DeviceEvent::Key(KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DeviceEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/window_debug.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | state: ElementState::Pressed, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/window_debug.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | VirtualKeyCode::M => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/window_debug.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | VirtualKeyCode::V => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window_debug.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/window_debug.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | event: WindowEvent::KeyboardInput { input, .. }, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | ControlFlow::Poll [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/control_flow.rs: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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/control_flow.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | 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 cart_tmp_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/control_flow.rs:55:25 [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 cart_tmp_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | ... ControlFlow::WaitUntil(time::Instant::now() + WAIT_TIME) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::event_loop::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::time::fmt::string::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 `ElementState` [INFO] [stdout] --> examples/window_debug.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | state: ElementState::Pressed, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/window_debug.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | VirtualKeyCode::E => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/window_debug.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | VirtualKeyCode::F => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/window_debug.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | VirtualKeyCode::M => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/window_debug.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | VirtualKeyCode::Q => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window_debug.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | *control_flow = ControlFlow::Exit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/window_debug.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | VirtualKeyCode::V => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/window_debug.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | VirtualKeyCode::X => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window_debug.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | Event::WindowEvent { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/window_debug.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | event: WindowEvent::CloseRequested, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/window_debug.rs:113:62 [INFO] [stdout] | [INFO] [stdout] 113 | } if window_id == window.id() => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/window_debug.rs: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] 3 | use cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 3 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/window_debug.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogicalSize` [INFO] [stdout] --> examples/window_debug.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | .with_inner_size(LogicalSize::new(100.0, 100.0)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/window_debug.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | DeviceEvent::Key(KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/window_debug.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhysicalSize` in this scope [INFO] [stdout] --> examples/window_debug.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | fn area(size: PhysicalSize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::dpi::PhysicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/window_debug.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | ... window.set_fullscreen(Some(Fullscreen::Exclusive(mode))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::window::Fullscreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fullscreen` [INFO] [stdout] --> examples/window_debug.rs:88:56 [INFO] [stdout] | [INFO] [stdout] 88 | ... window.set_fullscreen(Some(Fullscreen::Borderless(monitor))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use cart_tmp_winit::window::Fullscreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/cursor.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | *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:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | 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:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | 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:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | ... 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:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | 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:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | 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:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | *control_flow = ControlFlow::Exit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorIcon` [INFO] [stdout] --> examples/cursor.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | 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:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | 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:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | 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:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | 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:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | 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:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | 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:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | 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:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | 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:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | 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:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | 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:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | 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:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | 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:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | 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:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | 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:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | 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:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | 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:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | 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:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | 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:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | 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:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | 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:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | 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:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | 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:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | 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:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | 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:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | 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:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | 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:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | 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:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | 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:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | 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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | 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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/cursor.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | 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 cart_tmp_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:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | ... 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 cart_tmp_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_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:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | 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 cart_tmp_winit::window::CursorIcon; [INFO] [stdout] | [INFO] [stdout] [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] 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] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error: 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 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0a3c39c03e2eaa57553a1cc1a531a9bca4d86c2717081004049ff728109ee535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3c39c03e2eaa57553a1cc1a531a9bca4d86c2717081004049ff728109ee535", kill_on_drop: false }` [INFO] [stdout] 0a3c39c03e2eaa57553a1cc1a531a9bca4d86c2717081004049ff728109ee535