[INFO] cloning repository https://github.com/jason5122/alacritty-simplified [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jason5122/alacritty-simplified" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason5122%2Falacritty-simplified", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason5122%2Falacritty-simplified'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 767c729ffd0fa1ae27812987466154f7247b656f [INFO] checking jason5122/alacritty-simplified against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason5122%2Falacritty-simplified" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jason5122/alacritty-simplified on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jason5122/alacritty-simplified [INFO] finished tweaking git repo https://github.com/jason5122/alacritty-simplified [INFO] tweaked toml for git repo https://github.com/jason5122/alacritty-simplified written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jason5122/alacritty-simplified 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v4.3.3 [INFO] [stderr] Downloaded drm-sys v0.6.1 [INFO] [stderr] Downloaded drm-ffi v0.7.1 [INFO] [stderr] Downloaded ctor v0.2.7 [INFO] [stderr] Downloaded crossfont v0.7.0 [INFO] [stderr] Downloaded polling v3.3.0 [INFO] [stderr] Downloaded drm v0.11.1 [INFO] [stderr] Downloaded anstyle-wincon v3.0.1 [INFO] [stderr] Downloaded clap v4.4.11 [INFO] [stderr] Downloaded clap_builder v4.4.11 [INFO] [stderr] Downloaded winnow v0.5.30 [INFO] [stderr] Downloaded serde_yaml v0.9.29 [INFO] [stderr] Downloaded clap_complete v4.4.4 [INFO] [stderr] Downloaded x11-clipboard v0.9.1 [INFO] [stderr] Downloaded copypasta v0.10.1 [INFO] [stderr] Downloaded winreg v0.51.0 [INFO] [stderr] Downloaded linux-raw-sys v0.6.4 [INFO] [stderr] Downloaded embed-resource v2.4.0 [INFO] [stderr] Downloaded filetime v0.2.22 [INFO] [stderr] Downloaded block-sys v0.2.0 [INFO] [stderr] Downloaded proc-macro-crate v2.0.0 [INFO] [stderr] Downloaded num_enum_derive v0.7.1 [INFO] [stderr] Downloaded num_enum v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3382df53d2242b8d8665285371368cbeb7ecff56b31b2b624c29f270cbe73217 [INFO] running `Command { std: "docker" "start" "-a" "3382df53d2242b8d8665285371368cbeb7ecff56b31b2b624c29f270cbe73217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3382df53d2242b8d8665285371368cbeb7ecff56b31b2b624c29f270cbe73217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3382df53d2242b8d8665285371368cbeb7ecff56b31b2b624c29f270cbe73217", kill_on_drop: false }` [INFO] [stdout] 3382df53d2242b8d8665285371368cbeb7ecff56b31b2b624c29f270cbe73217 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8234cf942a4a2b38e4a8cf7cbd2db9758e3777c9953e0d01dd873fd14d254c8f [INFO] running `Command { std: "docker" "start" "-a" "8234cf942a4a2b38e4a8cf7cbd2db9758e3777c9953e0d01dd873fd14d254c8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking memmap2 v0.9.3 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossfont v0.7.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling drm-sys v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling winit v0.29.11 (/opt/rustwide/workdir/winit-0.29.11) [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking linux-raw-sys v0.6.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling glutin v0.31.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Checking winnow v0.5.30 [INFO] [stderr] Checking crossbeam-channel v0.5.10 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling alacritty v0.14.0-dev (/opt/rustwide/workdir/alacritty) [INFO] [stderr] Checking x11rb-protocol v0.12.0 [INFO] [stderr] Checking gethostname v0.3.0 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Compiling softbuffer v0.3.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking freetype-rs v0.26.0 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling ctor v0.2.7 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking tiny-xlib v0.2.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking tiny-skia-path v0.11.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking polling v3.3.0 [INFO] [stderr] Checking drm-ffi v0.7.1 [INFO] [stderr] Checking drm v0.11.1 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking clap_complete v4.4.4 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking smol_str v0.2.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_yaml v0.9.29 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking calloop v0.12.3 [INFO] [stderr] Checking tiny-skia v0.11.3 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking simple_logger v4.3.3 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking x11-clipboard v0.9.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking smithay-clipboard v0.7.1 [INFO] [stderr] Checking copypasta v0.10.1 [INFO] [stdout] warning: unused import: `smol_str::SmolStr` [INFO] [stdout] --> winit-0.29.11/src/event.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `platform_impl` [INFO] [stdout] --> winit-0.29.11/src/event.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | platform_impl, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smol_str::SmolStr` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CursorGrabMode`, `CursorIcon`, `ExternalError`, `ImePurpose`, `ResizeDirection` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/mod.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | error::{EventLoopError, ExternalError, NotSupportedError, OsError as RootOsError}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | ActivationToken, CursorGrabMode, CursorIcon, ImePurpose, ResizeDirection, Theme, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::platform_impl::platform::DeviceId as PlatformDeviceId` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/event_loop/sink.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::platform_impl::platform::DeviceId as PlatformDeviceId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceId` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/event_loop/sink.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{DeviceId, WindowId}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sctk::reexports::client::backend::ObjectId` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sctk::reexports::client::backend::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Proxy` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use sctk::reexports::client::{Connection, Proxy, QueueHandle}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sctk::seat::pointer::ThemedPointer` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sctk::seat::pointer::ThemedPointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sctk::seat::SeatState` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use sctk::seat::SeatState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Region` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use sctk::compositor::{CompositorState, Region, SurfaceData}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExternalError` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::error::{ExternalError, NotSupportedError, OsError as RootOsError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::event::WindowEvent` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::event::WindowEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CursorGrabMode`, `CursorIcon`, `ImePurpose`, `ResizeDirection` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | CursorGrabMode, CursorIcon, ImePurpose, ResizeDirection, Theme, UserAttentionType, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sctk::seat::pointer::ThemedPointer` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use sctk::seat::pointer::ThemedPointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicalPosition` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::dpi::{LogicalPosition, LogicalSize, PhysicalSize, Size}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExternalError`, `NotSupportedError` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::error::{ExternalError, NotSupportedError}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XIDeviceEvent`, `XIEnterEvent`, `XIFocusInEvent`, `XIFocusOutEvent`, `XIHierarchyEvent`, `XILeaveEvent`, `XIModifierState`, `XIRawEvent`, `self` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self, XIDeviceEvent, XIEnterEvent, XIFocusInEvent, XIFocusOutEvent, XIHierarchyEvent, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | XILeaveEvent, XIModifierState, XIRawEvent, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Window as XWindow`, `XKeyEvent`, `XkbAnyEvent`, `XkbStateRec` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | self, Display as XDisplay, Window as XWindow, XAnyEvent, XClientMessageEvent, XConfigureEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | XDestroyWindowEvent, XEvent, XExposeEvent, XKeyEvent, XMapEvent, XPropertyEvent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | XReparentEvent, XSelectionEvent, XVisibilityEvent, XkbAnyEvent, XkbStateRec, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x11rb::protocol::xkb::ID as XkbId` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use x11rb::protocol::xkb::ID as XkbId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModMask` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | use x11rb::protocol::xproto::{self, ConnectionExt as _, ModMask}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xkbcommon_dl::xkb_mod_mask_t` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use xkbcommon_dl::xkb_mod_mask_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicalPosition` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::dpi::{PhysicalPosition, PhysicalSize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericEventCookie`, `ScrollOrientation` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | GenericEventCookie, ScrollOrientation, UnownedWindow, WindowId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImePurpose` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/window.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | CursorGrabMode, CursorIcon, ImePurpose, ResizeDirection, Theme, UserAttentionType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_MOD_REPLAY_LEN` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | use event_processor::{EventProcessor, MAX_MOD_REPLAY_LEN}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExternalError` [INFO] [stdout] --> winit-0.29.11/src/window.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | error::{ExternalError, NotSupportedError, OsError}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_target` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let window_target = Self::window_target_mut(&mut self.target); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xev` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn process_event(&mut self, xev: &mut XEvent, mut callback: F) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_xev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:53:62 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn process_event(&mut self, xev: &mut XEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:53:58 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn process_event(&mut self, xev: &mut XEvent, mut callback: F) [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `X` and `Wayland` are never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub enum DeviceId { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 166 | #[cfg(x11_platform)] [INFO] [stdout] 167 | X(x11::DeviceId), [INFO] [stdout] | ^ [INFO] [stdout] 168 | #[cfg(wayland_platform)] [INFO] [stdout] 169 | Wayland(wayland::DeviceId), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dummy` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/mod.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 172 | impl DeviceId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 173 | pub const unsafe fn dummy() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Wire` is never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum WaylandError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | Wire(client::backend::WaylandError), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WaylandError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dummy` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 68 | impl DeviceId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 69 | pub const unsafe fn dummy() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loop_handle` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct WinitState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | pub loop_handle: LoopHandle<'static, Self>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `compositor` and `window_events_sink` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | compositor: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | window_events_sink: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct WindowState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 51 | /// The connection to Wayland server. [INFO] [stdout] 52 | pub connection: Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub shm: WlShm, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub cursor_icon: CursorIcon, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub cursor_visible: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | cursor_grab_mode: GrabState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | ime_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | ime_purpose: ImePurpose, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | text_inputs: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | has_pending_move: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl WindowState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn frame_click( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn frame_point_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn frame_point_moved( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn ime_allowed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | pub fn add_seat_focus(&mut self, seat: ObjectId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn remove_seat_focus(&mut self, seat: &ObjectId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | pub fn text_input_entered(&mut self, text_input: &ZwpTextInputV3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | pub fn text_input_left(&mut self, text_input: &ZwpTextInputV3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_grab_mode` and `current_grab_mode` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 816 | struct GrabState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 817 | /// The grab mode requested by the user. [INFO] [stdout] 818 | user_grab_mode: CursorGrabMode, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 821 | current_grab_mode: CursorGrabMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrabState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wm_delete_window` and `net_wm_ping` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct EventLoopWindowTarget { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 130 | xconn: Arc, [INFO] [stdout] 131 | wm_delete_window: xproto::Atom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | net_wm_ping: xproto::Atom, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedNull` is never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:848:5 [INFO] [stdout] | [INFO] [stdout] 831 | pub enum X11Error { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 848 | UnexpectedNull(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `X11Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericEventCookie` is never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:973:8 [INFO] [stdout] | [INFO] [stdout] 973 | struct GenericEventCookie<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_event` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:979:8 [INFO] [stdout] | [INFO] [stdout] 978 | impl<'a> GenericEventCookie<'a> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 979 | fn from_event(xconn: &XConnection, event: ffi::XEvent) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mkwid` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:999:4 [INFO] [stdout] | [INFO] [stdout] 999 | fn mkwid(w: xproto::Window) -> crate::window::WindowId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attachment` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:1009:5 [INFO] [stdout] | [INFO] [stdout] 1004 | pub struct Device { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1009 | attachment: c_int, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `increment` and `orientation` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:1014:5 [INFO] [stdout] | [INFO] [stdout] 1013 | struct ScrollAxis { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1014 | increment: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1015 | orientation: ScrollOrientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScrollAxis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xinput_fp1616_to_float` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:1099:4 [INFO] [stdout] | [INFO] [stdout] 1099 | fn xinput_fp1616_to_float(fp: xinput::Fp1616) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/atoms.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum AtomName { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | XIM_SERVERS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | XdndEnter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | XdndLeave, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 85 | XdndDrop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | XdndPosition, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | XdndStatus, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 88 | XdndActionPrivate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | XdndSelection, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 90 | XdndFinished, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 91 | XdndTypeList, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | TextUriList: b"text/uri-list", [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | None: b"None", [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtomName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `atom_manager` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DndState` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum DndState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DndState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | InvalidUtf8(Utf8Error), [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 26 | InvalidUtf8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | UnresolvablePath(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 29 | UnresolvablePath(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EmptyData`, `HostnameSpecified`, and `UnexpectedProtocol` are never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum DndDataParseError { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 25 | EmptyData, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | InvalidUtf8(Utf8Error), [INFO] [stdout] 27 | HostnameSpecified(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | UnexpectedProtocol(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: fields `xconn`, `version`, `type_list`, `source_window`, and `result` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Dnd { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 45 | xconn: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | // Populated by XdndEnter event handler [INFO] [stdout] 47 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | pub type_list: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | // Populated by XdndPosition event handler [INFO] [stdout] 50 | pub source_window: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | // Populated by SelectionNotify event handler (triggered by XdndPosition event handler) [INFO] [stdout] 52 | pub result: Option, DndDataParseError>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Dnd { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub unsafe fn send_status( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub unsafe fn send_finished( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub unsafe fn get_type_list( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub unsafe fn convert_selection(&self, window: xproto::Window, time: xproto::Timestamp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub unsafe fn read_data( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn parse_data(&self, data: &mut [c_uchar]) -> Result, DndDataParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MOD_REPLAY_LEN` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const MAX_MOD_REPLAY_LEN: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYCODE_OFFSET` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const KEYCODE_OFFSET: u8 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dnd`, `randr_event_offset`, `xi2ext`, `xkbext`, `active_window`, and `is_composing` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct EventProcessor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 41 | pub dnd: Dnd, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | pub randr_event_offset: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub devices: RefCell>, [INFO] [stdout] 44 | pub xi2ext: ExtensionInformation, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub xkbext: ExtensionInformation, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub active_window: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub is_composing: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl EventProcessor { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn filter_event(&mut self, xev: &mut XEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn client_message(&mut self, xev: &XClientMessageEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn selection_notify(&mut self, xev: &XSelectionEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn configure_notify(&self, xev: &XConfigureEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | fn reparent_notify(&self, xev: &XReparentEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | fn map_notify(&self, xev: &XMapEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | fn destroy_notify(&self, xev: &XDestroyWindowEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | fn property_notify(&mut self, xev: &XPropertyEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | fn visibility_notify(&self, xev: &XVisibilityEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | fn expose(&self, xev: &XExposeEvent, mut callback: F) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | fn process_dpi_change(&self, callback: &mut F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 713 | fn window_exists(&self, window_id: xproto::Window) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invalidate_cached_monitor_list` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/monitor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl XConnection { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 18 | pub fn invalidate_cached_monitor_list(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_monitor_for_window` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/monitor.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl XConnection { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 204 | pub fn get_monitor_for_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_change` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn maybe_change(field: &mut Option, value: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_flag` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn has_flag(bitset: T, flag: T) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_cursor_icon`, `create_empty_cursor`, `get_cursor`, and `update_cursor` are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/cursor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl XConnection { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 11 | pub fn set_cursor_icon(&self, window: xproto::Window, cursor: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn create_empty_cursor(&self) -> ffi::Cursor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_cursor(&self, cursor: Option) -> ffi::Cursor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn update_cursor(&self, window: xproto::Window, cursor: ffi::Cursor) -> Result<(), X11Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_overlapping_area` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/geometry.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AaRect { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_overlapping_area(&self, other: &Self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/geometry.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Geometry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 45 | pub root: xproto::Window, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub x_rel_parent: c_int, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub y_rel_parent: c_int, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | // In that same case, this will give you client area size. [INFO] [stdout] 55 | pub width: c_uint, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | pub height: c_uint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub border: c_uint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub depth: c_uint, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Geometry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTUAL_CORE_KEYBOARD` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/input.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const VIRTUAL_CORE_KEYBOARD: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEXT_BUFFER_SIZE` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/input.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const TEXT_BUFFER_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_utf8_inner` and `lookup_utf8` are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/input.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl XConnection { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn lookup_utf8_inner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn lookup_utf8(&self, ic: ffi::XIC, key_event: &mut ffi::XKeyEvent) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_keymap` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/keys.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl XConnection { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 65 | pub fn query_keymap(&self) -> Keymap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XSmartPointer` is never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/memory.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct XSmartPointer<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/memory.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a, T> XSmartPointer<'a, T> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new(xconn: &'a XConnection, ptr: *mut T) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/window_property.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | X11rbError(Arc), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 13 | X11rbError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/window_property.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | FormatMismatch(c_int), [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 15 | FormatMismatch(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_TOPLEFT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MOVERESIZE_TOPLEFT: isize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_TOP` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MOVERESIZE_TOP: isize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_TOPRIGHT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MOVERESIZE_TOPRIGHT: isize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_RIGHT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MOVERESIZE_RIGHT: isize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_BOTTOMRIGHT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MOVERESIZE_BOTTOMRIGHT: isize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_BOTTOM` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MOVERESIZE_BOTTOM: isize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_BOTTOMLEFT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MOVERESIZE_BOTTOMLEFT: isize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_LEFT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const MOVERESIZE_LEFT: isize = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_MOVE` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const MOVERESIZE_MOVE: isize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_modifier` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/xmodmap.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ModifierKeymap { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_modifier(&self, keycode: XKeyCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor_pos`, `size`, `position`, `inner_position`, `inner_position_rel_parent`, and `dpi_adjusted` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/window.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SharedState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 45 | pub cursor_pos: Option<(f64, f64)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | pub size: Option<(u32, u32)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub position: Option<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub inner_position: Option<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub inner_position_rel_parent: Option<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub dpi_adjusted: Option<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor`, `cursor_grabbed_mode`, and `cursor_visible` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/window.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct UnownedWindow { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | cursor: Mutex, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | cursor_grabbed_mode: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | #[allow(clippy::mutex_atomic)] [INFO] [stdout] 129 | cursor_visible: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/window.rs:860:19 [INFO] [stdout] | [INFO] [stdout] 144 | impl UnownedWindow { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 860 | pub(crate) fn visibility_notify(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 920 | pub(super) fn refresh_dpi_for_monitor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1435 | pub(crate) fn adjust_for_dpi( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1524 | pub fn set_cursor_icon(&self, cursor: CursorIcon) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1533 | pub fn set_cursor_grab(&self, mode: CursorGrabMode) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1611 | pub fn set_cursor_visible(&self, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1632 | pub fn set_cursor_position_physical(&self, x: i32, y: i32) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1647 | pub fn set_cursor_position(&self, position: Position) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1675 | pub fn drag_window(&self) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1680 | pub fn show_window_menu(&self, _position: Position) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1683 | pub fn drag_resize_window(&self, direction: ResizeDirection) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1697 | fn drag_initiate(&self, action: isize) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xcursor` and `cursor_cache` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xdisplay.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct XConnection { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 26 | pub xlib: ffi::Xlib, [INFO] [stdout] 27 | pub xcursor: ffi::Xcursor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub cursor_cache: Mutex, ffi::Cursor>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reload_database` and `set_timestamp` are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xdisplay.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl XConnection { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn reload_database(&self) -> Result<(), super::X11Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn set_timestamp(&self, timestamp: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected` and `found` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xsettings.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 259 | NoMoreBytes { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 260 | expected: NonZeroUsize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 261 | found: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xsettings.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | InvalidType(i8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 265 | InvalidType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xsettings.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | BadType(SettingType), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 268 | BadType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::platform::x11::EventLoopWindowTargetExtX11` [INFO] [stdout] --> alacritty/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winit::platform::x11::EventLoopWindowTargetExtX11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLoopWindowTargetExtX11` [INFO] [stdout] --> alacritty/src/display/window.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | winit::platform::x11::{WindowBuilderExtX11, EventLoopWindowTargetExtX11}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CursorIcon` [INFO] [stdout] --> alacritty/src/display/window.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | CursorIcon, Theme as WinitTheme, Window as WinitWindow, WindowBuilder, WindowId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::platform::x11::EventLoopWindowTargetExtX11` [INFO] [stdout] --> alacritty/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winit::platform::x11::EventLoopWindowTargetExtX11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLoopWindowTargetExtX11` [INFO] [stdout] --> alacritty/src/display/window.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | winit::platform::x11::{WindowBuilderExtX11, EventLoopWindowTargetExtX11}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CursorIcon` [INFO] [stdout] --> alacritty/src/display/window.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | CursorIcon, Theme as WinitTheme, Window as WinitWindow, WindowBuilder, WindowId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smol_str::SmolStr` [INFO] [stdout] --> winit-0.29.11/src/event.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `platform_impl` [INFO] [stdout] --> winit-0.29.11/src/event.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | platform_impl, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smol_str::SmolStr` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CursorGrabMode`, `CursorIcon`, `ExternalError`, `ImePurpose`, `ResizeDirection` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/mod.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | error::{EventLoopError, ExternalError, NotSupportedError, OsError as RootOsError}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | ActivationToken, CursorGrabMode, CursorIcon, ImePurpose, ResizeDirection, Theme, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::platform_impl::platform::DeviceId as PlatformDeviceId` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/event_loop/sink.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::platform_impl::platform::DeviceId as PlatformDeviceId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceId` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/event_loop/sink.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{DeviceId, WindowId}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sctk::reexports::client::backend::ObjectId` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sctk::reexports::client::backend::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Proxy` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use sctk::reexports::client::{Connection, Proxy, QueueHandle}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sctk::seat::pointer::ThemedPointer` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sctk::seat::pointer::ThemedPointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sctk::seat::SeatState` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use sctk::seat::SeatState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Region` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use sctk::compositor::{CompositorState, Region, SurfaceData}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExternalError` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::error::{ExternalError, NotSupportedError, OsError as RootOsError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::event::WindowEvent` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::event::WindowEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CursorGrabMode`, `CursorIcon`, `ImePurpose`, `ResizeDirection` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | CursorGrabMode, CursorIcon, ImePurpose, ResizeDirection, Theme, UserAttentionType, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sctk::seat::pointer::ThemedPointer` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use sctk::seat::pointer::ThemedPointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicalPosition` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::dpi::{LogicalPosition, LogicalSize, PhysicalSize, Size}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExternalError`, `NotSupportedError` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::error::{ExternalError, NotSupportedError}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XIDeviceEvent`, `XIEnterEvent`, `XIFocusInEvent`, `XIFocusOutEvent`, `XIHierarchyEvent`, `XILeaveEvent`, `XIModifierState`, `XIRawEvent`, `self` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self, XIDeviceEvent, XIEnterEvent, XIFocusInEvent, XIFocusOutEvent, XIHierarchyEvent, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | XILeaveEvent, XIModifierState, XIRawEvent, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Window as XWindow`, `XKeyEvent`, `XkbAnyEvent`, `XkbStateRec` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | self, Display as XDisplay, Window as XWindow, XAnyEvent, XClientMessageEvent, XConfigureEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | XDestroyWindowEvent, XEvent, XExposeEvent, XKeyEvent, XMapEvent, XPropertyEvent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | XReparentEvent, XSelectionEvent, XVisibilityEvent, XkbAnyEvent, XkbStateRec, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x11rb::protocol::xkb::ID as XkbId` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use x11rb::protocol::xkb::ID as XkbId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModMask` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | use x11rb::protocol::xproto::{self, ConnectionExt as _, ModMask}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xkbcommon_dl::xkb_mod_mask_t` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use xkbcommon_dl::xkb_mod_mask_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicalPosition` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::dpi::{PhysicalPosition, PhysicalSize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericEventCookie`, `ScrollOrientation` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | GenericEventCookie, ScrollOrientation, UnownedWindow, WindowId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImePurpose` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/window.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | CursorGrabMode, CursorIcon, ImePurpose, ResizeDirection, Theme, UserAttentionType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_MOD_REPLAY_LEN` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | use event_processor::{EventProcessor, MAX_MOD_REPLAY_LEN}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExternalError` [INFO] [stdout] --> winit-0.29.11/src/window.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | error::{ExternalError, NotSupportedError, OsError}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_hidden` is never read [INFO] [stdout] --> alacritty/src/display/mod.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Display { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub cursor_hidden: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale_factor` is never read [INFO] [stdout] --> alacritty/src/display/window.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Window { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 97 | pub scale_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window` is never used [INFO] [stdout] --> alacritty/src/event.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait InputActionContext { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] 26 | fn window(&mut self) -> &mut Window; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_loop`, `event_proxy`, `scheduler`, `dirty`, and `occluded` are never read [INFO] [stdout] --> alacritty/src/event.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ActionContext<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 65 | pub display: &'a mut Display, [INFO] [stdout] 66 | pub event_loop: &'a EventLoopWindowTarget, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | pub event_proxy: &'a EventLoopProxy, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | pub scheduler: &'a mut Scheduler, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | pub dirty: &'a mut bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | pub occluded: &'a mut bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_hidden` is never read [INFO] [stdout] --> alacritty/src/display/mod.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Display { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub cursor_hidden: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale_factor` is never read [INFO] [stdout] --> alacritty/src/display/window.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Window { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 97 | pub scale_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window` is never used [INFO] [stdout] --> alacritty/src/event.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait InputActionContext { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] 26 | fn window(&mut self) -> &mut Window; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_loop`, `event_proxy`, `scheduler`, `dirty`, and `occluded` are never read [INFO] [stdout] --> alacritty/src/event.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ActionContext<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 65 | pub display: &'a mut Display, [INFO] [stdout] 66 | pub event_loop: &'a EventLoopWindowTarget, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | pub event_proxy: &'a EventLoopProxy, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | pub scheduler: &'a mut Scheduler, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | pub dirty: &'a mut bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | pub occluded: &'a mut bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_target` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let window_target = Self::window_target_mut(&mut self.target); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xev` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn process_event(&mut self, xev: &mut XEvent, mut callback: F) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_xev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:53:62 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn process_event(&mut self, xev: &mut XEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:53:58 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn process_event(&mut self, xev: &mut XEvent, mut callback: F) [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `X` and `Wayland` are never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub enum DeviceId { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 166 | #[cfg(x11_platform)] [INFO] [stdout] 167 | X(x11::DeviceId), [INFO] [stdout] | ^ [INFO] [stdout] 168 | #[cfg(wayland_platform)] [INFO] [stdout] 169 | Wayland(wayland::DeviceId), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dummy` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/mod.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 172 | impl DeviceId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 173 | pub const unsafe fn dummy() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Wire` is never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum WaylandError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | Wire(client::backend::WaylandError), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WaylandError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dummy` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 68 | impl DeviceId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 69 | pub const unsafe fn dummy() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loop_handle` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/state.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct WinitState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | pub loop_handle: LoopHandle<'static, Self>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `compositor` and `window_events_sink` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | compositor: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | window_events_sink: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct WindowState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 51 | /// The connection to Wayland server. [INFO] [stdout] 52 | pub connection: Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub shm: WlShm, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub cursor_icon: CursorIcon, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub cursor_visible: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | cursor_grab_mode: GrabState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | ime_allowed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | ime_purpose: ImePurpose, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | text_inputs: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | has_pending_move: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl WindowState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn frame_click( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn frame_point_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn frame_point_moved( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn ime_allowed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | pub fn add_seat_focus(&mut self, seat: ObjectId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn remove_seat_focus(&mut self, seat: &ObjectId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | pub fn text_input_entered(&mut self, text_input: &ZwpTextInputV3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | pub fn text_input_left(&mut self, text_input: &ZwpTextInputV3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_grab_mode` and `current_grab_mode` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/wayland/window/state.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 816 | struct GrabState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 817 | /// The grab mode requested by the user. [INFO] [stdout] 818 | user_grab_mode: CursorGrabMode, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 821 | current_grab_mode: CursorGrabMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrabState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wm_delete_window` and `net_wm_ping` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct EventLoopWindowTarget { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 130 | xconn: Arc, [INFO] [stdout] 131 | wm_delete_window: xproto::Atom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | net_wm_ping: xproto::Atom, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedNull` is never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:848:5 [INFO] [stdout] | [INFO] [stdout] 831 | pub enum X11Error { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 848 | UnexpectedNull(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `X11Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericEventCookie` is never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:973:8 [INFO] [stdout] | [INFO] [stdout] 973 | struct GenericEventCookie<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_event` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:979:8 [INFO] [stdout] | [INFO] [stdout] 978 | impl<'a> GenericEventCookie<'a> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 979 | fn from_event(xconn: &XConnection, event: ffi::XEvent) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mkwid` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:999:4 [INFO] [stdout] | [INFO] [stdout] 999 | fn mkwid(w: xproto::Window) -> crate::window::WindowId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attachment` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:1009:5 [INFO] [stdout] | [INFO] [stdout] 1004 | pub struct Device { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1009 | attachment: c_int, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `increment` and `orientation` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:1014:5 [INFO] [stdout] | [INFO] [stdout] 1013 | struct ScrollAxis { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1014 | increment: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1015 | orientation: ScrollOrientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScrollAxis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xinput_fp1616_to_float` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/mod.rs:1099:4 [INFO] [stdout] | [INFO] [stdout] 1099 | fn xinput_fp1616_to_float(fp: xinput::Fp1616) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/atoms.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum AtomName { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | XIM_SERVERS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | XdndEnter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | XdndLeave, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 85 | XdndDrop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | XdndPosition, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | XdndStatus, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 88 | XdndActionPrivate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | XdndSelection, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 90 | XdndFinished, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 91 | XdndTypeList, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | TextUriList: b"text/uri-list", [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | None: b"None", [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtomName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `atom_manager` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DndState` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum DndState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DndState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | InvalidUtf8(Utf8Error), [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 26 | InvalidUtf8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | UnresolvablePath(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 29 | UnresolvablePath(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EmptyData`, `HostnameSpecified`, and `UnexpectedProtocol` are never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum DndDataParseError { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 25 | EmptyData, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | InvalidUtf8(Utf8Error), [INFO] [stdout] 27 | HostnameSpecified(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | UnexpectedProtocol(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: fields `xconn`, `version`, `type_list`, `source_window`, and `result` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Dnd { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 45 | xconn: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | // Populated by XdndEnter event handler [INFO] [stdout] 47 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | pub type_list: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | // Populated by XdndPosition event handler [INFO] [stdout] 50 | pub source_window: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | // Populated by SelectionNotify event handler (triggered by XdndPosition event handler) [INFO] [stdout] 52 | pub result: Option, DndDataParseError>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/dnd.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Dnd { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub unsafe fn send_status( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub unsafe fn send_finished( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub unsafe fn get_type_list( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub unsafe fn convert_selection(&self, window: xproto::Window, time: xproto::Timestamp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub unsafe fn read_data( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn parse_data(&self, data: &mut [c_uchar]) -> Result, DndDataParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MOD_REPLAY_LEN` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const MAX_MOD_REPLAY_LEN: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYCODE_OFFSET` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const KEYCODE_OFFSET: u8 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dnd`, `randr_event_offset`, `xi2ext`, `xkbext`, `active_window`, and `is_composing` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct EventProcessor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 41 | pub dnd: Dnd, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | pub randr_event_offset: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub devices: RefCell>, [INFO] [stdout] 44 | pub xi2ext: ExtensionInformation, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub xkbext: ExtensionInformation, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub active_window: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub is_composing: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/event_processor.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl EventProcessor { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn filter_event(&mut self, xev: &mut XEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn client_message(&mut self, xev: &XClientMessageEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn selection_notify(&mut self, xev: &XSelectionEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn configure_notify(&self, xev: &XConfigureEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | fn reparent_notify(&self, xev: &XReparentEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | fn map_notify(&self, xev: &XMapEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | fn destroy_notify(&self, xev: &XDestroyWindowEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | fn property_notify(&mut self, xev: &XPropertyEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | fn visibility_notify(&self, xev: &XVisibilityEvent, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | fn expose(&self, xev: &XExposeEvent, mut callback: F) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | fn process_dpi_change(&self, callback: &mut F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 713 | fn window_exists(&self, window_id: xproto::Window) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invalidate_cached_monitor_list` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/monitor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl XConnection { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 18 | pub fn invalidate_cached_monitor_list(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_monitor_for_window` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/monitor.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl XConnection { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 204 | pub fn get_monitor_for_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_change` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn maybe_change(field: &mut Option, value: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_flag` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn has_flag(bitset: T, flag: T) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_cursor_icon`, `create_empty_cursor`, `get_cursor`, and `update_cursor` are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/cursor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl XConnection { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 11 | pub fn set_cursor_icon(&self, window: xproto::Window, cursor: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn create_empty_cursor(&self) -> ffi::Cursor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_cursor(&self, cursor: Option) -> ffi::Cursor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn update_cursor(&self, window: xproto::Window, cursor: ffi::Cursor) -> Result<(), X11Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_overlapping_area` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/geometry.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AaRect { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_overlapping_area(&self, other: &Self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/geometry.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Geometry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 45 | pub root: xproto::Window, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub x_rel_parent: c_int, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub y_rel_parent: c_int, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | // In that same case, this will give you client area size. [INFO] [stdout] 55 | pub width: c_uint, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | pub height: c_uint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub border: c_uint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub depth: c_uint, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Geometry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTUAL_CORE_KEYBOARD` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/input.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const VIRTUAL_CORE_KEYBOARD: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEXT_BUFFER_SIZE` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/input.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const TEXT_BUFFER_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_utf8_inner` and `lookup_utf8` are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/input.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl XConnection { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn lookup_utf8_inner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn lookup_utf8(&self, ic: ffi::XIC, key_event: &mut ffi::XKeyEvent) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_keymap` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/keys.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl XConnection { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 65 | pub fn query_keymap(&self) -> Keymap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XSmartPointer` is never constructed [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/memory.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct XSmartPointer<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/memory.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a, T> XSmartPointer<'a, T> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new(xconn: &'a XConnection, ptr: *mut T) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/window_property.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | X11rbError(Arc), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 13 | X11rbError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/window_property.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | FormatMismatch(c_int), [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 15 | FormatMismatch(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_TOPLEFT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MOVERESIZE_TOPLEFT: isize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_TOP` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MOVERESIZE_TOP: isize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_TOPRIGHT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MOVERESIZE_TOPRIGHT: isize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_RIGHT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MOVERESIZE_RIGHT: isize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_BOTTOMRIGHT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MOVERESIZE_BOTTOMRIGHT: isize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_BOTTOM` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MOVERESIZE_BOTTOM: isize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_BOTTOMLEFT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MOVERESIZE_BOTTOMLEFT: isize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_LEFT` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const MOVERESIZE_LEFT: isize = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVERESIZE_MOVE` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/wm.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const MOVERESIZE_MOVE: isize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_modifier` is never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/util/xmodmap.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ModifierKeymap { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_modifier(&self, keycode: XKeyCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor_pos`, `size`, `position`, `inner_position`, `inner_position_rel_parent`, and `dpi_adjusted` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/window.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SharedState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 45 | pub cursor_pos: Option<(f64, f64)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | pub size: Option<(u32, u32)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub position: Option<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub inner_position: Option<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub inner_position_rel_parent: Option<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub dpi_adjusted: Option<(u32, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor`, `cursor_grabbed_mode`, and `cursor_visible` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/window.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct UnownedWindow { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | cursor: Mutex, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | cursor_grabbed_mode: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | #[allow(clippy::mutex_atomic)] [INFO] [stdout] 129 | cursor_visible: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/window.rs:860:19 [INFO] [stdout] | [INFO] [stdout] 144 | impl UnownedWindow { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 860 | pub(crate) fn visibility_notify(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 920 | pub(super) fn refresh_dpi_for_monitor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1435 | pub(crate) fn adjust_for_dpi( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1524 | pub fn set_cursor_icon(&self, cursor: CursorIcon) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1533 | pub fn set_cursor_grab(&self, mode: CursorGrabMode) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1611 | pub fn set_cursor_visible(&self, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1632 | pub fn set_cursor_position_physical(&self, x: i32, y: i32) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1647 | pub fn set_cursor_position(&self, position: Position) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1675 | pub fn drag_window(&self) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1680 | pub fn show_window_menu(&self, _position: Position) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1683 | pub fn drag_resize_window(&self, direction: ResizeDirection) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1697 | fn drag_initiate(&self, action: isize) -> Result<(), ExternalError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xcursor` and `cursor_cache` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xdisplay.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct XConnection { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 26 | pub xlib: ffi::Xlib, [INFO] [stdout] 27 | pub xcursor: ffi::Xcursor, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub cursor_cache: Mutex, ffi::Cursor>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reload_database` and `set_timestamp` are never used [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xdisplay.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl XConnection { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn reload_database(&self) -> Result<(), super::X11Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn set_timestamp(&self, timestamp: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected` and `found` are never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xsettings.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 259 | NoMoreBytes { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 260 | expected: NonZeroUsize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 261 | found: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xsettings.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | InvalidType(i8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 265 | InvalidType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> winit-0.29.11/src/platform_impl/linux/x11/xsettings.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | BadType(SettingType), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 268 | BadType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.43s [INFO] running `Command { std: "docker" "inspect" "8234cf942a4a2b38e4a8cf7cbd2db9758e3777c9953e0d01dd873fd14d254c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8234cf942a4a2b38e4a8cf7cbd2db9758e3777c9953e0d01dd873fd14d254c8f", kill_on_drop: false }` [INFO] [stdout] 8234cf942a4a2b38e4a8cf7cbd2db9758e3777c9953e0d01dd873fd14d254c8f