[INFO] cloning repository https://github.com/MalpenZibo/iced_sctk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MalpenZibo/iced_sctk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalpenZibo%2Ficed_sctk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalpenZibo%2Ficed_sctk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbd014d60074fb59c7e261f8d7089be4b82bd544 [INFO] linting MalpenZibo/iced_sctk against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalpenZibo%2Ficed_sctk" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MalpenZibo/iced_sctk [INFO] finished tweaking git repo https://github.com/MalpenZibo/iced_sctk [INFO] tweaked toml for git repo https://github.com/MalpenZibo/iced_sctk written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MalpenZibo/iced_sctk on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MalpenZibo/iced_sctk 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/pop-os/window_clipboard.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/smithay/client-toolkit` [INFO] [stderr] Updating git repository `https://github.com/pop-os/smithay-clipboard` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded window_clipboard v0.4.1 [INFO] [stderr] Downloaded clipboard_x11 v0.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.211 [INFO] [stderr] Downloaded sys-locale v0.3.1 [INFO] [stderr] Downloaded iced_style v0.12.1 [INFO] [stderr] Downloaded iced_tiny_skia v0.12.1 [INFO] [stderr] Downloaded tiny-xlib v0.2.3 [INFO] [stderr] Downloaded etagere v0.2.13 [INFO] [stderr] Downloaded iced_core v0.12.3 [INFO] [stderr] Downloaded iced_wgpu v0.12.1 [INFO] [stderr] Downloaded iced_runtime v0.12.1 [INFO] [stderr] Downloaded serde v1.0.211 [INFO] [stderr] Downloaded iced_graphics v0.12.1 [INFO] [stderr] Downloaded font-types v0.7.2 [INFO] [stderr] Downloaded svg_fmt v0.4.3 [INFO] [stderr] Downloaded iced_futures v0.12.0 [INFO] [stderr] Downloaded glyphon v0.5.0 [INFO] [stderr] Downloaded iced_renderer v0.12.1 [INFO] [stderr] Downloaded read-fonts v0.22.3 [INFO] [stderr] Downloaded cosmic-text v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3396eab56a705778e2b7568b6f688ca1b327f7e9e4741da60ab407bb21e66cb [INFO] running `Command { std: "docker" "start" "-a" "d3396eab56a705778e2b7568b6f688ca1b327f7e9e4741da60ab407bb21e66cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3396eab56a705778e2b7568b6f688ca1b327f7e9e4741da60ab407bb21e66cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3396eab56a705778e2b7568b6f688ca1b327f7e9e4741da60ab407bb21e66cb", kill_on_drop: false }` [INFO] [stdout] d3396eab56a705778e2b7568b6f688ca1b327f7e9e4741da60ab407bb21e66cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 621e6abe859b5bafef7c5bd58ad73b7919b40d276e35f571a4ca1fedfc98114e [INFO] running `Command { std: "docker" "start" "-a" "621e6abe859b5bafef7c5bd58ad73b7919b40d276e35f571a4ca1fedfc98114e", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Checking memmap2 v0.8.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking fast-srgb8 v1.0.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking glam v0.25.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking fontconfig-parser v0.5.7 [INFO] [stderr] Checking yazi v0.1.6 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking ttf-parser v0.19.2 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking zeno v0.2.3 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling drm-sys v0.7.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking sys-locale v0.3.1 [INFO] [stderr] Checking linux-raw-sys v0.6.5 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking ash v0.37.3+1.3.251 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling tiny-xlib v0.2.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.0 (https://github.com/smithay/client-toolkit?rev=3bed072#3bed072b) [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling softbuffer v0.4.6 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking svg_fmt v0.4.3 [INFO] [stderr] Checking ctor-lite v0.1.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking kurbo v0.10.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking etagere v0.2.13 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking fontdb v0.15.0 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking drm-ffi v0.8.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking font-types v0.7.2 [INFO] [stderr] Checking rustybuzz v0.11.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking drm v0.12.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking read-fonts v0.22.3 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking xkbcommon v0.7.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking clipboard_x11 v0.4.2 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.4 [INFO] [stderr] Checking skrifa v0.22.3 [INFO] [stderr] Checking iced_core v0.12.3 [INFO] [stderr] Checking smithay-clipboard v0.8.0 (https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-4#ab422ddc) [INFO] [stderr] Checking iced_futures v0.12.0 [INFO] [stderr] Checking iced_style v0.12.1 [INFO] [stderr] Checking swash v0.1.19 [INFO] [stderr] Checking mime v0.1.0 (https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-6#8a816d8f) [INFO] [stderr] Checking iced_runtime v0.12.1 [INFO] [stderr] Checking dnd v0.1.0 (https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-6#8a816d8f) [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking clipboard_wayland v0.2.2 [INFO] [stderr] Checking window_clipboard v0.4.1 [INFO] [stderr] Checking cosmic-text v0.10.0 [INFO] [stderr] Checking iced_graphics v0.12.1 [INFO] [stderr] Checking iced_tiny_skia v0.12.1 [INFO] [stderr] Checking iced_renderer v0.12.1 [INFO] [stderr] Checking glyphon v0.5.0 [INFO] [stderr] Checking iced_wgpu v0.12.1 [INFO] [stderr] Checking iced_sctk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:569:12 [INFO] [stdout] | [INFO] [stdout] 569 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `system` [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/util.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/util.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Operation` and `self` [INFO] [stdout] --> src/application.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | operation::{self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | tree, Operation, Tree, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `window` [INFO] [stdout] --> src/application.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | wayland::{data_device::DndIcon, popup, window}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:382:11 [INFO] [stdout] | [INFO] [stdout] 382 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:384:11 [INFO] [stdout] | [INFO] [stdout] 384 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:386:11 [INFO] [stdout] | [INFO] [stdout] 386 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:391:11 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1494:19 [INFO] [stdout] | [INFO] [stdout] 1494 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1540:19 [INFO] [stdout] | [INFO] [stdout] 1540 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1544:19 [INFO] [stdout] | [INFO] [stdout] 1544 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1114:31 [INFO] [stdout] | [INFO] [stdout] 1114 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1345:27 [INFO] [stdout] | [INFO] [stdout] 1345 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `system` [INFO] [stdout] --> src/application.rs:2096:23 [INFO] [stdout] | [INFO] [stdout] 2096 | #[cfg(feature = "system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/clipboard/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commands/popup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:244:7 [INFO] [stdout] | [INFO] [stdout] 244 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:319:7 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:326:7 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:398:7 [INFO] [stdout] | [INFO] [stdout] 398 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:480:7 [INFO] [stdout] | [INFO] [stdout] 480 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/dpi.rs:569:12 [INFO] [stdout] | [INFO] [stdout] 569 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `system` [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/util.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/util.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Operation` and `self` [INFO] [stdout] --> src/application.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | operation::{self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | tree, Operation, Tree, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `window` [INFO] [stdout] --> src/application.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | wayland::{data_device::DndIcon, popup, window}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:382:11 [INFO] [stdout] | [INFO] [stdout] 382 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:384:11 [INFO] [stdout] | [INFO] [stdout] 384 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:386:11 [INFO] [stdout] | [INFO] [stdout] 386 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:391:11 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1494:19 [INFO] [stdout] | [INFO] [stdout] 1494 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1540:19 [INFO] [stdout] | [INFO] [stdout] 1540 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1544:19 [INFO] [stdout] | [INFO] [stdout] 1544 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 517 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:689:39 [INFO] [stdout] | [INFO] [stdout] 689 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:791:35 [INFO] [stdout] | [INFO] [stdout] 791 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:793:35 [INFO] [stdout] | [INFO] [stdout] 793 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:806:35 [INFO] [stdout] | [INFO] [stdout] 806 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:985:39 [INFO] [stdout] | [INFO] [stdout] 985 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data_offer::DragOffer` [INFO] [stdout] --> src/handlers/data_device/data_device.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | data_device::DataDeviceHandler, data_offer::DragOffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1114:31 [INFO] [stdout] | [INFO] [stdout] 1114 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] 30 + .and_then(|s| s.source.as_ref().map(|s| s.0.inner() == source) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|s| (s.0.inner() == source)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - .map(|s| (s.0.inner() == source)) [INFO] [stdout] 61 + .map(|s| s.0.inner() == source ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/application.rs:1345:27 [INFO] [stdout] | [INFO] [stdout] 1345 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] 156 + .and_then(|s| s.source.as_ref().map(|s| s.0.inner() == source) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] 173 + .and_then(|s| s.source.as_ref().map(|s| s.0.inner() == source) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 191 - .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] 191 + .and_then(|s| s.source.as_ref().map(|s| s.0.inner() == source) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `system` [INFO] [stdout] --> src/application.rs:2096:23 [INFO] [stdout] | [INFO] [stdout] 2096 | #[cfg(feature = "system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/clipboard/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dpi::LogicalSize` [INFO] [stdout] --> src/handlers/shell/xdg_window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | dpi::LogicalSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::NonZeroU32` [INFO] [stdout] --> src/handlers/shell/xdg_window.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fmt::Debug, num::NonZeroU32}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/sctk_event.rs:274:7 [INFO] [stdout] | [INFO] [stdout] 274 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commands/popup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/sctk_event.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/sctk_event.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/sctk_event.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:244:7 [INFO] [stdout] | [INFO] [stdout] 244 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:319:7 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:326:7 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:398:7 [INFO] [stdout] | [INFO] [stdout] 398 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:480:7 [INFO] [stdout] | [INFO] [stdout] 480 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mint` [INFO] [stdout] --> src/dpi.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | #[cfg(feature = "mint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `mint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:578:33 [INFO] [stdout] | [INFO] [stdout] 578 | ... key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:579:33 [INFO] [stdout] | [INFO] [stdout] 579 | ... location: location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `location` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:591:33 [INFO] [stdout] | [INFO] [stdout] 591 | ... key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:592:33 [INFO] [stdout] | [INFO] [stdout] 592 | ... location: location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `location` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:605:33 [INFO] [stdout] | [INFO] [stdout] 605 | ... location: location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `location` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 517 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:689:39 [INFO] [stdout] | [INFO] [stdout] 689 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:791:35 [INFO] [stdout] | [INFO] [stdout] 791 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:793:35 [INFO] [stdout] | [INFO] [stdout] 793 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:806:35 [INFO] [stdout] | [INFO] [stdout] 806 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/event_loop/mod.rs:985:39 [INFO] [stdout] | [INFO] [stdout] 985 | ... #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data_offer::DragOffer` [INFO] [stdout] --> src/handlers/data_device/data_device.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | data_device::DataDeviceHandler, data_offer::DragOffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] 30 + .and_then(|s| s.source.as_ref().map(|s| s.0.inner() == source) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|s| (s.0.inner() == source)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - .map(|s| (s.0.inner() == source)) [INFO] [stdout] 61 + .map(|s| s.0.inner() == source ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] 156 + .and_then(|s| s.source.as_ref().map(|s| s.0.inner() == source) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] 173 + .and_then(|s| s.source.as_ref().map(|s| s.0.inner() == source) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/handlers/data_device/data_source.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 191 - .and_then(|s| (s.source.as_ref().map(|s| s.0.inner() == source))) [INFO] [stdout] 191 + .and_then(|s| s.source.as_ref().map(|s| s.0.inner() == source) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dpi::LogicalSize` [INFO] [stdout] --> src/handlers/shell/xdg_window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | dpi::LogicalSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::NonZeroU32` [INFO] [stdout] --> src/handlers/shell/xdg_window.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fmt::Debug, num::NonZeroU32}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/sctk_event.rs:274:7 [INFO] [stdout] | [INFO] [stdout] 274 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/sctk_event.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/sctk_event.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `a11y` [INFO] [stdout] --> src/sctk_event.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "a11y")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `application`, `clipboard`, `debug`, and `no-hand-cursor` [INFO] [stdout] = help: consider adding `a11y` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:578:33 [INFO] [stdout] | [INFO] [stdout] 578 | ... key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:579:33 [INFO] [stdout] | [INFO] [stdout] 579 | ... location: location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `location` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:591:33 [INFO] [stdout] | [INFO] [stdout] 591 | ... key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:592:33 [INFO] [stdout] | [INFO] [stdout] 592 | ... location: location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `location` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/sctk_event.rs:605:33 [INFO] [stdout] | [INFO] [stdout] 605 | ... location: location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `location` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/application.rs:2093:9 [INFO] [stdout] | [INFO] [stdout] 2074 | iced_runtime::command::Action::Window(action) => { [INFO] [stdout] | --------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 2093 | iced_runtime::command::Action::Window(action) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/application.rs:2286:21 [INFO] [stdout] | [INFO] [stdout] 2286 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/application.rs:2286:21 [INFO] [stdout] | [INFO] [stdout] 2170 | platform_specific::wayland::Action::LayerSurface(layer_surface_action) => { [INFO] [stdout] | ---------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2208 | platform_specific::wayland::Action::Window(window_action) => { [INFO] [stdout] | --------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2245 | platform_specific::wayland::Action::Popup(popup_action) => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2277 | platform_specific::wayland::Action::DataDevice(data_device_action) => { [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2286 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/iced_sctk-f14a7b93eca50b77.long-type-18072866141716276753.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:2120:17 [INFO] [stdout] | [INFO] [stdout] 2120 | let mut user_interface = build_user_interface( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/application.rs:2093:47 [INFO] [stdout] | [INFO] [stdout] 2093 | iced_runtime::command::Action::Window(action) => {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/application.rs:2111:47 [INFO] [stdout] | [INFO] [stdout] 2111 | iced_runtime::command::Action::Widget(action) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/application.rs:2093:9 [INFO] [stdout] | [INFO] [stdout] 2074 | iced_runtime::command::Action::Window(action) => { [INFO] [stdout] | --------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 2093 | iced_runtime::command::Action::Window(action) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/application.rs:2286:21 [INFO] [stdout] | [INFO] [stdout] 2286 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/application.rs:2286:21 [INFO] [stdout] | [INFO] [stdout] 2170 | platform_specific::wayland::Action::LayerSurface(layer_surface_action) => { [INFO] [stdout] | ---------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2208 | platform_specific::wayland::Action::Window(window_action) => { [INFO] [stdout] | --------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2245 | platform_specific::wayland::Action::Popup(popup_action) => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2277 | platform_specific::wayland::Action::DataDevice(data_device_action) => { [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2286 | _ => {} [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/iced_sctk-39a477dab90832c6.long-type-2200279649877499829.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:2120:17 [INFO] [stdout] | [INFO] [stdout] 2120 | let mut user_interface = build_user_interface( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/application.rs:2093:47 [INFO] [stdout] | [INFO] [stdout] 2093 | iced_runtime::command::Action::Window(action) => {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/application.rs:2111:47 [INFO] [stdout] | [INFO] [stdout] 2111 | iced_runtime::command::Action::Widget(action) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/handlers/seat/keyboard.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | layout: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seat_id` [INFO] [stdout] --> src/sctk_event.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | seat_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `seat_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caps` [INFO] [stdout] --> src/sctk_event.rs:639:52 [INFO] [stdout] | [INFO] [stdout] 639 | WindowEventVariant::WmCapabilities(caps) => Default::default(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_caps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/sctk_event.rs:689:50 [INFO] [stdout] | [INFO] [stdout] 689 | WindowEventVariant::StateChanged(s) => Default::default(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/sctk_event.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | id: surface, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/sctk_event.rs:727:21 [INFO] [stdout] | [INFO] [stdout] 727 | id: surface, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/sctk_event.rs:754:36 [INFO] [stdout] | [INFO] [stdout] 754 | SctkEvent::NewOutput { id, info } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/sctk_event.rs:754:40 [INFO] [stdout] | [INFO] [stdout] 754 | SctkEvent::NewOutput { id, info } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/sctk_event.rs:765:39 [INFO] [stdout] | [INFO] [stdout] 765 | SctkEvent::UpdateOutput { id, info } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/sctk_event.rs:765:43 [INFO] [stdout] | [INFO] [stdout] 765 | SctkEvent::UpdateOutput { id, info } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/sctk_event.rs:774:38 [INFO] [stdout] | [INFO] [stdout] 774 | SctkEvent::RemovedOutput(id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_types` [INFO] [stdout] --> src/sctk_event.rs:791:40 [INFO] [stdout] | [INFO] [stdout] 791 | DndOfferEvent::Enter { mime_types, x, y } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `mime_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sctk_event.rs:791:52 [INFO] [stdout] | [INFO] [stdout] 791 | DndOfferEvent::Enter { mime_types, x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/sctk_event.rs:791:55 [INFO] [stdout] | [INFO] [stdout] 791 | DndOfferEvent::Enter { mime_types, x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sctk_event.rs:801:41 [INFO] [stdout] | [INFO] [stdout] 801 | DndOfferEvent::Motion { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/sctk_event.rs:801:44 [INFO] [stdout] | [INFO] [stdout] 801 | DndOfferEvent::Motion { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/sctk_event.rs:802:25 [INFO] [stdout] | [INFO] [stdout] 802 | let offset = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> src/sctk_event.rs:840:39 [INFO] [stdout] | [INFO] [stdout] 840 | DndOfferEvent::Data { mime_type, data } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mime_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/sctk_event.rs:840:50 [INFO] [stdout] | [INFO] [stdout] 840 | DndOfferEvent::Data { mime_type, data } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actions` [INFO] [stdout] --> src/sctk_event.rs:850:46 [INFO] [stdout] | [INFO] [stdout] 850 | DndOfferEvent::SourceActions(actions) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/sctk_event.rs:860:47 [INFO] [stdout] | [INFO] [stdout] 860 | DndOfferEvent::SelectedAction(action) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> src/sctk_event.rs:902:47 [INFO] [stdout] | [INFO] [stdout] 902 | DataSourceEvent::MimeAccepted(mime_type) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mime_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/sctk_event.rs:912:52 [INFO] [stdout] | [INFO] [stdout] 912 | DataSourceEvent::DndActionAccepted(action) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> src/sctk_event.rs:922:48 [INFO] [stdout] | [INFO] [stdout] 922 | DataSourceEvent::SendDndData { mime_type } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mime_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> src/sctk_event.rs:932:54 [INFO] [stdout] | [INFO] [stdout] 932 | DataSourceEvent::SendSelectionData { mime_type } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mime_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/handlers/seat/keyboard.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | layout: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `subsurface_widget::SubsurfaceInstance` is more private than the item `subsurface_widget::SubsurfaceState::unmapped_subsurfaces` [INFO] [stdout] --> src/subsurface_widget.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub unmapped_subsurfaces: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `subsurface_widget::SubsurfaceState::unmapped_subsurfaces` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `subsurface_widget::SubsurfaceInstance` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/subsurface_widget.rs:464:1 [INFO] [stdout] | [INFO] [stdout] 464 | pub(crate) struct SubsurfaceInstance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unavailable` is never constructed [INFO] [stdout] --> src/clipboard/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 15 | Connected(()), [INFO] [stdout] 16 | Unavailable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wp_fractional_scale` is never read [INFO] [stdout] --> src/event_loop/state.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct SctkLockSurface { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 232 | pub(crate) wp_fractional_scale: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SctkLockSurface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/application.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / pub enum Event { [INFO] [stdout] 76 | | /// A normal sctk event [INFO] [stdout] 77 | | SctkEvent(IcedSctkEvent), [INFO] [stdout] | | --------------------------------- the largest variant contains at least 464 bytes [INFO] [stdout] 78 | | /// TODO [INFO] [stdout] ... | [INFO] [stdout] 82 | | LayerSurface(platform_specific::wayland::layer_surface::Action), [INFO] [stdout] | | ------------------------------------------------------------------------ the second-largest variant contains at least 168 bytes [INFO] [stdout] ... | [INFO] [stdout] 96 | | Message(Message), [INFO] [stdout] 97 | | } [INFO] [stdout] | |_^ the entire enum is at least 464 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 77 - SctkEvent(IcedSctkEvent), [INFO] [stdout] 77 + SctkEvent(Box>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | let surface_ids = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] = note: `#[warn(clippy::mutable_key_type)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | let subsurface_ids = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameters go unused in function definition: E, C [INFO] [stdout] --> src/application.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | fn subscription_map(e: A::Message) -> Event [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing the parameters [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters [INFO] [stdout] = note: `#[warn(clippy::extra_unused_type_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:334:22 [INFO] [stdout] | [INFO] [stdout] 334 | mut surface_ids: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | mut subsurface_ids: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/application.rs:329:18 [INFO] [stdout] | [INFO] [stdout] 329 | mut runtime: Runtime>, Event>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (16/7) [INFO] [stdout] --> src/application.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 325 | / async fn run_instance( [INFO] [stdout] 326 | | mut application: A, [INFO] [stdout] 327 | | mut compositor: C, [INFO] [stdout] 328 | | mut renderer: A::Renderer, [INFO] [stdout] ... | [INFO] [stdout] 346 | | C: Compositor + 'static, [INFO] [stdout] 347 | | ::Theme: StyleSheet, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | mut surface_ids: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | mut subsurface_ids: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | let mut destroyed_surface_ids: HashMap = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seat_id` [INFO] [stdout] --> src/sctk_event.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | seat_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `seat_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caps` [INFO] [stdout] --> src/sctk_event.rs:639:52 [INFO] [stdout] | [INFO] [stdout] 639 | WindowEventVariant::WmCapabilities(caps) => Default::default(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_caps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/sctk_event.rs:689:50 [INFO] [stdout] | [INFO] [stdout] 689 | WindowEventVariant::StateChanged(s) => Default::default(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/sctk_event.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | id: surface, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/sctk_event.rs:727:21 [INFO] [stdout] | [INFO] [stdout] 727 | id: surface, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/sctk_event.rs:754:36 [INFO] [stdout] | [INFO] [stdout] 754 | SctkEvent::NewOutput { id, info } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/sctk_event.rs:754:40 [INFO] [stdout] | [INFO] [stdout] 754 | SctkEvent::NewOutput { id, info } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/sctk_event.rs:765:39 [INFO] [stdout] | [INFO] [stdout] 765 | SctkEvent::UpdateOutput { id, info } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/sctk_event.rs:765:43 [INFO] [stdout] | [INFO] [stdout] 765 | SctkEvent::UpdateOutput { id, info } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/sctk_event.rs:774:38 [INFO] [stdout] | [INFO] [stdout] 774 | SctkEvent::RemovedOutput(id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_types` [INFO] [stdout] --> src/sctk_event.rs:791:40 [INFO] [stdout] | [INFO] [stdout] 791 | DndOfferEvent::Enter { mime_types, x, y } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `mime_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sctk_event.rs:791:52 [INFO] [stdout] | [INFO] [stdout] 791 | DndOfferEvent::Enter { mime_types, x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/sctk_event.rs:791:55 [INFO] [stdout] | [INFO] [stdout] 791 | DndOfferEvent::Enter { mime_types, x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sctk_event.rs:801:41 [INFO] [stdout] | [INFO] [stdout] 801 | DndOfferEvent::Motion { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/sctk_event.rs:801:44 [INFO] [stdout] | [INFO] [stdout] 801 | DndOfferEvent::Motion { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/sctk_event.rs:802:25 [INFO] [stdout] | [INFO] [stdout] 802 | let offset = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> src/sctk_event.rs:840:39 [INFO] [stdout] | [INFO] [stdout] 840 | DndOfferEvent::Data { mime_type, data } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mime_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/sctk_event.rs:840:50 [INFO] [stdout] | [INFO] [stdout] 840 | DndOfferEvent::Data { mime_type, data } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actions` [INFO] [stdout] --> src/sctk_event.rs:850:46 [INFO] [stdout] | [INFO] [stdout] 850 | DndOfferEvent::SourceActions(actions) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/sctk_event.rs:860:47 [INFO] [stdout] | [INFO] [stdout] 860 | DndOfferEvent::SelectedAction(action) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> src/sctk_event.rs:902:47 [INFO] [stdout] | [INFO] [stdout] 902 | DataSourceEvent::MimeAccepted(mime_type) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mime_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/sctk_event.rs:912:52 [INFO] [stdout] | [INFO] [stdout] 912 | DataSourceEvent::DndActionAccepted(action) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> src/sctk_event.rs:922:48 [INFO] [stdout] | [INFO] [stdout] 922 | DataSourceEvent::SendDndData { mime_type } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mime_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> src/sctk_event.rs:932:54 [INFO] [stdout] | [INFO] [stdout] 932 | DataSourceEvent::SendSelectionData { mime_type } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mime_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/application.rs:1150:78 [INFO] [stdout] | [INFO] [stdout] 1150 | for (event, status) in native_events.into_iter().zip(statuses.into_iter()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/traits/iterator.rs:629:11 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 1150 - for (event, status) in native_events.into_iter().zip(statuses.into_iter()) { [INFO] [stdout] 1150 + for (event, status) in native_events.into_iter().zip(statuses) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `subsurface_widget::SubsurfaceInstance` is more private than the item `subsurface_widget::SubsurfaceState::unmapped_subsurfaces` [INFO] [stdout] --> src/subsurface_widget.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub unmapped_subsurfaces: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `subsurface_widget::SubsurfaceState::unmapped_subsurfaces` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `subsurface_widget::SubsurfaceInstance` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/subsurface_widget.rs:464:1 [INFO] [stdout] | [INFO] [stdout] 464 | pub(crate) struct SubsurfaceInstance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match can be simplified with `.unwrap_or_default()` [INFO] [stdout] --> src/application.rs:1181:45 [INFO] [stdout] | [INFO] [stdout] 1181 | ... let mut cache = match pure_states.remove(&surface_id.inner()) { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 1182 | | ... Some(cache) => cache, [INFO] [stdout] 1183 | | ... None => user_interface::Cache::default(), [INFO] [stdout] 1184 | | ... }; [INFO] [stdout] | |_______________________^ help: ascribe the type iced_runtime::user_interface::Cache and replace your expression with: `pure_states.remove(&surface_id.inner()).unwrap_or_default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default [INFO] [stdout] = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this call to `clone` can be replaced with `std::slice::from_ref` [INFO] [stdout] --> src/application.rs:1252:29 [INFO] [stdout] | [INFO] [stdout] 1252 | ... &[redraw_event.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::slice::from_ref(&redraw_event)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cloned_ref_to_slice_refs [INFO] [stdout] = note: `#[warn(clippy::cloned_ref_to_slice_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unavailable` is never constructed [INFO] [stdout] --> src/clipboard/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 15 | Connected(()), [INFO] [stdout] 16 | Unavailable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wp_fractional_scale` is never read [INFO] [stdout] --> src/event_loop/state.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct SctkLockSurface { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 232 | pub(crate) wp_fractional_scale: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SctkLockSurface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/application.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / pub enum Event { [INFO] [stdout] 76 | | /// A normal sctk event [INFO] [stdout] 77 | | SctkEvent(IcedSctkEvent), [INFO] [stdout] | | --------------------------------- the largest variant contains at least 464 bytes [INFO] [stdout] 78 | | /// TODO [INFO] [stdout] ... | [INFO] [stdout] 82 | | LayerSurface(platform_specific::wayland::layer_surface::Action), [INFO] [stdout] | | ------------------------------------------------------------------------ the second-largest variant contains at least 168 bytes [INFO] [stdout] ... | [INFO] [stdout] 96 | | Message(Message), [INFO] [stdout] 97 | | } [INFO] [stdout] | |_^ the entire enum is at least 464 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 77 - SctkEvent(IcedSctkEvent), [INFO] [stdout] 77 + SctkEvent(Box>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | let surface_ids = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] = note: `#[warn(clippy::mutable_key_type)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | let subsurface_ids = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameters go unused in function definition: E, C [INFO] [stdout] --> src/application.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | fn subscription_map(e: A::Message) -> Event [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing the parameters [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters [INFO] [stdout] = note: `#[warn(clippy::extra_unused_type_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:334:22 [INFO] [stdout] | [INFO] [stdout] 334 | mut surface_ids: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | mut subsurface_ids: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/application.rs:329:18 [INFO] [stdout] | [INFO] [stdout] 329 | mut runtime: Runtime>, Event>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (16/7) [INFO] [stdout] --> src/application.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 325 | / async fn run_instance( [INFO] [stdout] 326 | | mut application: A, [INFO] [stdout] 327 | | mut compositor: C, [INFO] [stdout] 328 | | mut renderer: A::Renderer, [INFO] [stdout] ... | [INFO] [stdout] 346 | | C: Compositor + 'static, [INFO] [stdout] 347 | | ::Theme: StyleSheet, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | mut surface_ids: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | mut subsurface_ids: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/application.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | let mut destroyed_surface_ids: HashMap = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/application.rs:1590:1 [INFO] [stdout] | [INFO] [stdout] 1590 | / pub fn build_user_interface<'a, A: Application>( [INFO] [stdout] 1591 | | application: &'a A, [INFO] [stdout] 1592 | | cache: user_interface::Cache, [INFO] [stdout] 1593 | | renderer: &mut A::Renderer, [INFO] [stdout] ... | [INFO] [stdout] 1601 | | where [INFO] [stdout] 1602 | | ::Theme: StyleSheet, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/application.rs:1150:78 [INFO] [stdout] | [INFO] [stdout] 1150 | for (event, status) in native_events.into_iter().zip(statuses.into_iter()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/traits/iterator.rs:629:11 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 1150 - for (event, status) in native_events.into_iter().zip(statuses.into_iter()) { [INFO] [stdout] 1150 + for (event, status) in native_events.into_iter().zip(statuses) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match can be simplified with `.unwrap_or_default()` [INFO] [stdout] --> src/application.rs:1181:45 [INFO] [stdout] | [INFO] [stdout] 1181 | ... let mut cache = match pure_states.remove(&surface_id.inner()) { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 1182 | | ... Some(cache) => cache, [INFO] [stdout] 1183 | | ... None => user_interface::Cache::default(), [INFO] [stdout] 1184 | | ... }; [INFO] [stdout] | |_______________________^ help: ascribe the type iced_runtime::user_interface::Cache and replace your expression with: `pure_states.remove(&surface_id.inner()).unwrap_or_default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default [INFO] [stdout] = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this call to `clone` can be replaced with `std::slice::from_ref` [INFO] [stdout] --> src/application.rs:1252:29 [INFO] [stdout] | [INFO] [stdout] 1252 | ... &[redraw_event.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::slice::from_ref(&redraw_event)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cloned_ref_to_slice_refs [INFO] [stdout] = note: `#[warn(clippy::cloned_ref_to_slice_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/application.rs:1590:1 [INFO] [stdout] | [INFO] [stdout] 1590 | / pub fn build_user_interface<'a, A: Application>( [INFO] [stdout] 1591 | | application: &'a A, [INFO] [stdout] 1592 | | cache: user_interface::Cache, [INFO] [stdout] 1593 | | renderer: &mut A::Renderer, [INFO] [stdout] ... | [INFO] [stdout] 1601 | | where [INFO] [stdout] 1602 | | ::Theme: StyleSheet, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`f32` -> `f32`) [INFO] [stdout] --> src/application.rs:1797:29 [INFO] [stdout] | [INFO] [stdout] 1797 | if !approx_eq!(f32, w as f32, old_size.width, F32Margin::default()) [INFO] [stdout] | ^^^^^^^^ help: try: `w` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`f32` -> `f32`) [INFO] [stdout] --> src/application.rs:1798:33 [INFO] [stdout] | [INFO] [stdout] 1798 | || !approx_eq!(f32, h as f32, old_size.height, F32Margin::default()) [INFO] [stdout] | ^^^^^^^^ help: try: `h` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`f32` -> `f32`) [INFO] [stdout] --> src/application.rs:1797:29 [INFO] [stdout] | [INFO] [stdout] 1797 | if !approx_eq!(f32, w as f32, old_size.width, F32Margin::default()) [INFO] [stdout] | ^^^^^^^^ help: try: `w` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`f32` -> `f32`) [INFO] [stdout] --> src/application.rs:1798:33 [INFO] [stdout] | [INFO] [stdout] 1798 | || !approx_eq!(f32, h as f32, old_size.height, F32Margin::default()) [INFO] [stdout] | ^^^^^^^^ help: try: `h` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (12/7) [INFO] [stdout] --> src/application.rs:1905:1 [INFO] [stdout] | [INFO] [stdout] 1905 | / pub(crate) fn update( [INFO] [stdout] 1906 | | application: &mut A, [INFO] [stdout] 1907 | | cache: &mut user_interface::Cache, [INFO] [stdout] 1908 | | state: Option<&State>, [INFO] [stdout] ... | [INFO] [stdout] 1921 | | C: iced_graphics::Compositor + 'static, [INFO] [stdout] 1922 | | ::Theme: StyleSheet, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (12/7) [INFO] [stdout] --> src/application.rs:1976:1 [INFO] [stdout] | [INFO] [stdout] 1976 | / fn run_command( [INFO] [stdout] 1977 | | application: &A, [INFO] [stdout] 1978 | | cache: &mut user_interface::Cache, [INFO] [stdout] 1979 | | state: Option<&State>, [INFO] [stdout] ... | [INFO] [stdout] 1992 | | ::Theme: StyleSheet, [INFO] [stdout] 1993 | | C: Compositor, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (11/7) [INFO] [stdout] --> src/application.rs:2014:1 [INFO] [stdout] | [INFO] [stdout] 2014 | / fn handle_actions( [INFO] [stdout] 2015 | | application: &A, [INFO] [stdout] 2016 | | cache: &mut user_interface::Cache, [INFO] [stdout] 2017 | | state: Option<&State>, [INFO] [stdout] ... | [INFO] [stdout] 2030 | | ::Theme: StyleSheet, [INFO] [stdout] 2031 | | C: Compositor, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/application.rs:2112:25 [INFO] [stdout] | [INFO] [stdout] 2112 | let state = match state { [INFO] [stdout] | _________________________^ [INFO] [stdout] 2113 | | Some(s) => s, [INFO] [stdout] 2114 | | None => return None, [INFO] [stdout] 2115 | | }; [INFO] [stdout] | |_____________^ help: try instead: `state?` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] = note: `#[warn(clippy::question_mark)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (12/7) [INFO] [stdout] --> src/application.rs:1905:1 [INFO] [stdout] | [INFO] [stdout] 1905 | / pub(crate) fn update( [INFO] [stdout] 1906 | | application: &mut A, [INFO] [stdout] 1907 | | cache: &mut user_interface::Cache, [INFO] [stdout] 1908 | | state: Option<&State>, [INFO] [stdout] ... | [INFO] [stdout] 1921 | | C: iced_graphics::Compositor + 'static, [INFO] [stdout] 1922 | | ::Theme: StyleSheet, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/application.rs:2303:6 [INFO] [stdout] | [INFO] [stdout] 2303 | ) -> HashMap< [INFO] [stdout] | ______^ [INFO] [stdout] 2304 | | SurfaceId, [INFO] [stdout] 2305 | | UserInterface<'a, ::Message, ::Theme, ::Renderer>, [INFO] [stdout] 2306 | | > [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/application.rs:2337:5 [INFO] [stdout] | [INFO] [stdout] 2337 | / match evt { [INFO] [stdout] 2338 | | SctkEvent::DataSource(_) => true, [INFO] [stdout] 2339 | | _ => false, [INFO] [stdout] 2340 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 2337 - match evt { [INFO] [stdout] 2338 - SctkEvent::DataSource(_) => true, [INFO] [stdout] 2339 - _ => false, [INFO] [stdout] 2340 - } [INFO] [stdout] 2337 + matches!(evt, SctkEvent::DataSource(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the function definition [INFO] [stdout] --> src/application.rs:2344:25 [INFO] [stdout] | [INFO] [stdout] 2344 | fn event_is_for_surface<'a, A, C>( [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (12/7) [INFO] [stdout] --> src/application.rs:1976:1 [INFO] [stdout] | [INFO] [stdout] 1976 | / fn run_command( [INFO] [stdout] 1977 | | application: &A, [INFO] [stdout] 1978 | | cache: &mut user_interface::Cache, [INFO] [stdout] 1979 | | state: Option<&State>, [INFO] [stdout] ... | [INFO] [stdout] 1992 | | ::Theme: StyleSheet, [INFO] [stdout] 1993 | | C: Compositor, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (11/7) [INFO] [stdout] --> src/application.rs:2014:1 [INFO] [stdout] | [INFO] [stdout] 2014 | / fn handle_actions( [INFO] [stdout] 2015 | | application: &A, [INFO] [stdout] 2016 | | cache: &mut user_interface::Cache, [INFO] [stdout] 2017 | | state: Option<&State>, [INFO] [stdout] ... | [INFO] [stdout] 2030 | | ::Theme: StyleSheet, [INFO] [stdout] 2031 | | C: Compositor, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/clipboard/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / mod clipboard { [INFO] [stdout] 6 | | use std::ffi::c_void; [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | use iced_core::clipboard::Kind; [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/application.rs:2112:25 [INFO] [stdout] | [INFO] [stdout] 2112 | let state = match state { [INFO] [stdout] | _________________________^ [INFO] [stdout] 2113 | | Some(s) => s, [INFO] [stdout] 2114 | | None => return None, [INFO] [stdout] 2115 | | }; [INFO] [stdout] | |_____________^ help: try instead: `state?` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] = note: `#[warn(clippy::question_mark)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe function's docs are missing a `# Safety` section [INFO] [stdout] --> src/clipboard/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / pub unsafe fn connect( [INFO] [stdout] 21 | | _display: &impl raw_window_handle::HasDisplayHandle, [INFO] [stdout] 22 | | ) -> Clipboard { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc [INFO] [stdout] = note: `#[warn(clippy::missing_safety_doc)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `from_*` usually take no `self` [INFO] [stdout] --> src/command/platform_specific/wayland/data_device.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn from_mime_type(&self, mime_type: &str) -> Option>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/application.rs:2303:6 [INFO] [stdout] | [INFO] [stdout] 2303 | ) -> HashMap< [INFO] [stdout] | ______^ [INFO] [stdout] 2304 | | SurfaceId, [INFO] [stdout] 2305 | | UserInterface<'a, ::Message, ::Theme, ::Renderer>, [INFO] [stdout] 2306 | | > [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/application.rs:2337:5 [INFO] [stdout] | [INFO] [stdout] 2337 | / match evt { [INFO] [stdout] 2338 | | SctkEvent::DataSource(_) => true, [INFO] [stdout] 2339 | | _ => false, [INFO] [stdout] 2340 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 2337 - match evt { [INFO] [stdout] 2338 - SctkEvent::DataSource(_) => true, [INFO] [stdout] 2339 - _ => false, [INFO] [stdout] 2340 - } [INFO] [stdout] 2337 + matches!(evt, SctkEvent::DataSource(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the function definition [INFO] [stdout] --> src/application.rs:2344:25 [INFO] [stdout] | [INFO] [stdout] 2344 | fn event_is_for_surface<'a, A, C>( [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/command/platform_specific/wayland/layer_surface.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl Default for IcedOutput { [INFO] [stdout] 25 | | fn default() -> Self { [INFO] [stdout] 26 | | Self::Active [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 15 + #[derive(Default)] [INFO] [stdout] 16 | pub enum IcedOutput { [INFO] [stdout] 17 | /// show on all outputs [INFO] [stdout] 18 | All, [INFO] [stdout] 19 | /// show on active output [INFO] [stdout] 20 ~ #[default] [INFO] [stdout] 21 ~ Active, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/clipboard/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / mod clipboard { [INFO] [stdout] 6 | | use std::ffi::c_void; [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | use iced_core::clipboard::Kind; [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe function's docs are missing a `# Safety` section [INFO] [stdout] --> src/clipboard/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / pub unsafe fn connect( [INFO] [stdout] 21 | | _display: &impl raw_window_handle::HasDisplayHandle, [INFO] [stdout] 22 | | ) -> Clipboard { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc [INFO] [stdout] = note: `#[warn(clippy::missing_safety_doc)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `from_*` usually take no `self` [INFO] [stdout] --> src/command/platform_specific/wayland/data_device.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn from_mime_type(&self, mime_type: &str) -> Option>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/command/platform_specific/wayland/layer_surface.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl Default for IcedOutput { [INFO] [stdout] 25 | | fn default() -> Self { [INFO] [stdout] 26 | | Self::Active [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 15 + #[derive(Default)] [INFO] [stdout] 16 | pub enum IcedOutput { [INFO] [stdout] 17 | /// show on all outputs [INFO] [stdout] 18 | All, [INFO] [stdout] 19 | /// show on active output [INFO] [stdout] 20 ~ #[default] [INFO] [stdout] 21 ~ Active, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `iced_core::window::Mode` [INFO] [stdout] --> src/command/platform_specific/wayland/window.rs:347:87 [INFO] [stdout] | [INFO] [stdout] 347 | iced_runtime::window::Action::ChangeMode(id, mode) => Ok(Action::Mode(id, mode.into())), [INFO] [stdout] | ^^^^^^^^^^^ help: consider removing `.into()`: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `iced_core::window::Mode` [INFO] [stdout] --> src/command/platform_specific/wayland/window.rs:347:87 [INFO] [stdout] | [INFO] [stdout] 347 | iced_runtime::window::Action::ChangeMode(id, mode) => Ok(Action::Mode(id, mode.into())), [INFO] [stdout] | ^^^^^^^^^^^ help: consider removing `.into()`: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/conversion.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | x: -1. * horizontal.discrete as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-(horizontal.discrete as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] = note: `#[warn(clippy::neg_multiply)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/conversion.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | y: -1. * vertical.discrete as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-(vertical.discrete as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/conversion.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | x: -1. * horizontal.absolute as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-(horizontal.absolute as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/conversion.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | y: -1. * vertical.absolute as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-(vertical.absolute as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/conversion.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | x: -1. * horizontal.discrete as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-(horizontal.discrete as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] = note: `#[warn(clippy::neg_multiply)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/conversion.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | y: -1. * vertical.discrete as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-(vertical.discrete as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/conversion.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | x: -1. * horizontal.absolute as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-(horizontal.absolute as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/conversion.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | y: -1. * vertical.absolute as f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-(vertical.absolute as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/event_loop/state.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | width.unwrap_or_else(|| self.current_size.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 135 - width.unwrap_or_else(|| self.current_size.0), [INFO] [stdout] 135 + width.unwrap_or(self.current_size.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/event_loop/state.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | height.unwrap_or_else(|| self.current_size.1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 136 - height.unwrap_or_else(|| self.current_size.1), [INFO] [stdout] 136 + height.unwrap_or(self.current_size.1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/event_loop/state.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | width.unwrap_or_else(|| self.current_size.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 135 - width.unwrap_or_else(|| self.current_size.0), [INFO] [stdout] 135 + width.unwrap_or(self.current_size.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/event_loop/state.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | height.unwrap_or_else(|| self.current_size.1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 136 - height.unwrap_or_else(|| self.current_size.1), [INFO] [stdout] 136 + height.unwrap_or(self.current_size.1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/event_loop/state.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let _ = wl_surface.set_buffer_scale(scale_factor as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 458 - let _ = wl_surface.set_buffer_scale(scale_factor as i32); [INFO] [stdout] 458 + wl_surface.set_buffer_scale(scale_factor as i32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `settings.positioner.size` after checking its variant with `is_none` [INFO] [stdout] --> src/event_loop/state.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 504 | let size = if settings.positioner.size.is_none() { [INFO] [stdout] | ------------------------------------- help: try: `if let Some() = settings.positioner.size` [INFO] [stdout] ... [INFO] [stdout] 507 | settings.positioner.size.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/event_loop/state.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let _ = wl_surface.set_buffer_scale(scale_factor as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 458 - let _ = wl_surface.set_buffer_scale(scale_factor as i32); [INFO] [stdout] 458 + wl_surface.set_buffer_scale(scale_factor as i32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `settings.positioner.size` after checking its variant with `is_none` [INFO] [stdout] --> src/event_loop/state.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 504 | let size = if settings.positioner.size.is_none() { [INFO] [stdout] | ------------------------------------- help: try: `if let Some() = settings.positioner.size` [INFO] [stdout] ... [INFO] [stdout] 507 | settings.positioner.size.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/event_loop/state.rs:724:33 [INFO] [stdout] | [INFO] [stdout] 724 | let w = NonZeroU32::new(size.0 as u32).unwrap_or_else(|| NonZeroU32::new(1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `size.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/event_loop/state.rs:725:33 [INFO] [stdout] | [INFO] [stdout] 725 | let h = NonZeroU32::new(size.1 as u32).unwrap_or_else(|| NonZeroU32::new(1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `size.1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/event_loop/state.rs:724:33 [INFO] [stdout] | [INFO] [stdout] 724 | let w = NonZeroU32::new(size.0 as u32).unwrap_or_else(|| NonZeroU32::new(1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `size.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/event_loop/state.rs:725:33 [INFO] [stdout] | [INFO] [stdout] 725 | let h = NonZeroU32::new(size.1 as u32).unwrap_or_else(|| NonZeroU32::new(1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `size.1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/event_loop/mod.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let mut cursor_position = HashMap::<_, LogicalPosition>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/event_loop/mod.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let mut cursor_position = HashMap::<_, LogicalPosition>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/event_loop/mod.rs:553:25 [INFO] [stdout] | [INFO] [stdout] 553 | / match self [INFO] [stdout] 554 | | .state [INFO] [stdout] 555 | | .popups [INFO] [stdout] 556 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 573 | | None => (), [INFO] [stdout] 574 | | }; [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 553 ~ if let Some(p) = self [INFO] [stdout] 554 + .state [INFO] [stdout] 555 + .popups [INFO] [stdout] 556 + .iter() [INFO] [stdout] 557 + .position(|s| s.popup.wl_surface().id() == id.id()) { [INFO] [stdout] 558 + let _p = self.state.popups.remove(p); [INFO] [stdout] 559 + sticky_exit_callback( [INFO] [stdout] 560 + IcedSctkEvent::SctkEvent(SctkEvent::PopupEvent { [INFO] [stdout] 561 + variant: PopupEventVariant::Done, [INFO] [stdout] 562 + toplevel_id, [INFO] [stdout] 563 + parent_id, [INFO] [stdout] 564 + id, [INFO] [stdout] 565 + }), [INFO] [stdout] 566 + &self.state, [INFO] [stdout] 567 + &mut control_flow, [INFO] [stdout] 568 + &mut callback, [INFO] [stdout] 569 + ); [INFO] [stdout] 570 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/event_loop/mod.rs:648:56 [INFO] [stdout] | [INFO] [stdout] 648 | for event in sctk_events.into_iter().chain(user_events.into_iter()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/traits/iterator.rs:510:11 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 648 - for event in sctk_events.into_iter().chain(user_events.into_iter()) { [INFO] [stdout] 648 + for event in sctk_events.into_iter().chain(user_events) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/event_loop/mod.rs:553:25 [INFO] [stdout] | [INFO] [stdout] 553 | / match self [INFO] [stdout] 554 | | .state [INFO] [stdout] 555 | | .popups [INFO] [stdout] 556 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 573 | | None => (), [INFO] [stdout] 574 | | }; [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 553 ~ if let Some(p) = self [INFO] [stdout] 554 + .state [INFO] [stdout] 555 + .popups [INFO] [stdout] 556 + .iter() [INFO] [stdout] 557 + .position(|s| s.popup.wl_surface().id() == id.id()) { [INFO] [stdout] 558 + let _p = self.state.popups.remove(p); [INFO] [stdout] 559 + sticky_exit_callback( [INFO] [stdout] 560 + IcedSctkEvent::SctkEvent(SctkEvent::PopupEvent { [INFO] [stdout] 561 + variant: PopupEventVariant::Done, [INFO] [stdout] 562 + toplevel_id, [INFO] [stdout] 563 + parent_id, [INFO] [stdout] 564 + id, [INFO] [stdout] 565 + }), [INFO] [stdout] 566 + &self.state, [INFO] [stdout] 567 + &mut control_flow, [INFO] [stdout] 568 + &mut callback, [INFO] [stdout] 569 + ); [INFO] [stdout] 570 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/event_loop/mod.rs:648:56 [INFO] [stdout] | [INFO] [stdout] 648 | for event in sctk_events.into_iter().chain(user_events.into_iter()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/traits/iterator.rs:510:11 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 648 - for event in sctk_events.into_iter().chain(user_events.into_iter()) { [INFO] [stdout] 648 + for event in sctk_events.into_iter().chain(user_events) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/event_loop/mod.rs:918:97 [INFO] [stdout] | [INFO] [stdout] 918 | ... window.window.xdg_toplevel().show_window_menu(seat, last_press, x as i32, y as i32); [INFO] [stdout] | ^^^^^^^^ help: try: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/event_loop/mod.rs:918:107 [INFO] [stdout] | [INFO] [stdout] 918 | ... window.window.xdg_toplevel().show_window_menu(seat, last_press, x as i32, y as i32); [INFO] [stdout] | ^^^^^^^^ help: try: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/event_loop/mod.rs:918:97 [INFO] [stdout] | [INFO] [stdout] 918 | ... window.window.xdg_toplevel().show_window_menu(seat, last_press, x as i32, y as i32); [INFO] [stdout] | ^^^^^^^^ help: try: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/event_loop/mod.rs:918:107 [INFO] [stdout] | [INFO] [stdout] 918 | ... window.window.xdg_toplevel().show_window_menu(seat, last_press, x as i32, y as i32); [INFO] [stdout] | ^^^^^^^^ help: try: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.state.seats.get(0)` [INFO] [stdout] --> src/event_loop/mod.rs:1079:50 [INFO] [stdout] | [INFO] [stdout] 1079 | ... let seat = match self.state.seats.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.state.seats.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.state.seats.get(0)` [INFO] [stdout] --> src/event_loop/mod.rs:1100:52 [INFO] [stdout] | [INFO] [stdout] 1100 | ... let device = match self.state.seats.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.state.seats.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.state.seats.get(0)` [INFO] [stdout] --> src/event_loop/mod.rs:1129:50 [INFO] [stdout] | [INFO] [stdout] 1129 | ... let seat = match self.state.seats.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.state.seats.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.state.seats.get(0)` [INFO] [stdout] --> src/event_loop/mod.rs:1079:50 [INFO] [stdout] | [INFO] [stdout] 1079 | ... let seat = match self.state.seats.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.state.seats.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.state.seats.get(0)` [INFO] [stdout] --> src/event_loop/mod.rs:1150:52 [INFO] [stdout] | [INFO] [stdout] 1150 | ... let device = match self.state.seats.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.state.seats.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.state.seats.get(0)` [INFO] [stdout] --> src/event_loop/mod.rs:1100:52 [INFO] [stdout] | [INFO] [stdout] 1100 | ... let device = match self.state.seats.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.state.seats.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.state.seats.get(0)` [INFO] [stdout] --> src/event_loop/mod.rs:1129:50 [INFO] [stdout] | [INFO] [stdout] 1129 | ... let seat = match self.state.seats.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.state.seats.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.state.seats.get(0)` [INFO] [stdout] --> src/event_loop/mod.rs:1150:52 [INFO] [stdout] | [INFO] [stdout] 1150 | ... let device = match self.state.seats.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.state.seats.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/handlers/activation.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | message: Mutex< [INFO] [stdout] | ______________^ [INFO] [stdout] 14 | | Option) -> T + Send + Sync + 'static>>, [INFO] [stdout] 15 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/handlers/activation.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | message: Mutex< [INFO] [stdout] | ______________^ [INFO] [stdout] 14 | | Option) -> T + Send + Sync + 'static>>, [INFO] [stdout] 15 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/handlers/data_device/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod data_device; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/handlers/data_device/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod data_device; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/handlers/seat/pointer.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | ... let _ = my_seat.set_cursor(conn, icon); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 91 - let _ = my_seat.set_cursor(conn, icon); [INFO] [stdout] 91 + my_seat.set_cursor(conn, icon); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/handlers/seat/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod seat; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/handlers/seat/pointer.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | ... let _ = my_seat.set_cursor(conn, icon); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 91 - let _ = my_seat.set_cursor(conn, icon); [INFO] [stdout] 91 + my_seat.set_cursor(conn, icon); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/handlers/seat/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod seat; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: matching on `Some` with `ok()` is redundant [INFO] [stdout] --> src/handlers/seat/seat.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(touch) = self.seat_state.get_touch(qh, &seat).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_result_ok [INFO] [stdout] = note: `#[warn(clippy::match_result_ok)]` on by default [INFO] [stdout] help: consider matching on `Ok(touch)` and removing the call to `ok` instead [INFO] [stdout] | [INFO] [stdout] 128 - if let Some(touch) = self.seat_state.get_touch(qh, &seat).ok() { [INFO] [stdout] 128 + if let Ok(touch) = self.seat_state.get_touch(qh, &seat) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: matching on `Some` with `ok()` is redundant [INFO] [stdout] --> src/handlers/seat/seat.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(touch) = self.seat_state.get_touch(qh, &seat).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_result_ok [INFO] [stdout] = note: `#[warn(clippy::match_result_ok)]` on by default [INFO] [stdout] help: consider matching on `Ok(touch)` and removing the call to `ok` instead [INFO] [stdout] | [INFO] [stdout] 128 - if let Some(touch) = self.seat_state.get_touch(qh, &seat).ok() { [INFO] [stdout] 128 + if let Ok(touch) = self.seat_state.get_touch(qh, &seat) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/multi_window/mod.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / Ok(crate::application::run::< [INFO] [stdout] 192 | | Instance, [INFO] [stdout] 193 | | Self::Executor, [INFO] [stdout] 194 | | iced_renderer::Compositor, [INFO] [stdout] 195 | | >(settings.into(), renderer_settings)?) [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 191 ~ crate::application::run::< [INFO] [stdout] 192 | Instance, [INFO] [stdout] 193 | Self::Executor, [INFO] [stdout] 194 | iced_renderer::Compositor, [INFO] [stdout] 195 ~ >(settings.into(), renderer_settings) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/multi_window/mod.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / Ok(crate::application::run::< [INFO] [stdout] 192 | | Instance, [INFO] [stdout] 193 | | Self::Executor, [INFO] [stdout] 194 | | iced_renderer::Compositor, [INFO] [stdout] 195 | | >(settings.into(), renderer_settings)?) [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 191 ~ crate::application::run::< [INFO] [stdout] 192 | Instance, [INFO] [stdout] 193 | Self::Executor, [INFO] [stdout] 194 | iced_renderer::Compositor, [INFO] [stdout] 195 ~ >(settings.into(), renderer_settings) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/sctk_event.rs:401:22 [INFO] [stdout] | [INFO] [stdout] 401 | surface_ids: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/sctk_event.rs:401:22 [INFO] [stdout] | [INFO] [stdout] 401 | surface_ids: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/sctk_event.rs:402:32 [INFO] [stdout] | [INFO] [stdout] 402 | destroyed_surface_ids: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/sctk_event.rs:402:32 [INFO] [stdout] | [INFO] [stdout] 402 | destroyed_surface_ids: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/sctk_event.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | subsurface_ids: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/sctk_event.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | subsurface_ids: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` has identical blocks [INFO] [stdout] --> src/sctk_event.rs:659:56 [INFO] [stdout] | [INFO] [stdout] 659 | ... if configure.is_resizing() { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 660 | | ... vec![iced_runtime::core::Event::Window( [INFO] [stdout] 661 | | ... id.inner(), [INFO] [stdout] 662 | | ... window::Event::Resized { [INFO] [stdout] ... | [INFO] [stdout] 666 | | ... )] [INFO] [stdout] 667 | | ... } else { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] note: same as this [INFO] [stdout] --> src/sctk_event.rs:667:36 [INFO] [stdout] | [INFO] [stdout] 667 | ... } else { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 668 | | ... vec![ [INFO] [stdout] 669 | | ... iced_runtime::core::Event::Window( [INFO] [stdout] 670 | | ... id.inner(), [INFO] [stdout] ... | [INFO] [stdout] 684 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stdout] = note: `#[warn(clippy::if_same_then_else)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` has identical blocks [INFO] [stdout] --> src/sctk_event.rs:659:56 [INFO] [stdout] | [INFO] [stdout] 659 | ... if configure.is_resizing() { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 660 | | ... vec![iced_runtime::core::Event::Window( [INFO] [stdout] 661 | | ... id.inner(), [INFO] [stdout] 662 | | ... window::Event::Resized { [INFO] [stdout] ... | [INFO] [stdout] 666 | | ... )] [INFO] [stdout] 667 | | ... } else { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] note: same as this [INFO] [stdout] --> src/sctk_event.rs:667:36 [INFO] [stdout] | [INFO] [stdout] 667 | ... } else { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 668 | | ... vec![ [INFO] [stdout] 669 | | ... iced_runtime::core::Event::Window( [INFO] [stdout] 670 | | ... id.inner(), [INFO] [stdout] ... | [INFO] [stdout] 684 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stdout] = note: `#[warn(clippy::if_same_then_else)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/sctk_event.rs:993:12 [INFO] [stdout] | [INFO] [stdout] 993 | if utf8.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!utf8.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/sctk_event.rs:993:12 [INFO] [stdout] | [INFO] [stdout] 993 | if utf8.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!utf8.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/subsurface_widget.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | subsurface_ids: &mut HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/subsurface_widget.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | subsurface_ids: &mut HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/subsurface_widget.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 478 | subsurface_ids: &mut HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/subsurface_widget.rs:486:69 [INFO] [stdout] | [INFO] [stdout] 486 | old_buffer.as_ref().and_then(|b| BufferData::for_buffer(&b)); [INFO] [stdout] | ^^ help: change this to: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/subsurface_widget.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 478 | subsurface_ids: &mut HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `ObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `InnerObjectId`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Arc>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/subsurface_widget.rs:574:56 [INFO] [stdout] | [INFO] [stdout] 574 | static SUBSURFACES: RefCell> = RefCell::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(Vec::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/subsurface_widget.rs:486:69 [INFO] [stdout] | [INFO] [stdout] 486 | old_buffer.as_ref().and_then(|b| BufferData::for_buffer(&b)); [INFO] [stdout] | ^^ help: change this to: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/subsurface_widget.rs:574:56 [INFO] [stdout] | [INFO] [stdout] 574 | static SUBSURFACES: RefCell> = RefCell::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(Vec::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/application.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | fn display_handle(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | fn display_handle(&self) -> Result, HandleError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/application.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | fn window_handle(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | fn window_handle(&self) -> Result, HandleError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/application.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | fn display_handle(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | fn display_handle(&self) -> Result, HandleError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/application.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | fn window_handle(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | fn window_handle(&self) -> Result, HandleError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/event_loop/state.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | ptr.set_cursor(conn, icon); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = ptr.set_cursor(conn, icon); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/event_loop/state.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | ptr.set_cursor(conn, icon); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = ptr.set_cursor(conn, icon); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "621e6abe859b5bafef7c5bd58ad73b7919b40d276e35f571a4ca1fedfc98114e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621e6abe859b5bafef7c5bd58ad73b7919b40d276e35f571a4ca1fedfc98114e", kill_on_drop: false }` [INFO] [stdout] 621e6abe859b5bafef7c5bd58ad73b7919b40d276e35f571a4ca1fedfc98114e