[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] building laycookie/ScreenCopyUtil against master#ce36a966c79e109dabeef7a47fe68e5294c6d71e for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaycookie%2FScreenCopyUtil" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laycookie/ScreenCopyUtil on toolchain ce36a966c79e109dabeef7a47fe68e5294c6d71e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "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-4-tc1/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" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlib v0.5.2 [INFO] [stderr] Downloaded lock_api v0.4.11 [INFO] [stderr] Downloaded profiling-procmacros v1.0.15 [INFO] [stderr] Downloaded interpolate_name v0.2.4 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded option-ext v0.2.0 [INFO] [stderr] Downloaded redox_users v0.4.5 [INFO] [stderr] Downloaded zune-inflate v0.2.54 [INFO] [stderr] Downloaded flume v0.11.0 [INFO] [stderr] Downloaded png v0.17.13 [INFO] [stderr] Downloaded minimal-lexical v0.2.1 [INFO] [stderr] Downloaded itertools v0.12.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.18.1 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.7 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded wayland-protocols v0.31.2 [INFO] [stderr] Downloaded nom v7.1.3 [INFO] [stderr] Downloaded exr v1.72.0 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded syn v2.0.53 [INFO] [stderr] Downloaded flate2 v1.0.28 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded qoi v0.4.1 [INFO] [stderr] Downloaded toml_edit v0.22.8 [INFO] [stderr] Downloaded num-traits v0.2.18 [INFO] [stderr] Downloaded bumpalo v3.15.4 [INFO] [stderr] Downloaded rustix v0.38.31 [INFO] [stderr] Downloaded calloop v0.12.4 [INFO] [stderr] Downloaded xkeysym v0.2.0 [INFO] [stderr] Downloaded imgref v1.10.1 [INFO] [stderr] Downloaded rayon-core v1.12.1 [INFO] [stderr] Downloaded zune-jpeg v0.4.11 [INFO] [stderr] Downloaded polling v3.5.0 [INFO] [stderr] Downloaded xkbcommon v0.7.0 [INFO] [stderr] Downloaded bytemuck v1.16.0 [INFO] [stderr] Downloaded image-webp v0.1.1 [INFO] [stderr] Downloaded anyhow v1.0.81 [INFO] [stderr] Downloaded arrayvec v0.7.4 [INFO] [stderr] Downloaded num-rational v0.4.1 [INFO] [stderr] Downloaded bitstream-io v2.2.0 [INFO] [stderr] Downloaded arbitrary v1.3.2 [INFO] [stderr] Downloaded cfg-expr v0.15.7 [INFO] [stderr] Downloaded weezl v0.1.8 [INFO] [stderr] Downloaded jpeg-decoder v0.3.1 [INFO] [stderr] Downloaded libc v0.2.153 [INFO] [stderr] Downloaded pin-project-lite v0.2.13 [INFO] [stderr] Downloaded memmap2 v0.9.4 [INFO] [stderr] Downloaded memmap2 v0.8.0 [INFO] [stderr] Downloaded bytemuck_derive v1.6.0 [INFO] [stderr] Downloaded bitflags v2.4.2 [INFO] [stderr] Downloaded wayland-sys v0.31.1 [INFO] [stderr] Downloaded wayland-backend v0.3.3 [INFO] [stderr] Downloaded wayland-client v0.31.2 [INFO] [stderr] Downloaded dirs v5.0.1 [INFO] [stderr] Downloaded lebe v0.5.2 [INFO] [stderr] Downloaded gif v0.13.1 [INFO] [stderr] Downloaded fdeflate v0.3.4 [INFO] [stderr] Downloaded av1-grain v0.2.3 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.6 [INFO] [stderr] Downloaded getrandom v0.2.12 [INFO] [stderr] Downloaded target-lexicon v0.12.14 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded system-deps v6.2.1 [INFO] [stderr] Downloaded aligned-vec v0.5.0 [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded crc32fast v1.4.0 [INFO] [stderr] Downloaded simd-adler32 v0.3.7 [INFO] [stderr] Downloaded miniz_oxide v0.7.2 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded wayland-cursor v0.31.1 [INFO] [stderr] Downloaded tempfile v3.10.1 [INFO] [stderr] Downloaded jobserver v0.1.28 [INFO] [stderr] Downloaded errno v0.3.8 [INFO] [stderr] Downloaded smallvec v1.13.1 [INFO] [stderr] Downloaded libloading v0.8.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.79 [INFO] [stderr] Downloaded wayland-scanner v0.31.1 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.2.0 [INFO] [stderr] Downloaded rav1e v0.7.1 [INFO] [stderr] Downloaded libredox v0.1.3 [INFO] [stderr] Downloaded linux-raw-sys v0.4.13 [INFO] [stderr] Downloaded dirs-sys v0.4.1 [INFO] [stderr] Downloaded bit_field v0.10.2 [INFO] [stderr] Downloaded crunchy v0.2.2 [INFO] [stderr] Downloaded avif-serialize v0.8.1 [INFO] [stderr] Downloaded loop9 v0.1.5 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded built v0.7.1 [INFO] [stderr] Downloaded num-derive v0.4.2 [INFO] [stderr] Downloaded paste v1.0.14 [INFO] [stderr] Downloaded profiling v1.0.15 [INFO] [stderr] Downloaded v_frame v0.3.8 [INFO] [stderr] Downloaded ravif v0.11.5 [INFO] [stderr] Downloaded rgb v0.8.37 [INFO] [stderr] Downloaded zune-core v0.4.12 [INFO] [stderr] Downloaded tiff v0.9.1 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded concurrent-queue v2.4.0 [INFO] [stderr] Downloaded autocfg v1.1.0 [INFO] [stderr] Downloaded calloop-wayland-source v0.2.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded cursor-icon v1.1.0 [INFO] [stderr] Downloaded wayland-csd-frame v0.3.0 [INFO] [stderr] Downloaded fastrand v2.0.2 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded arg_enum_proc_macro v0.3.4 [INFO] [stderr] Downloaded maybe-rayon v0.1.1 [INFO] [stderr] Downloaded noop_proc_macro v0.3.0 [INFO] [stderr] Downloaded simd_helpers v0.1.0 [INFO] [stderr] Downloaded xcursor v0.3.5 [INFO] [stderr] Downloaded image v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b56ed35eb43c11ff6e345acd23296407bffe1c739dce0548a95b72e077b11002 [INFO] running `Command { std: "docker" "start" "-a" "b56ed35eb43c11ff6e345acd23296407bffe1c739dce0548a95b72e077b11002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b56ed35eb43c11ff6e345acd23296407bffe1c739dce0548a95b72e077b11002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56ed35eb43c11ff6e345acd23296407bffe1c739dce0548a95b72e077b11002", kill_on_drop: false }` [INFO] [stdout] b56ed35eb43c11ff6e345acd23296407bffe1c739dce0548a95b72e077b11002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d81e4434d0a7256c1516e941c886617410392ff47cf54995e43a34df99a3df6e [INFO] running `Command { std: "docker" "start" "-a" "d81e4434d0a7256c1516e941c886617410392ff47cf54995e43a34df99a3df6e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling memmap2 v0.8.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling xkbcommon v0.7.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.0 [INFO] [stderr] Compiling 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 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: 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 1m 38s [INFO] running `Command { std: "docker" "inspect" "d81e4434d0a7256c1516e941c886617410392ff47cf54995e43a34df99a3df6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81e4434d0a7256c1516e941c886617410392ff47cf54995e43a34df99a3df6e", kill_on_drop: false }` [INFO] [stdout] d81e4434d0a7256c1516e941c886617410392ff47cf54995e43a34df99a3df6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69486c48516ea53a618c1fd8e297d3f693b05e296d3c29d457e5ac76ef39a861 [INFO] running `Command { std: "docker" "start" "-a" "69486c48516ea53a618c1fd8e297d3f693b05e296d3c29d457e5ac76ef39a861", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "69486c48516ea53a618c1fd8e297d3f693b05e296d3c29d457e5ac76ef39a861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69486c48516ea53a618c1fd8e297d3f693b05e296d3c29d457e5ac76ef39a861", kill_on_drop: false }` [INFO] [stdout] 69486c48516ea53a618c1fd8e297d3f693b05e296d3c29d457e5ac76ef39a861