[INFO] cloning repository https://github.com/gaowanlong/ppt-auto-capture-gui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gaowanlong/ppt-auto-capture-gui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaowanlong%2Fppt-auto-capture-gui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaowanlong%2Fppt-auto-capture-gui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ac57e7cbbc8b92873a7062c5b756355a1ce0225 [INFO] checking gaowanlong/ppt-auto-capture-gui against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaowanlong%2Fppt-auto-capture-gui" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gaowanlong/ppt-auto-capture-gui [INFO] finished tweaking git repo https://github.com/gaowanlong/ppt-auto-capture-gui [INFO] tweaked toml for git repo https://github.com/gaowanlong/ppt-auto-capture-gui written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gaowanlong/ppt-auto-capture-gui on toolchain 65b20a97de33e9e59992793a144aef2950c48c76 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gaowanlong/ppt-auto-capture-gui 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ad00bb36301f76fb93865f10bc16041370ba76d4849553b6efa43b3a824bfb3d [INFO] running `Command { std: "docker" "start" "ad00bb36301f76fb93865f10bc16041370ba76d4849553b6efa43b3a824bfb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad00bb36301f76fb93865f10bc16041370ba76d4849553b6efa43b3a824bfb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad00bb36301f76fb93865f10bc16041370ba76d4849553b6efa43b3a824bfb3d" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad00bb36301f76fb93865f10bc16041370ba76d4849553b6efa43b3a824bfb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad00bb36301f76fb93865f10bc16041370ba76d4849553b6efa43b3a824bfb3d" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling toml_parser v1.1.3+spec-1.1.0 [INFO] [stderr] Compiling zerocopy v0.8.53 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling cc v1.2.66 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking windows-link v0.1.3 [INFO] [stderr] Compiling toml_edit v0.25.12+spec-1.1.0 [INFO] [stderr] Checking immutable-chunkmap v2.1.3 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Checking windows-strings v0.3.1 [INFO] [stderr] Checking windows-result v0.3.4 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking epaint_default_fonts v0.31.1 [INFO] [stderr] Checking accesskit_consumer v0.26.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking pxfm v0.1.30 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking nix v0.29.0 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking memmap2 v0.9.11 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking jiff v0.2.31 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Checking uuid v1.23.4 [INFO] [stderr] Checking crossbeam-channel v0.5.16 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking quick-xml v0.38.4 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Checking regex v1.12.4 [INFO] [stderr] Checking wayland-client v0.31.14 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking env_filter v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling windows-interface v0.59.3 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Checking wayland-protocols v0.32.13 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking env_logger v0.11.11 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.31.1 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking windows-core v0.60.1 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking windows-numerics v0.1.1 [INFO] [stderr] Checking windows-collections v0.1.1 [INFO] [stderr] Checking windows-future v0.1.1 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking windows v0.60.0 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking webbrowser v1.2.1 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus_xml v4.0.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking zbus-lockstep v0.4.4 [INFO] [stderr] Checking egui_glow v0.31.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking wayland-protocols-misc v0.3.12 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking atspi-common v0.6.0 [INFO] [stderr] Checking atspi-proxies v0.6.0 [INFO] [stderr] Checking accesskit_atspi_common v0.10.1 [INFO] [stderr] Checking atspi-connection v0.6.0 [INFO] [stderr] Checking atspi v0.22.0 [INFO] [stderr] Checking accesskit_unix v0.13.1 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking egui-winit v0.31.1 [INFO] [stderr] Checking eframe v0.31.1 [INFO] [stderr] Checking ppt-auto-capture-gui v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/capture/capture_worker.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_monitor` is never used [INFO] [stdout] --> src/app.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn default_monitor(monitors: &[MonitorInfo]) -> Option<&MonitorInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_macos_source_default` is never used [INFO] [stdout] --> src/app.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn apply_macos_source_default(panel: &mut SourcePanel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame_index` and `timestamp_ms` are never read [INFO] [stdout] --> src/capture/capture_worker.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | FrameCaptured { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 32 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | timestamp_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame_index` and `diff_ratio` are never read [INFO] [stdout] --> src/capture/capture_worker.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | ChangeDetected { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 36 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | diff_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_index` is never read [INFO] [stdout] --> src/capture/capture_worker.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | FrameStable { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 40 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `png_filename` is never read [INFO] [stdout] --> src/capture/capture_worker.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | SlideSaved { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 43 | slide_number: u32, [INFO] [stdout] 44 | png_filename: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MonitorLost`, `Progress`, and `ProtectedContent` are never constructed [INFO] [stdout] --> src/capture/capture_worker.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum WorkerEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | MonitorLost(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Progress { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | ProtectedContent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_output_dir` is never used [INFO] [stdout] --> src/config.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn resolve_output_dir(path: &Path, home: Option<&Path>, is_macos: bool) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/detection/change_detector.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ChangeDetector { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_hash` is never read [INFO] [stdout] --> src/detection/duplicate_detector.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DuplicateDetector { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 8 | /// SHA256 hash of the last saved slide [INFO] [stdout] 9 | last_hash: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_duplicate` and `update_last` are never used [INFO] [stdout] --> src/detection/duplicate_detector.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DuplicateDetector { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_duplicate(&self, hash: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn update_last(&mut self, hash: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_main_title` is never used [INFO] [stdout] --> src/i18n.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn t_main_title(lang: Language) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_protected_warning` is never used [INFO] [stdout] --> src/i18n.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn t_protected_warning(lang: Language) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_macos_window_controls_unavailable` is never used [INFO] [stdout] --> src/i18n.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn t_macos_window_controls_unavailable(lang: Language) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_black_frame` is never used [INFO] [stdout] --> src/i18n.rs:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn t_black_frame(lang: Language) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_none` is never used [INFO] [stdout] --> src/i18n.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn t_none(lang: Language) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `area`, `is_valid`, and `contains` are never used [INFO] [stdout] --> src/model/region.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Region { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn area(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn contains(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `region` and `is_blank` are never read [INFO] [stdout] --> src/model/frame.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub is_blank: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model/frame.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Frame { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/model/monitor_info.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl MonitorInfo { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 27 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_slideshow` and `is_valid` are never used [INFO] [stdout] --> src/model/window_info.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl WindowInfo { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 29 | /// Check if this window is likely a slideshow viewer (not the editable deck). [INFO] [stdout] 30 | pub fn is_slideshow(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atomic_write` is never used [INFO] [stdout] --> src/storage/atomic_file.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn atomic_write(path: &Path, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atomic_copy` is never used [INFO] [stdout] --> src/storage/atomic_file.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn atomic_copy(src: &Path, dst: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_backup` is never used [INFO] [stdout] --> src/storage/atomic_file.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn create_backup(src: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionEventMonitor` is never constructed [INFO] [stdout] --> src/windows/stub.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct SessionEventMonitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `get_receiver` are never used [INFO] [stdout] --> src/windows/stub.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl SessionEventMonitor { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { Self } [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub fn start(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub fn get_receiver(&self) -> crossbeam_channel::Receiver { let (_tx,rx)=crossbeam_channel::unbounded();rx } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SessionState` is never used [INFO] [stdout] --> src/windows/stub.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum SessionState { Unlocked, Locked } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_window_rect` is never used [INFO] [stdout] --> src/windows/stub.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_window_rect(_hwnd: u64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame_index` and `timestamp_ms` are never read [INFO] [stdout] --> src/capture/capture_worker.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | FrameCaptured { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 32 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | timestamp_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame_index` and `diff_ratio` are never read [INFO] [stdout] --> src/capture/capture_worker.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | ChangeDetected { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 36 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | diff_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `frame_index` is never read [INFO] [stdout] --> src/capture/capture_worker.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | FrameStable { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 40 | frame_index: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `png_filename` is never read [INFO] [stdout] --> src/capture/capture_worker.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | SlideSaved { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 43 | slide_number: u32, [INFO] [stdout] 44 | png_filename: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MonitorLost`, `Progress`, and `ProtectedContent` are never constructed [INFO] [stdout] --> src/capture/capture_worker.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum WorkerEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | MonitorLost(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Progress { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | ProtectedContent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_protected_warning` is never used [INFO] [stdout] --> src/i18n.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn t_protected_warning(lang: Language) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_black_frame` is never used [INFO] [stdout] --> src/i18n.rs:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn t_black_frame(lang: Language) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_none` is never used [INFO] [stdout] --> src/i18n.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn t_none(lang: Language) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `region` and `is_blank` are never read [INFO] [stdout] --> src/model/frame.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub region: Region, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub is_blank: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/model/monitor_info.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl MonitorInfo { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 27 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_slideshow` and `is_valid` are never used [INFO] [stdout] --> src/model/window_info.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl WindowInfo { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 29 | /// Check if this window is likely a slideshow viewer (not the editable deck). [INFO] [stdout] 30 | pub fn is_slideshow(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atomic_write` is never used [INFO] [stdout] --> src/storage/atomic_file.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn atomic_write(path: &Path, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atomic_copy` is never used [INFO] [stdout] --> src/storage/atomic_file.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn atomic_copy(src: &Path, dst: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_backup` is never used [INFO] [stdout] --> src/storage/atomic_file.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn create_backup(src: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionEventMonitor` is never constructed [INFO] [stdout] --> src/windows/stub.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct SessionEventMonitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `get_receiver` are never used [INFO] [stdout] --> src/windows/stub.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl SessionEventMonitor { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { Self } [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub fn start(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub fn get_receiver(&self) -> crossbeam_channel::Receiver { let (_tx,rx)=crossbeam_channel::unbounded();rx } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SessionState` is never used [INFO] [stdout] --> src/windows/stub.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum SessionState { Unlocked, Locked } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_window_rect` is never used [INFO] [stdout] --> src/windows/stub.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_window_rect(_hwnd: u64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.32.3, glutin-winit v0.5.0, nix v0.29.0, winit v0.30.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "ad00bb36301f76fb93865f10bc16041370ba76d4849553b6efa43b3a824bfb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad00bb36301f76fb93865f10bc16041370ba76d4849553b6efa43b3a824bfb3d", kill_on_drop: false }` [INFO] [stdout] ad00bb36301f76fb93865f10bc16041370ba76d4849553b6efa43b3a824bfb3d