[INFO] cloning repository https://github.com/laycookie/ScreenCopyUtil [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laycookie/ScreenCopyUtil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaycookie%2FScreenCopyUtil", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaycookie%2FScreenCopyUtil'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3dfb31652f5696b71d702e2484db81ce2935ec6 [INFO] checking laycookie/ScreenCopyUtil against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaycookie%2FScreenCopyUtil" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laycookie/ScreenCopyUtil on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laycookie/ScreenCopyUtil [INFO] finished tweaking git repo https://github.com/laycookie/ScreenCopyUtil [INFO] tweaked toml for git repo https://github.com/laycookie/ScreenCopyUtil written to /workspace/builds/worker-2-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded polling v3.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eb19c557a0f32d091e758b94fb803b9926a71205c27c88d65061ea3df01947c [INFO] running `Command { std: "docker" "start" "-a" "0eb19c557a0f32d091e758b94fb803b9926a71205c27c88d65061ea3df01947c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eb19c557a0f32d091e758b94fb803b9926a71205c27c88d65061ea3df01947c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb19c557a0f32d091e758b94fb803b9926a71205c27c88d65061ea3df01947c", kill_on_drop: false }` [INFO] [stdout] 0eb19c557a0f32d091e758b94fb803b9926a71205c27c88d65061ea3df01947c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf5b0f9ba3d38b551f010576cfbee4ee99dd844ef4fefdf85377bde771959c13 [INFO] running `Command { std: "docker" "start" "-a" "cf5b0f9ba3d38b551f010576cfbee4ee99dd844ef4fefdf85377bde771959c13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking memmap2 v0.8.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking xkbcommon v0.7.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.0 [INFO] [stderr] Checking screen_capturer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Anchor` and `KeyboardInteractivity` [INFO] [stdout] --> src/wayland.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | zwlr_layer_surface_v1::{self, Anchor, KeyboardInteractivity, ZwlrLayerSurfaceV1}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused 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 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: 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: 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: 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: 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: 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: 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: 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: 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 `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: 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: 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: 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: 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: 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 `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: 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: 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: 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: 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: 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: 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 `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: 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: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.11s [INFO] running `Command { std: "docker" "inspect" "cf5b0f9ba3d38b551f010576cfbee4ee99dd844ef4fefdf85377bde771959c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5b0f9ba3d38b551f010576cfbee4ee99dd844ef4fefdf85377bde771959c13", kill_on_drop: false }` [INFO] [stdout] cf5b0f9ba3d38b551f010576cfbee4ee99dd844ef4fefdf85377bde771959c13 [INFO] checking laycookie/ScreenCopyUtil against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaycookie%2FScreenCopyUtil" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laycookie/ScreenCopyUtil on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laycookie/ScreenCopyUtil [INFO] finished tweaking git repo https://github.com/laycookie/ScreenCopyUtil [INFO] tweaked toml for git repo https://github.com/laycookie/ScreenCopyUtil written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/laycookie/ScreenCopyUtil already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61cbef95740417e252cd3c529b24822bb1df7d28e5f516280a920b2980e94ea9 [INFO] running `Command { std: "docker" "start" "-a" "61cbef95740417e252cd3c529b24822bb1df7d28e5f516280a920b2980e94ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61cbef95740417e252cd3c529b24822bb1df7d28e5f516280a920b2980e94ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61cbef95740417e252cd3c529b24822bb1df7d28e5f516280a920b2980e94ea9", kill_on_drop: false }` [INFO] [stdout] 61cbef95740417e252cd3c529b24822bb1df7d28e5f516280a920b2980e94ea9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d793c6aaf7ab8755adbcd89f36b232b3ca6eeea5740d921b7288b99e4c6e0e0 [INFO] running `Command { std: "docker" "start" "-a" "3d793c6aaf7ab8755adbcd89f36b232b3ca6eeea5740d921b7288b99e4c6e0e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking memmap2 v0.8.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking tempfile v3.10.1 [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] Checking profiling v1.0.15 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking xkbcommon v0.7.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.0 [INFO] [stderr] Checking screen_capturer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Anchor` and `KeyboardInteractivity` [INFO] [stdout] --> src/wayland.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | zwlr_layer_surface_v1::{self, Anchor, KeyboardInteractivity, ZwlrLayerSurfaceV1}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1` [INFO] [stdout] --> src/wayland_fractional_scale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Anchor` and `KeyboardInteractivity` [INFO] [stdout] --> src/wayland.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | zwlr_layer_surface_v1::{self, Anchor, KeyboardInteractivity, ZwlrLayerSurfaceV1}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1` [INFO] [stdout] --> src/wayland_fractional_scale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wayland_protocols_wlr::screencopy::v1::client::zwlr_screencopy_manager_v1::ZwlrScreencopyManagerV1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wp_fractional_scale_manager_v1` [INFO] [stdout] --> src/test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let wp_fractional_scale_manager_v1 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wp_fractional_scale_manager_v1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:144:35 [INFO] [stdout] | [INFO] [stdout] 136 | let pixels = test.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | thread::spawn(move || save_image(resolution, &pixels[offset..span], &path)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wayland_fractional_scale.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | let wp_fractional_scale_manager_v1 = globals.bind(qh, 1..=1, GlobalData)?; [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Ok(FractionalScale { wp_fractional_scale_manager_v1 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wayland_screencopy.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | let zwlr_screencopy_manager = globals.bind(qh, 1..=1, GlobalData)?; [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Ok(ScreenCopyManager { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | zwlr_screencopy_manager, [INFO] [stdout] 38 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wayland_screencopy.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | let zxdg_output_manager_v1 = globals.bind(qh, 1..=1, GlobalData)?; [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Ok(OutputManager { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | zxdg_output_manager_v1, [INFO] [stdout] 71 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 25 warnings emitted [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:144:35 [INFO] [stdout] | [INFO] [stdout] 136 | let pixels = test.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | thread::spawn(move || save_image(resolution, &pixels[offset..span], &path)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wayland_fractional_scale.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | let wp_fractional_scale_manager_v1 = globals.bind(qh, 1..=1, GlobalData)?; [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Ok(FractionalScale { wp_fractional_scale_manager_v1 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wayland_screencopy.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | let zwlr_screencopy_manager = globals.bind(qh, 1..=1, GlobalData)?; [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Ok(ScreenCopyManager { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | zwlr_screencopy_manager, [INFO] [stdout] 38 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wayland_screencopy.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | let zxdg_output_manager_v1 = globals.bind(qh, 1..=1, GlobalData)?; [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Ok(OutputManager { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | zxdg_output_manager_v1, [INFO] [stdout] 71 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `screen_capturer` (bin "screen_capturer") due to 5 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `screen_capturer` (bin "screen_capturer" test) due to 5 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3d793c6aaf7ab8755adbcd89f36b232b3ca6eeea5740d921b7288b99e4c6e0e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d793c6aaf7ab8755adbcd89f36b232b3ca6eeea5740d921b7288b99e4c6e0e0", kill_on_drop: false }` [INFO] [stdout] 3d793c6aaf7ab8755adbcd89f36b232b3ca6eeea5740d921b7288b99e4c6e0e0