[INFO] cloning repository https://github.com/laycookie/ScreenCopyUtil [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laycookie/ScreenCopyUtil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaycookie%2FScreenCopyUtil", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaycookie%2FScreenCopyUtil'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3dfb31652f5696b71d702e2484db81ce2935ec6 [INFO] checking laycookie/ScreenCopyUtil against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaycookie%2FScreenCopyUtil" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laycookie/ScreenCopyUtil on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laycookie/ScreenCopyUtil [INFO] finished tweaking git repo https://github.com/laycookie/ScreenCopyUtil [INFO] tweaked toml for git repo https://github.com/laycookie/ScreenCopyUtil written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/laycookie/ScreenCopyUtil 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d63d208e38f555a6f269315c9ce39b081a9b2d3e60ac927af8b667dd670bdc14 [INFO] running `Command { std: "docker" "start" "-a" "d63d208e38f555a6f269315c9ce39b081a9b2d3e60ac927af8b667dd670bdc14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d63d208e38f555a6f269315c9ce39b081a9b2d3e60ac927af8b667dd670bdc14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d63d208e38f555a6f269315c9ce39b081a9b2d3e60ac927af8b667dd670bdc14", kill_on_drop: false }` [INFO] [stdout] d63d208e38f555a6f269315c9ce39b081a9b2d3e60ac927af8b667dd670bdc14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d66a9e2ba7cbcdc42f7414b742fc776fafe75ce51d171ba6edbe724f6f286163 [INFO] running `Command { std: "docker" "start" "-a" "d66a9e2ba7cbcdc42f7414b742fc776fafe75ce51d171ba6edbe724f6f286163", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking memmap2 v0.8.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking xkbcommon v0.7.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.0 [INFO] [stderr] Checking screen_capturer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Anchor` and `KeyboardInteractivity` [INFO] [stdout] --> src/wayland.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | zwlr_layer_surface_v1::{self, Anchor, KeyboardInteractivity, ZwlrLayerSurfaceV1}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1` [INFO] [stdout] --> src/wayland_fractional_scale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Anchor` and `KeyboardInteractivity` [INFO] [stdout] --> src/wayland.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | zwlr_layer_surface_v1::{self, Anchor, KeyboardInteractivity, ZwlrLayerSurfaceV1}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1` [INFO] [stdout] --> src/wayland_fractional_scale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wp_fractional_scale_manager_v1` [INFO] [stdout] --> src/test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let wp_fractional_scale_manager_v1 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wp_fractional_scale_manager_v1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WindowManagerTest` is never used [INFO] [stdout] --> src/main.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum WindowManagerTest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Window` is never constructed [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum ScreenshotType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 30 | Fullscreen { single_monitor: bool }, [INFO] [stdout] 31 | Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `screencopy` is never used [INFO] [stdout] --> src/types.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Screenshot { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 33 | fn screencopy( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenData` is never constructed [INFO] [stdout] --> src/wayland/get_screencopy.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ScreenData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_screen_data` is never used [INFO] [stdout] --> src/wayland/get_screencopy.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn get_screen_data(wayland: &mut WaylandVars) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaylandVars` is never constructed [INFO] [stdout] --> src/wayland/init.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) struct WaylandVars { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/wayland/init.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn create() -> WaylandVars { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowDataManager` is never constructed [INFO] [stdout] --> src/wayland/init.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct WindowDataManager<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PopupData` is never constructed [INFO] [stdout] --> src/wayland/init.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct PopupData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `atach` and `screencopy` are never used [INFO] [stdout] --> src/wayland/init.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl WindowDataManager<'_> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 116 | fn atach(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn screencopy(&self, screencopy_manager: &ZwlrScreencopyManagerV1) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screen_shot_overlay` is never used [INFO] [stdout] --> src/wayland/init.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) fn screen_shot_overlay(wayland: &mut WaylandVars, screens: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attach_buffer` is never used [INFO] [stdout] --> src/wayland/types.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 61 | impl ScreenshotWayland { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn attach_buffer(&mut self, buffer: WlBuffer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Screenshots` is never constructed [INFO] [stdout] --> src/wayland/types.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) struct Screenshots { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/test.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `registry_state`, `compositor_state`, `zwlr_screencopy_manager`, `xdg_shell`, and `pool` are never read [INFO] [stdout] --> src/wayland_data.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct WindowState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 31 | pub(crate) registry_state: RegistryState, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub(crate) output_state: OutputState, [INFO] [stdout] 33 | pub(crate) compositor_state: CompositorState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub(crate) shm: Shm, [INFO] [stdout] 35 | pub(crate) zwlr_screencopy_manager: ScreenCopyManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub(crate) xdg_shell: XdgShell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub(crate) pool: SlotPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `screen` and `format` are never read [INFO] [stdout] --> src/wayland_data.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ScreenShotViewer { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) screen: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) format: Format, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenShotViewer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FractionalScale` is never constructed [INFO] [stdout] --> src/wayland_fractional_scale.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct FractionalScale { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind` and `wp_fractional_scale_manager_v1` are never used [INFO] [stdout] --> src/wayland_fractional_scale.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl FractionalScale { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 14 | pub(crate) fn bind( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn wp_fractional_scale_manager_v1(&self) -> &WpFractionalScaleManagerV1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `zwlr_screencopy_manager` is never read [INFO] [stdout] --> src/wayland_screencopy.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct ScreenCopyManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 19 | zwlr_screencopy_manager: ZwlrScreencopyManagerV1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenCopyManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputManager` is never constructed [INFO] [stdout] --> src/wayland_screencopy.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct OutputManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind`, `zwlr_screencopy_manager`, and `capture_output` are never used [INFO] [stdout] --> src/wayland_screencopy.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl ScreenCopyManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 28 | pub(crate) fn bind( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn zwlr_screencopy_manager(&self) -> &ZwlrScreencopyManagerV1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn capture_output< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind` and `get_xdg_output` are never used [INFO] [stdout] --> src/wayland_screencopy.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 60 | impl OutputManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 61 | pub(crate) fn bind( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn get_xdg_output< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wayland/get_screencopy.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn get_screen_data(wayland: &mut WaylandVars) -> Vec { [INFO] [stdout] | --------------------------------------------------------------------------- move the `impl` block outside of this function `get_screen_data` [INFO] [stdout] 50 | delegate_noop!(Delegate: ignore ZxdgOutputManagerV1); [INFO] [stdout] | ^^^^^^^^^^^^^^^--------^^^^^^^^^-------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ZxdgOutputManagerV1` is not local [INFO] [stdout] | | `Delegate` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `delegate_noop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `delegate_noop` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `delegate_noop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wp_fractional_scale_manager_v1` [INFO] [stdout] --> src/test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let wp_fractional_scale_manager_v1 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wp_fractional_scale_manager_v1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlCompositor` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_compositor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlCallback` is not local [INFO] [stdout] | `WlSurface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_compositor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlSurface` is not local [INFO] [stdout] | `SurfaceData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_compositor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] 22 | delegate_output!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlOutput` is not local [INFO] [stdout] | `OutputData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] 22 | delegate_output!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `ZxdgOutputManagerV1` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] 22 | delegate_output!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `ZxdgOutputV1` is not local [INFO] [stdout] | `OutputData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 23 | delegate_shm!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlShm` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_shm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 25 | delegate_xdg_shell!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `XdgWmBase` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_shell` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 25 | delegate_xdg_shell!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `ZxdgDecorationManagerV1` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_shell` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 25 | delegate_xdg_shell!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `ZxdgToplevelDecorationV1` is not local [INFO] [stdout] | `WindowData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_shell` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 26 | delegate_xdg_window!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `XdgSurface` is not local [INFO] [stdout] | `WindowData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_window` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 26 | delegate_xdg_window!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `XdgToplevel` is not local [INFO] [stdout] | `WindowData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_window` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 28 | delegate_registry!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlRegistry` is not local [INFO] [stdout] | `GlobalListContents` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WindowManagerTest` is never used [INFO] [stdout] --> src/main.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum WindowManagerTest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Window` is never constructed [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum ScreenshotType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 30 | Fullscreen { single_monitor: bool }, [INFO] [stdout] 31 | Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `screencopy` is never used [INFO] [stdout] --> src/types.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Screenshot { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 33 | fn screencopy( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenData` is never constructed [INFO] [stdout] --> src/wayland/get_screencopy.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ScreenData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_screen_data` is never used [INFO] [stdout] --> src/wayland/get_screencopy.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn get_screen_data(wayland: &mut WaylandVars) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaylandVars` is never constructed [INFO] [stdout] --> src/wayland/init.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) struct WaylandVars { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/wayland/init.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn create() -> WaylandVars { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowDataManager` is never constructed [INFO] [stdout] --> src/wayland/init.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct WindowDataManager<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PopupData` is never constructed [INFO] [stdout] --> src/wayland/init.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct PopupData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `atach` and `screencopy` are never used [INFO] [stdout] --> src/wayland/init.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl WindowDataManager<'_> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 116 | fn atach(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn screencopy(&self, screencopy_manager: &ZwlrScreencopyManagerV1) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screen_shot_overlay` is never used [INFO] [stdout] --> src/wayland/init.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) fn screen_shot_overlay(wayland: &mut WaylandVars, screens: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attach_buffer` is never used [INFO] [stdout] --> src/wayland/types.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 61 | impl ScreenshotWayland { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn attach_buffer(&mut self, buffer: WlBuffer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Screenshots` is never constructed [INFO] [stdout] --> src/wayland/types.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) struct Screenshots { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/test.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `registry_state`, `compositor_state`, `zwlr_screencopy_manager`, `xdg_shell`, and `pool` are never read [INFO] [stdout] --> src/wayland_data.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct WindowState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 31 | pub(crate) registry_state: RegistryState, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub(crate) output_state: OutputState, [INFO] [stdout] 33 | pub(crate) compositor_state: CompositorState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub(crate) shm: Shm, [INFO] [stdout] 35 | pub(crate) zwlr_screencopy_manager: ScreenCopyManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub(crate) xdg_shell: XdgShell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub(crate) pool: SlotPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `screen` and `format` are never read [INFO] [stdout] --> src/wayland_data.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ScreenShotViewer { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) screen: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) format: Format, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenShotViewer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FractionalScale` is never constructed [INFO] [stdout] --> src/wayland_fractional_scale.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct FractionalScale { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind` and `wp_fractional_scale_manager_v1` are never used [INFO] [stdout] --> src/wayland_fractional_scale.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl FractionalScale { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 14 | pub(crate) fn bind( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn wp_fractional_scale_manager_v1(&self) -> &WpFractionalScaleManagerV1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `zwlr_screencopy_manager` is never read [INFO] [stdout] --> src/wayland_screencopy.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct ScreenCopyManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 19 | zwlr_screencopy_manager: ZwlrScreencopyManagerV1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenCopyManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputManager` is never constructed [INFO] [stdout] --> src/wayland_screencopy.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct OutputManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind`, `zwlr_screencopy_manager`, and `capture_output` are never used [INFO] [stdout] --> src/wayland_screencopy.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl ScreenCopyManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 28 | pub(crate) fn bind( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn zwlr_screencopy_manager(&self) -> &ZwlrScreencopyManagerV1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn capture_output< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind` and `get_xdg_output` are never used [INFO] [stdout] --> src/wayland_screencopy.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 60 | impl OutputManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 61 | pub(crate) fn bind( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn get_xdg_output< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wayland/get_screencopy.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn get_screen_data(wayland: &mut WaylandVars) -> Vec { [INFO] [stdout] | --------------------------------------------------------------------------- move the `impl` block outside of this function `get_screen_data` [INFO] [stdout] 50 | delegate_noop!(Delegate: ignore ZxdgOutputManagerV1); [INFO] [stdout] | ^^^^^^^^^^^^^^^--------^^^^^^^^^-------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ZxdgOutputManagerV1` is not local [INFO] [stdout] | | `Delegate` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `delegate_noop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `delegate_noop` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `delegate_noop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlCompositor` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_compositor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlCallback` is not local [INFO] [stdout] | `WlSurface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_compositor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlSurface` is not local [INFO] [stdout] | `SurfaceData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_compositor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] 22 | delegate_output!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlOutput` is not local [INFO] [stdout] | `OutputData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] 22 | delegate_output!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `ZxdgOutputManagerV1` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] 21 | delegate_compositor!(WindowState); [INFO] [stdout] 22 | delegate_output!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `ZxdgOutputV1` is not local [INFO] [stdout] | `OutputData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 23 | delegate_shm!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlShm` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_shm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 25 | delegate_xdg_shell!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `XdgWmBase` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_shell` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 25 | delegate_xdg_shell!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `ZxdgDecorationManagerV1` is not local [INFO] [stdout] | `GlobalData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_shell` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 25 | delegate_xdg_shell!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `ZxdgToplevelDecorationV1` is not local [INFO] [stdout] | `WindowData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_shell` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 26 | delegate_xdg_window!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `XdgSurface` is not local [INFO] [stdout] | `WindowData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_window` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 26 | delegate_xdg_window!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `XdgToplevel` is not local [INFO] [stdout] | `WindowData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_xdg_window` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 28 | delegate_registry!(WindowState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | | [INFO] [stdout] | | `WindowState` is not local [INFO] [stdout] | `Dispatch` is not local [INFO] [stdout] | `WlRegistry` is not local [INFO] [stdout] | `GlobalListContents` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::reexports::client::delegate_dispatch` may come from an old version of the `wayland_client` crate, try updating your dependency with `cargo update -p wayland_client` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::reexports::client::delegate_dispatch` which comes from the expansion of the macro `delegate_registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.78s [INFO] running `Command { std: "docker" "inspect" "d66a9e2ba7cbcdc42f7414b742fc776fafe75ce51d171ba6edbe724f6f286163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66a9e2ba7cbcdc42f7414b742fc776fafe75ce51d171ba6edbe724f6f286163", kill_on_drop: false }` [INFO] [stdout] d66a9e2ba7cbcdc42f7414b742fc776fafe75ce51d171ba6edbe724f6f286163