[INFO] fetching crate cart-tmp-winit 0.22.2... [INFO] checking cart-tmp-winit-0.22.2 against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] extracting crate cart-tmp-winit 0.22.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate cart-tmp-winit 0.22.2 on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "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-8/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" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5864ac99db9e2b7fb55dd4ccc1fcbfcd02aa63910128774035d26b03adf8e977 [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" "5864ac99db9e2b7fb55dd4ccc1fcbfcd02aa63910128774035d26b03adf8e977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5864ac99db9e2b7fb55dd4ccc1fcbfcd02aa63910128774035d26b03adf8e977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5864ac99db9e2b7fb55dd4ccc1fcbfcd02aa63910128774035d26b03adf8e977", kill_on_drop: false }` [INFO] [stdout] 5864ac99db9e2b7fb55dd4ccc1fcbfcd02aa63910128774035d26b03adf8e977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8dab3ba4f0b1b494d965f987f01839a97fdc16ba614752809265191a88335e1 [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" "c8dab3ba4f0b1b494d965f987f01839a97fdc16ba614752809265191a88335e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [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 log v0.4.11 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling cart-tmp-winit v0.22.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [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 num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [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] Checking lock_api v0.3.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [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 parking_lot_core v0.7.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [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 mio-extras v2.0.6 [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 image v0.23.8 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [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] 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/multiwindow.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/handling_close.rs: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] --> 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/handling_close.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winit::event::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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[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 crate or module `winit` [INFO] [stdout] --> examples/request_redraw_threaded.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/monitor_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::{event_loop::EventLoop, window::WindowBuilder}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/custom_events.rs:3:9 [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/request_redraw.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] --> 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 crate or module `winit` [INFO] [stdout] --> examples/window_run_return.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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/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] [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: 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/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 type `ControlFlow` [INFO] [stdout] --> examples/request_redraw.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 `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/request_redraw.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/request_redraw.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/request_redraw.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/request_redraw.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | WindowEvent::MouseInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/request_redraw.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/request_redraw.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | Event::RedrawRequested(_) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/request_redraw.rs: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/request_redraw.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 `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 `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: 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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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 `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 `ControlFlow` [INFO] [stdout] --> examples/request_redraw_threaded.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | *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/multiwindow.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/multiwindow.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | 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:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | 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:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | ... *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:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/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 `Event` [INFO] [stdout] --> examples/request_redraw_threaded.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/request_redraw_threaded.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/request_redraw_threaded.rs:30:64 [INFO] [stdout] | [INFO] [stdout] 30 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/request_redraw_threaded.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Event::RedrawRequested(_) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/request_redraw_threaded.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/request_redraw_threaded.rs:13:18 [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/handling_close.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/handling_close.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Event::WindowEvent { event, .. } => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/handling_close.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | WindowEvent::CloseRequested => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/handling_close.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | 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/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 `ElementState` [INFO] [stdout] --> examples/multiwindow.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | ... 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: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/handling_close.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | ... *control_flow = ControlFlow::Exit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/handling_close.rs: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/handling_close.rs:11:19 [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[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/handling_close.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | ... KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use 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/custom_events.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | *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 `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 `Event` [INFO] [stdout] --> examples/custom_events.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | Event::UserEvent(event) => println!("user event: {:?}", event), [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/custom_events.rs: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/custom_events.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/custom_events.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | } => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/custom_events.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let event_loop = EventLoop::::with_user_event(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use 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/custom_events.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | 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 `EventLoop` [INFO] [stdout] --> examples/multiwindow.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 `EventLoop` [INFO] [stdout] --> examples/monitor_list.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 `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 `Window` [INFO] [stdout] --> examples/multiwindow.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | 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 cart_tmp_winit::platform::unix::x11::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::ffi::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::window::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use smithay_client_toolkit::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 `WindowBuilder` [INFO] [stdout] --> examples/monitor_list.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | 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/multiwindow.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | ... 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 `Window` [INFO] [stdout] --> examples/multiwindow.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | 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 cart_tmp_winit::platform::unix::x11::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::ffi::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::window::Window; [INFO] [stdout] | [INFO] [stdout] 1 | use smithay_client_toolkit::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 `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 `ControlFlow` [INFO] [stdout] --> examples/window_run_return.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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 `Event` [INFO] [stdout] --> examples/window_run_return.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | if let Event::WindowEvent { event, .. } = &event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/window_run_return.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | 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:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | 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:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | 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:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | *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:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | 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 cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 2 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 2 | 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_run_return.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | 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 cart_tmp_winit::window::WindowBuilder; [INFO] [stdout] | [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/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: 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 `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: 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] 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 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 12 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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c8dab3ba4f0b1b494d965f987f01839a97fdc16ba614752809265191a88335e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8dab3ba4f0b1b494d965f987f01839a97fdc16ba614752809265191a88335e1", kill_on_drop: false }` [INFO] [stdout] c8dab3ba4f0b1b494d965f987f01839a97fdc16ba614752809265191a88335e1