[INFO] fetching crate cart-tmp-winit 0.22.2... [INFO] testing cart-tmp-winit-0.22.2 against 1.55.0 for beta-1.56-1 [INFO] extracting crate cart-tmp-winit 0.22.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate cart-tmp-winit 0.22.2 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ed9a26cb5b80a2492fc3150e1dc6a7e6d677f68dfe35dea5cc421f2230d8d7a [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" "4ed9a26cb5b80a2492fc3150e1dc6a7e6d677f68dfe35dea5cc421f2230d8d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ed9a26cb5b80a2492fc3150e1dc6a7e6d677f68dfe35dea5cc421f2230d8d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed9a26cb5b80a2492fc3150e1dc6a7e6d677f68dfe35dea5cc421f2230d8d7a", kill_on_drop: false }` [INFO] [stdout] 4ed9a26cb5b80a2492fc3150e1dc6a7e6d677f68dfe35dea5cc421f2230d8d7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22e6af21675a9308753c1018d04aea266377feefb45612db9e9ff936c80923a6 [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" "22e6af21675a9308753c1018d04aea266377feefb45612db9e9ff936c80923a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling cart-tmp-winit v0.22.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/platform_impl/linux/x11/util/atom.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | panic!("{}", msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 35 | std::panic::panic_any(msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | panic!(format!("Failed to open input method: {:#?}", state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 132 | panic!("Failed to open input method: {:#?}", state); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/platform_impl/linux/mod.rs:573:16 [INFO] [stdout] | [INFO] [stdout] 573 | panic!(err_string); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 573 | panic!("{}", err_string); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 573 | std::panic::panic_any(err_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "22e6af21675a9308753c1018d04aea266377feefb45612db9e9ff936c80923a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22e6af21675a9308753c1018d04aea266377feefb45612db9e9ff936c80923a6", kill_on_drop: false }` [INFO] [stdout] 22e6af21675a9308753c1018d04aea266377feefb45612db9e9ff936c80923a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 554286ab282e5952cd6bef6cded465533c0e71991a8b23112ac5808ed503d9bb [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" "554286ab282e5952cd6bef6cded465533c0e71991a8b23112ac5808ed503d9bb", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling bytemuck v1.3.1 [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-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/platform_impl/linux/x11/util/atom.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | panic!("{}", msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 35 | std::panic::panic_any(msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | panic!(format!("Failed to open input method: {:#?}", state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 132 | panic!("Failed to open input method: {:#?}", state); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/platform_impl/linux/mod.rs:573:16 [INFO] [stdout] | [INFO] [stdout] 573 | panic!(err_string); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 573 | panic!("{}", err_string); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 573 | std::panic::panic_any(err_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling simple_logger v1.6.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling cart-tmp-winit v0.22.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/resizable.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: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/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] --> tests/send_objects.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | needs_send::>(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> tests/send_objects.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | needs_send::(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> tests/send_objects.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | needs_send::(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> tests/send_objects.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | needs_send::(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> tests/send_objects.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | needs_send::(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cart-tmp-winit` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/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] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [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/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/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[E0463]: can't find crate for `winit` [INFO] [stdout] --> examples/minimize.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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 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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> tests/sync_object.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | needs_sync::(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/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 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 `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 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 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[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/resizable.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/resizable.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/resizable.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/resizable.rs:26:64 [INFO] [stdout] | [INFO] [stdout] 26 | WindowEvent::CloseRequested => *control_flow = ControlFlow::Exit, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/resizable.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/resizable.rs:30:51 [INFO] [stdout] | [INFO] [stdout] 30 | ... virtual_keycode: Some(VirtualKeyCode::Space), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/resizable.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | ... state: ElementState::Released, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/resizable.rs: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/resizable.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use 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/resizable.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | .with_inner_size(LogicalSize::new(400.0, 200.0)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use 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/resizable.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | 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[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[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 `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 `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 `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 `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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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/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 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 `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: 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: 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: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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 `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[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 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 `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 `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 `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: 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 `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: 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: 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 `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 `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: 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 `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: 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 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/platform_impl/linux/x11/util/atom.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | panic!("{}", msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 35 | std::panic::panic_any(msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | panic!(format!("Failed to open input method: {:#?}", state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 132 | panic!("Failed to open input method: {:#?}", state); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/platform_impl/linux/mod.rs:573:16 [INFO] [stdout] | [INFO] [stdout] 573 | panic!(err_string); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 573 | panic!("{}", err_string); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 573 | std::panic::panic_any(err_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "554286ab282e5952cd6bef6cded465533c0e71991a8b23112ac5808ed503d9bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "554286ab282e5952cd6bef6cded465533c0e71991a8b23112ac5808ed503d9bb", kill_on_drop: false }` [INFO] [stdout] 554286ab282e5952cd6bef6cded465533c0e71991a8b23112ac5808ed503d9bb