[INFO] fetching crate luminvent_winit 0.27.6-alpha... [INFO] testing luminvent_winit-0.27.6-alpha against 1.91.0 for beta-1.92-2 [INFO] extracting crate luminvent_winit 0.27.6-alpha into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate luminvent_winit 0.27.6-alpha [INFO] finished tweaking crates.io crate luminvent_winit 0.27.6-alpha [INFO] tweaked toml for crates.io crate luminvent_winit 0.27.6-alpha written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate luminvent_winit 0.27.6-alpha on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate luminvent_winit 0.27.6-alpha already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sctk` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sctk-adwaita` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `wayland-client` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.141 [INFO] [stderr] Downloaded simple_logger v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c109b89959cfd56c7b14e936ba4d3655345b929854f10e87aac53820e31c5105 [INFO] running `Command { std: "docker" "start" "-a" "c109b89959cfd56c7b14e936ba4d3655345b929854f10e87aac53820e31c5105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c109b89959cfd56c7b14e936ba4d3655345b929854f10e87aac53820e31c5105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c109b89959cfd56c7b14e936ba4d3655345b929854f10e87aac53820e31c5105", kill_on_drop: false }` [INFO] [stdout] c109b89959cfd56c7b14e936ba4d3655345b929854f10e87aac53820e31c5105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ace441644e4c3f8bbf1684ff8e795dc7d08a8e6cda01b46c05d2c1b46a7b53df [INFO] running `Command { std: "docker" "start" "-a" "ace441644e4c3f8bbf1684ff8e795dc7d08a8e6cda01b46c05d2c1b46a7b53df", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sctk` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sctk-adwaita` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `wayland-client` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling ttf-parser v0.18.1 [INFO] [stderr] Compiling strict-num v0.1.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.3 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling png v0.17.8 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling owned_ttf_parser v0.18.1 [INFO] [stderr] Compiling ab_glyph v0.2.20 [INFO] [stderr] Compiling tiny-skia v0.8.3 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling luminvent_winit v0.27.6-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `android-game-activity`, `android-native-activity`, `css-size`, `default`, `js-sys`, `mint`, `mio`, `percent-encoding`, `sctk`, `sctk-adwaita`, `serde`, `wayland`, `wayland-client`, `wayland-csd-adwaita`, `wayland-csd-adwaita-crossfont`, `wayland-csd-adwaita-notitle`, `wayland-dlopen`, `wayland-protocols`, `x11`, and `x11-dl` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `atom::*` and `icon::*` [INFO] [stdout] --> src/platform_impl/linux/x11/util/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | atom::*, client_msg::*, format::*, geometry::*, hint::*, icon::*, input::*, memory::*, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/wayland/window/mod.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let mut window_compositor_update = winit_state [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/wayland/window/mod.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let mut window_compositor_update = winit_state [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/wayland/window/mod.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | let mut window_user_requests = winit_state [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | let mut shared_state = window.shared_state.get_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_loop_handle` is never read [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct EventLoopWindowTarget { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub event_loop_handle: calloop::LoopHandle<'static, WinitState>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aware` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DndAtoms { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | pub aware: ffi::Atom, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DndAtoms` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | InvalidUtf8(Utf8Error), [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - InvalidUtf8(Utf8Error), [INFO] [stdout] 72 + InvalidUtf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | HostnameSpecified(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 73 - HostnameSpecified(String), [INFO] [stdout] 73 + HostnameSpecified(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | UnexpectedProtocol(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - UnexpectedProtocol(String), [INFO] [stdout] 74 + UnexpectedProtocol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | UnresolvablePath(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 75 - UnresolvablePath(io::Error), [INFO] [stdout] 75 + UnresolvablePath(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | SetDestroyCallbackFailed(XError), [INFO] [stdout] | ------------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImeCreationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 - SetDestroyCallbackFailed(XError), [INFO] [stdout] 51 + SetDestroyCallbackFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/callbacks.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | MethodOpenFailed(Box), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplaceImError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 - MethodOpenFailed(Box), [INFO] [stdout] 76 + MethodOpenFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/callbacks.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | ContextCreationFailed(ImeContextCreationError), [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplaceImError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 - ContextCreationFailed(ImeContextCreationError), [INFO] [stdout] 77 + ContextCreationFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/callbacks.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | SetDestroyCallbackFailed(XError), [INFO] [stdout] | ------------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplaceImError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 78 - SetDestroyCallbackFailed(XError), [INFO] [stdout] 78 + SetDestroyCallbackFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | XError(XError), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GetXimServersError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 160 - XError(XError), [INFO] [stdout] 160 + XError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | GetPropertyError(util::GetPropertyError), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GetXimServersError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 161 - GetPropertyError(util::GetPropertyError), [INFO] [stdout] 161 + GetPropertyError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | InvalidUtf8(IntoStringError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GetXimServersError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 162 - InvalidUtf8(IntoStringError), [INFO] [stdout] 162 + InvalidUtf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/platform_impl/linux/mod.rs:627:21 [INFO] [stdout] | [INFO] [stdout] 627 | for hook in XLIB_ERROR_HOOKS.lock().unwrap().iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/platform/x11.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | XLIB_ERROR_HOOKS.lock().unwrap().push(hook); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "ace441644e4c3f8bbf1684ff8e795dc7d08a8e6cda01b46c05d2c1b46a7b53df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace441644e4c3f8bbf1684ff8e795dc7d08a8e6cda01b46c05d2c1b46a7b53df", kill_on_drop: false }` [INFO] [stdout] ace441644e4c3f8bbf1684ff8e795dc7d08a8e6cda01b46c05d2c1b46a7b53df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 093f89c475eb8d75f75a74d43160d16ba64e2cfdc3a7bc09d1f5441a25cb9154 [INFO] running `Command { std: "docker" "start" "-a" "093f89c475eb8d75f75a74d43160d16ba64e2cfdc3a7bc09d1f5441a25cb9154", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `simple_logger` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sctk` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sctk-adwaita` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `wayland-client` dependency) [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.3 [INFO] [stderr] Compiling image v0.24.6 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling simple_logger v2.3.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling tiny-skia v0.8.3 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling luminvent_winit v0.27.6-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `android-game-activity`, `android-native-activity`, `css-size`, `default`, `js-sys`, `mint`, `mio`, `percent-encoding`, `sctk`, `sctk-adwaita`, `serde`, `wayland`, `wayland-client`, `wayland-csd-adwaita`, `wayland-csd-adwaita-crossfont`, `wayland-csd-adwaita-notitle`, `wayland-dlopen`, `wayland-protocols`, `x11`, and `x11-dl` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `atom::*` and `icon::*` [INFO] [stdout] --> src/platform_impl/linux/x11/util/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | atom::*, client_msg::*, format::*, geometry::*, hint::*, icon::*, input::*, memory::*, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `android-game-activity`, `android-native-activity`, `css-size`, `default`, `js-sys`, `mint`, `mio`, `percent-encoding`, `sctk`, `sctk-adwaita`, `serde`, `wayland`, `wayland-client`, `wayland-csd-adwaita`, `wayland-csd-adwaita-crossfont`, `wayland-csd-adwaita-notitle`, `wayland-dlopen`, `wayland-protocols`, `x11`, and `x11-dl` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `atom::*` and `icon::*` [INFO] [stdout] --> src/platform_impl/linux/x11/util/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | atom::*, client_msg::*, format::*, geometry::*, hint::*, icon::*, input::*, memory::*, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/wayland/window/mod.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let mut window_compositor_update = winit_state [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/wayland/window/mod.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let mut window_compositor_update = winit_state [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/wayland/window/mod.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | let mut window_user_requests = winit_state [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | let mut shared_state = window.shared_state.get_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_loop_handle` is never read [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct EventLoopWindowTarget { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub event_loop_handle: calloop::LoopHandle<'static, WinitState>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aware` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DndAtoms { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | pub aware: ffi::Atom, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DndAtoms` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | InvalidUtf8(Utf8Error), [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - InvalidUtf8(Utf8Error), [INFO] [stdout] 72 + InvalidUtf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | HostnameSpecified(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 73 - HostnameSpecified(String), [INFO] [stdout] 73 + HostnameSpecified(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | UnexpectedProtocol(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - UnexpectedProtocol(String), [INFO] [stdout] 74 + UnexpectedProtocol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | UnresolvablePath(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 75 - UnresolvablePath(io::Error), [INFO] [stdout] 75 + UnresolvablePath(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | SetDestroyCallbackFailed(XError), [INFO] [stdout] | ------------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImeCreationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 - SetDestroyCallbackFailed(XError), [INFO] [stdout] 51 + SetDestroyCallbackFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/callbacks.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | MethodOpenFailed(Box), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplaceImError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 - MethodOpenFailed(Box), [INFO] [stdout] 76 + MethodOpenFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/callbacks.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | ContextCreationFailed(ImeContextCreationError), [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplaceImError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 - ContextCreationFailed(ImeContextCreationError), [INFO] [stdout] 77 + ContextCreationFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/callbacks.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | SetDestroyCallbackFailed(XError), [INFO] [stdout] | ------------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplaceImError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 78 - SetDestroyCallbackFailed(XError), [INFO] [stdout] 78 + SetDestroyCallbackFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | XError(XError), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GetXimServersError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 160 - XError(XError), [INFO] [stdout] 160 + XError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | GetPropertyError(util::GetPropertyError), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GetXimServersError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 161 - GetPropertyError(util::GetPropertyError), [INFO] [stdout] 161 + GetPropertyError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | InvalidUtf8(IntoStringError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GetXimServersError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 162 - InvalidUtf8(IntoStringError), [INFO] [stdout] 162 + InvalidUtf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/platform_impl/linux/mod.rs:627:21 [INFO] [stdout] | [INFO] [stdout] 627 | for hook in XLIB_ERROR_HOOKS.lock().unwrap().iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/platform/x11.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | XLIB_ERROR_HOOKS.lock().unwrap().push(hook); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/wayland/window/mod.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let mut window_compositor_update = winit_state [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/wayland/window/mod.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let mut window_compositor_update = winit_state [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/wayland/window/mod.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | let mut window_user_requests = winit_state [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | let mut shared_state = window.shared_state.get_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_loop_handle` is never read [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct EventLoopWindowTarget { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub event_loop_handle: calloop::LoopHandle<'static, WinitState>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aware` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DndAtoms { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | pub aware: ffi::Atom, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DndAtoms` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | InvalidUtf8(Utf8Error), [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - InvalidUtf8(Utf8Error), [INFO] [stdout] 72 + InvalidUtf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | HostnameSpecified(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 73 - HostnameSpecified(String), [INFO] [stdout] 73 + HostnameSpecified(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | UnexpectedProtocol(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - UnexpectedProtocol(String), [INFO] [stdout] 74 + UnexpectedProtocol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/dnd.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | UnresolvablePath(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DndDataParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 75 - UnresolvablePath(io::Error), [INFO] [stdout] 75 + UnresolvablePath(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | SetDestroyCallbackFailed(XError), [INFO] [stdout] | ------------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImeCreationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 - SetDestroyCallbackFailed(XError), [INFO] [stdout] 51 + SetDestroyCallbackFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/callbacks.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | MethodOpenFailed(Box), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplaceImError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 - MethodOpenFailed(Box), [INFO] [stdout] 76 + MethodOpenFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/callbacks.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | ContextCreationFailed(ImeContextCreationError), [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplaceImError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 - ContextCreationFailed(ImeContextCreationError), [INFO] [stdout] 77 + ContextCreationFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/callbacks.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | SetDestroyCallbackFailed(XError), [INFO] [stdout] | ------------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplaceImError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 78 - SetDestroyCallbackFailed(XError), [INFO] [stdout] 78 + SetDestroyCallbackFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | XError(XError), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GetXimServersError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 160 - XError(XError), [INFO] [stdout] 160 + XError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | GetPropertyError(util::GetPropertyError), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GetXimServersError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 161 - GetPropertyError(util::GetPropertyError), [INFO] [stdout] 161 + GetPropertyError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/platform_impl/linux/x11/ime/input_method.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | InvalidUtf8(IntoStringError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GetXimServersError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 162 - InvalidUtf8(IntoStringError), [INFO] [stdout] 162 + InvalidUtf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/platform_impl/linux/mod.rs:627:21 [INFO] [stdout] | [INFO] [stdout] 627 | for hook in XLIB_ERROR_HOOKS.lock().unwrap().iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/platform/x11.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | XLIB_ERROR_HOOKS.lock().unwrap().push(hook); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/theme.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/fullscreen.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::event::{ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/fullscreen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winit::event_loop::EventLoop; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/fullscreen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::window::{Fullscreen, WindowBuilder}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/video_modes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::event_loop::EventLoop; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/request_redraw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "fullscreen") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `luminvent_winit` (example "request_redraw") due to 1 previous error [INFO] [stderr] error: could not compile `luminvent_winit` (example "theme") due to 1 previous error [INFO] [stderr] error: could not compile `luminvent_winit` (example "video_modes") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/window_run_return.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "window_run_return") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/window_resize_increments.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/web.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/control_flow.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/control_flow.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | use winit::event::{ElementState, StartCause, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/transparent.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "web") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/resizable.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/cursor_grab.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/cursor_grab.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | use winit::event::VirtualKeyCode::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "window_resize_increments") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/monitor_list.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{event_loop::EventLoop, window::WindowBuilder}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/request_redraw_threaded.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "transparent") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/window_icon.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/window_icon.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | use winit::event::WindowEvent::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/window_buttons.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "cursor_grab") due to 2 previous errors [INFO] [stderr] error: could not compile `luminvent_winit` (example "monitor_list") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/custom_events.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `winit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winit`, use `cargo add winit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "request_redraw_threaded") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "resizable") due to 1 previous error [INFO] [stderr] error: could not compile `luminvent_winit` (example "window_buttons") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "custom_events") due to 1 previous error [INFO] [stderr] error: could not compile `luminvent_winit` (example "control_flow") due to 2 previous errors [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DroppedFile` in this scope [INFO] [stdout] --> examples/window_icon.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | DroppedFile(path) => { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use luminvent_winit::event::WindowEvent::DroppedFile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "window_icon") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "093f89c475eb8d75f75a74d43160d16ba64e2cfdc3a7bc09d1f5441a25cb9154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093f89c475eb8d75f75a74d43160d16ba64e2cfdc3a7bc09d1f5441a25cb9154", kill_on_drop: false }` [INFO] [stdout] 093f89c475eb8d75f75a74d43160d16ba64e2cfdc3a7bc09d1f5441a25cb9154