[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 try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laycookie/ScreenCopyUtil on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "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-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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6d67befa4116e8990993acda798b58742ef1bfc360527bd39039ec9d8d1a231 [INFO] running `Command { std: "docker" "start" "-a" "b6d67befa4116e8990993acda798b58742ef1bfc360527bd39039ec9d8d1a231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6d67befa4116e8990993acda798b58742ef1bfc360527bd39039ec9d8d1a231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d67befa4116e8990993acda798b58742ef1bfc360527bd39039ec9d8d1a231", kill_on_drop: false }` [INFO] [stdout] b6d67befa4116e8990993acda798b58742ef1bfc360527bd39039ec9d8d1a231 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e020957805be8a749847b28d58017ee59054ceb0df04ca42f93ed339bbf857b5 [INFO] running `Command { std: "docker" "start" "-a" "e020957805be8a749847b28d58017ee59054ceb0df04ca42f93ed339bbf857b5", 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 bitflags v2.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.18 [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 memchr v2.7.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [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 quote v1.0.35 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling v_frame v0.3.8 [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 spin v0.9.8 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling bitstream-io v2.2.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 av1-grain v0.2.3 [INFO] [stderr] Compiling memmap2 v0.8.0 [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 maybe-rayon v0.1.1 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling memmap2 v0.9.4 [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 polling v3.5.0 [INFO] [stderr] Compiling tempfile v3.10.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 profiling v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling rgb v0.8.37 [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 xkbcommon v0.7.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [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 36s [INFO] running `Command { std: "docker" "inspect" "e020957805be8a749847b28d58017ee59054ceb0df04ca42f93ed339bbf857b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e020957805be8a749847b28d58017ee59054ceb0df04ca42f93ed339bbf857b5", kill_on_drop: false }` [INFO] [stdout] e020957805be8a749847b28d58017ee59054ceb0df04ca42f93ed339bbf857b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6d38ca9b7d3d7360919959ebbb76238d53d5c79c2a3125d2f3a09b2f2ed4cfb [INFO] running `Command { std: "docker" "start" "-a" "d6d38ca9b7d3d7360919959ebbb76238d53d5c79c2a3125d2f3a09b2f2ed4cfb", 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.78s [INFO] running `Command { std: "docker" "inspect" "d6d38ca9b7d3d7360919959ebbb76238d53d5c79c2a3125d2f3a09b2f2ed4cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d38ca9b7d3d7360919959ebbb76238d53d5c79c2a3125d2f3a09b2f2ed4cfb", kill_on_drop: false }` [INFO] [stdout] d6d38ca9b7d3d7360919959ebbb76238d53d5c79c2a3125d2f3a09b2f2ed4cfb