[INFO] fetching crate luminvent_winit 0.27.6-alpha... [INFO] testing luminvent_winit-0.27.6-alpha against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate luminvent_winit 0.27.6-alpha into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate luminvent_winit 0.27.6-alpha on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abe0570ba46af91aeab0d6f647149389b7bc0191568be415bcae17ddcb277de0 [INFO] running `Command { std: "docker" "start" "-a" "abe0570ba46af91aeab0d6f647149389b7bc0191568be415bcae17ddcb277de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abe0570ba46af91aeab0d6f647149389b7bc0191568be415bcae17ddcb277de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abe0570ba46af91aeab0d6f647149389b7bc0191568be415bcae17ddcb277de0", kill_on_drop: false }` [INFO] [stdout] abe0570ba46af91aeab0d6f647149389b7bc0191568be415bcae17ddcb277de0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23ebbf7303b436fe639c41acd5e320209217c9318f0b291e1b55691ea74aaec3 [INFO] running `Command { std: "docker" "start" "-a" "23ebbf7303b436fe639c41acd5e320209217c9318f0b291e1b55691ea74aaec3", 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 unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [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 nom v7.1.3 [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 wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling png v0.17.8 [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 tiny-skia v0.8.3 [INFO] [stderr] Compiling owned_ttf_parser v0.18.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling ab_glyph v0.2.20 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [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 01s [INFO] running `Command { std: "docker" "inspect" "23ebbf7303b436fe639c41acd5e320209217c9318f0b291e1b55691ea74aaec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ebbf7303b436fe639c41acd5e320209217c9318f0b291e1b55691ea74aaec3", kill_on_drop: false }` [INFO] [stdout] 23ebbf7303b436fe639c41acd5e320209217c9318f0b291e1b55691ea74aaec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 254591c23622d337c136756ae3d89e48369c4653bd46ed137db1cd8dfcb52e4d [INFO] running `Command { std: "docker" "start" "-a" "254591c23622d337c136756ae3d89e48369c4653bd46ed137db1cd8dfcb52e4d", 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/drag_window.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[E0282]: type annotations needed [INFO] [stdout] --> examples/drag_window.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | event_loop.run(move |event, _, control_flow| match event { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | WindowEvent::CloseRequested => control_flow.set_exit(), [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | event_loop.run(move |event, _, control_flow: /* Type */| match event { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/drag_window.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | drag_target.set_title("drag target"); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "drag_window") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/drag_window.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | other.set_title("winit window"); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/timer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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[E0282]: type annotations needed [INFO] [stdout] --> examples/timer.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | control_flow.set_wait_until(Instant::now() + timer_length); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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] [stderr] error: could not compile `luminvent_winit` (example "timer") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/request_redraw.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "request_redraw") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/ime.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/handling_close.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/handling_close.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winit::event::{ [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/mouse_wheel.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[E0282]: type annotations needed [INFO] [stdout] --> examples/handling_close.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 21 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [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] [stderr] error: could not compile `luminvent_winit` (example "handling_close") due to 3 previous errors [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] 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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/window_resize_increments.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/resizable.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "window_resize_increments") due to 2 previous errors [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] [stderr] error: could not compile `luminvent_winit` (example "resizable") due to 2 previous errors [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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/web.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [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] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/window_run_return.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | event_loop.run_return(|event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 35 | event_loop.run_return(|event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/cursor.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/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 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/multithreaded.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] [stdout] error[E0432]: unresolved import `VirtualKeyCode::*` [INFO] [stdout] --> examples/multithreaded.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | use VirtualKeyCode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/cursor.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/transparent.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "window_run_return") due to 2 previous errors [INFO] [stderr] error: could not compile `luminvent_winit` (example "transparent") due to 2 previous errors [INFO] [stderr] error: could not compile `luminvent_winit` (example "cursor") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/ime.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | .with_inner_size(winit::dpi::LogicalSize::new(256f64, 128f64)) [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] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use luminvent_winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] help: if you import `LogicalSize`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - .with_inner_size(winit::dpi::LogicalSize::new(256f64, 128f64)) [INFO] [stdout] 25 + .with_inner_size(LogicalSize::new(256f64, 128f64)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/mouse_wheel.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | winit::event::MouseScrollDelta::LineDelta(x, y) => { [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use luminvent_winit::event::MouseScrollDelta; [INFO] [stdout] | [INFO] [stdout] help: if you import `MouseScrollDelta`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - winit::event::MouseScrollDelta::LineDelta(x, y) => { [INFO] [stdout] 41 + MouseScrollDelta::LineDelta(x, y) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> examples/mouse_wheel.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | winit::event::MouseScrollDelta::PixelDelta(p) => { [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use luminvent_winit::event::MouseScrollDelta; [INFO] [stdout] | [INFO] [stdout] help: if you import `MouseScrollDelta`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - winit::event::MouseScrollDelta::PixelDelta(p) => { [INFO] [stdout] 49 + MouseScrollDelta::PixelDelta(p) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/mouse_wheel.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winit` [INFO] [stdout] --> tests/sync_object.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | needs_sync::(); [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] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use luminvent_winit::window; [INFO] [stdout] | [INFO] [stdout] 1 + use sctk::window; [INFO] [stdout] | [INFO] [stdout] help: if you import `window`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - needs_sync::(); [INFO] [stdout] 8 + needs_sync::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "mouse_wheel") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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 "ime") due to 2 previous errors [INFO] [stderr] error: could not compile `luminvent_winit` (test "sync_object") due to 1 previous error [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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/window_icon.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | event_loop.run(move |event, _, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Left` is not bound in all patterns [INFO] [stdout] --> examples/multithreaded.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | ... Right | Left => { [INFO] [stdout] | ^^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Left` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variants, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 78 | Right | std::fmt::Alignment::Left => { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 78 | Right | luminvent_winit::event::MouseButton::Left => { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] 78 | Right | luminvent_winit::event::VirtualKeyCode::Left => { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] 78 | Right | wayland_protocols::unstable::xdg_shell::v5::client::xdg_surface::ResizeEdge::Left => { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] = and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Right` is not bound in all patterns [INFO] [stdout] --> examples/multithreaded.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | ... Right | Left => { [INFO] [stdout] | ----- ^^^^ pattern doesn't bind `Right` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variants, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 78 | std::fmt::Alignment::Right | Left => { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] 78 | luminvent_winit::event::MouseButton::Right | Left => { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] 78 | luminvent_winit::event::VirtualKeyCode::Right | Left => { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] 78 | wayland_protocols::unstable::xdg_shell::v5::client::xdg_surface::ResizeEdge::Right | Left => { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] = and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `L` is not bound in all patterns [INFO] [stdout] --> examples/multithreaded.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ... G | L if !state => { [INFO] [stdout] | ^ - variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `L` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `luminvent_winit::event::VirtualKeyCode::L`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 103 | G | luminvent_winit::event::VirtualKeyCode::L if !state => { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `G` is not bound in all patterns [INFO] [stdout] --> examples/multithreaded.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | ... G | L if !state => { [INFO] [stdout] | - ^ pattern doesn't bind `G` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `luminvent_winit::event::VirtualKeyCode::G`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 103 | luminvent_winit::event::VirtualKeyCode::G | L if !state => { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "window_icon") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multithreaded.rs:163:46 [INFO] [stdout] | [INFO] [stdout] 163 | event_loop.run(move |event, _event_loop, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 164 | match !window_senders.is_empty() { [INFO] [stdout] 165 | true => control_flow.set_wait(), [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | event_loop.run(move |event, _event_loop, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/fullscreen.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | event_loop.run(move |event, elwt, control_flow| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | control_flow.set_wait(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 41 | event_loop.run(move |event, elwt, control_flow: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "fullscreen") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/fullscreen.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | event_loop.run(move |event, elwt, control_flow| { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | if let Some(mon) = elwt.available_monitors().nth(monitor_index) { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 41 | event_loop.run(move |event, elwt: /* Type */, control_flow| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multithreaded.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | ... tx.send(event).unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0408, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luminvent_winit` (example "multithreaded") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "254591c23622d337c136756ae3d89e48369c4653bd46ed137db1cd8dfcb52e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "254591c23622d337c136756ae3d89e48369c4653bd46ed137db1cd8dfcb52e4d", kill_on_drop: false }` [INFO] [stdout] 254591c23622d337c136756ae3d89e48369c4653bd46ed137db1cd8dfcb52e4d