[INFO] fetching crate cart-tmp-winit 0.22.2... [INFO] checking cart-tmp-winit-0.22.2 against master#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [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 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "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" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "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/jobserver:/tmp/crater-runner-fifo:rw,Z" "-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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 596401d28ac85f33f297e3a10cc612a9d042a897f1f4bd9b6f4f9e8c97154b7a [INFO] running `Command { std: "docker" "start" "-a" "596401d28ac85f33f297e3a10cc612a9d042a897f1f4bd9b6f4f9e8c97154b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "596401d28ac85f33f297e3a10cc612a9d042a897f1f4bd9b6f4f9e8c97154b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596401d28ac85f33f297e3a10cc612a9d042a897f1f4bd9b6f4f9e8c97154b7a", kill_on_drop: false }` [INFO] [stdout] 596401d28ac85f33f297e3a10cc612a9d042a897f1f4bd9b6f4f9e8c97154b7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-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" "RUSTUP_TOOLCHAIN=4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "-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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/tmp/crater-runner-fifo/jobserver-crater-fwd" "/opt/rustwide/cargo-home/bin/cargo" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c6886b07190a4d74929925b9955e4e433cfbf3f5feba598e0a26e485bb45565 [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" "4c6886b07190a4d74929925b9955e4e433cfbf3f5feba598e0a26e485bb45565", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.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 downcast-rs v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [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-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.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 quote v0.6.13 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking rusttype v0.7.9 [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 andrew v0.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.8 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been 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: 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: field is never read: `relative_pointer` [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | relative_pointer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/control_flow.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> examples/control_flow.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use winit::event::{ElementState, StartCause, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | Event::NewEvents(start_cause) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StartCause` [INFO] [stdout] --> examples/control_flow.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | StartCause::WaitCancelled { .. } => mode == Mode::WaitUntil, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StartCause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Event::WindowEvent { event, .. } => match event { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/control_flow.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | WindowEvent::CloseRequested => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowEvent` [INFO] [stdout] --> examples/control_flow.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | WindowEvent::KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WindowEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElementState` [INFO] [stdout] --> examples/control_flow.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | ... state: ElementState::Pressed, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ElementState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | VirtualKeyCode::Key1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | VirtualKeyCode::Key2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | VirtualKeyCode::Key3 => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | VirtualKeyCode::R => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> examples/control_flow.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | VirtualKeyCode::Escape => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Event::MainEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | *control_flow = ControlFlow::Exit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Event::RedrawRequested(_window_id) => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/control_flow.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | Event::RedrawEventsCleared => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | Mode::Wait => ControlFlow::Wait, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | ControlFlow::Poll [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> examples/control_flow.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::platform::unix::x11::EventLoop; [INFO] [stdout] | [INFO] [stdout] 1 | use mio::deprecated::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> examples/control_flow.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyboardInput` in this scope [INFO] [stdout] --> examples/control_flow.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | KeyboardInput { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::event::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::event::WindowEvent::KeyboardInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> examples/control_flow.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | ... ControlFlow::WaitUntil(time::Instant::now() + WAIT_TIME) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use cart_tmp_winit::event_loop::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::time::fmt::string::slice::raw::array::iter::iter::traits::iterator::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::ControlFlow; [INFO] [stdout] | [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 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] warning: field is never read: `relative_pointer` [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | relative_pointer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4c6886b07190a4d74929925b9955e4e433cfbf3f5feba598e0a26e485bb45565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6886b07190a4d74929925b9955e4e433cfbf3f5feba598e0a26e485bb45565", kill_on_drop: false }` [INFO] [stdout] 4c6886b07190a4d74929925b9955e4e433cfbf3f5feba598e0a26e485bb45565