[INFO] cloning repository https://github.com/HyperAlch/VisualMT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HyperAlch/VisualMT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyperAlch%2FVisualMT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyperAlch%2FVisualMT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b1df8994d4b00fcf108a307f0ad756b154e2f23 [INFO] checking HyperAlch/VisualMT against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyperAlch%2FVisualMT" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HyperAlch/VisualMT [INFO] finished tweaking git repo https://github.com/HyperAlch/VisualMT [INFO] tweaked toml for git repo https://github.com/HyperAlch/VisualMT written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HyperAlch/VisualMT on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HyperAlch/VisualMT 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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusty-tesseract v1.1.10 [INFO] [stderr] Downloaded log v0.4.24 [INFO] [stderr] Downloaded xcap v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87d468f301598a22e439837c736c1b5ec24c5eb68f727f69c8d916151c62a901 [INFO] running `Command { std: "docker" "start" "-a" "87d468f301598a22e439837c736c1b5ec24c5eb68f727f69c8d916151c62a901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87d468f301598a22e439837c736c1b5ec24c5eb68f727f69c8d916151c62a901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d468f301598a22e439837c736c1b5ec24c5eb68f727f69c8d916151c62a901", kill_on_drop: false }` [INFO] [stdout] 87d468f301598a22e439837c736c1b5ec24c5eb68f727f69c8d916151c62a901 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba9a9e47d1c625a5a1a673d03bbea34ca534d1594ffb0721edd3e1880551e529 [INFO] running `Command { std: "docker" "start" "-a" "ba9a9e47d1c625a5a1a673d03bbea34ca534d1594ffb0721edd3e1880551e529", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking log v0.4.24 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling xcb v1.5.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking subprocess v0.2.9 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking rusty-tesseract v1.1.10 [INFO] [stderr] Checking xcap v0.2.1 [INFO] [stderr] Checking visualmt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/screen_cap/error.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/screen_cap/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/settings/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `title` is never read [INFO] [stdout] --> src/screen_cap/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut title = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `title` is never read [INFO] [stdout] --> src/screen_cap/mod.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | title = window.title().to_string(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_name` [INFO] [stdout] --> src/screen_cap/mod.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn window_has_resized(&self, window_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SETTINGS_ERROR_SPACE` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SETTINGS_ERROR_SPACE: isize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_CAP_ERROR_SPACE` is never used [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SCREEN_CAP_ERROR_SPACE: isize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OCR_ERROR_SPACE` is never used [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const OCR_ERROR_SPACE: isize = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_local_tesseract_path` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn set_local_tesseract_path(tesseract_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_filename` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn normalize_filename(filename: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OcrError` is never constructed [INFO] [stdout] --> src/ocr_state/error.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct OcrError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OcrErrorCode` is never used [INFO] [stdout] --> src/ocr_state/error.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum OcrErrorCode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ocr_state/error.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl OcrError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 37 | fn new(code: OcrErrorCode, message: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenCap` is never constructed [INFO] [stdout] --> src/screen_cap/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct ScreenCap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `capture_area` are never used [INFO] [stdout] --> src/screen_cap/mod.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl ScreenCap { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn new(target_window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn capture_area( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `filter_by_title`, `get_vec`, `list_all_windows`, and `window_has_resized` are never used [INFO] [stdout] --> src/screen_cap/mod.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl WindowList { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 70 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub(crate) fn filter_by_title(self, title: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn get_vec(&self) -> Vec<(&String, &Window)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn list_all_windows() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn window_has_resized(&self, window_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenCapError` is never constructed [INFO] [stdout] --> src/screen_cap/error.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct ScreenCapError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScreenCapErrorCode` is never used [INFO] [stdout] --> src/screen_cap/error.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum ScreenCapErrorCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/screen_cap/error.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl ScreenCapError { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 45 | pub(crate) fn new(code: ScreenCapErrorCode, message: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SETTINGS` is never used [INFO] [stdout] --> src/settings/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) static SETTINGS: OnceLock> = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_settings` is never used [INFO] [stdout] --> src/settings/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init_settings() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_settings` is never used [INFO] [stdout] --> src/settings/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn global_settings() -> &'static Mutex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/settings/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save` and `load` are never used [INFO] [stdout] --> src/settings/mod.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 39 | impl Settings { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 40 | pub(crate) fn save(&self) -> Result<(), SettingsError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn load(&mut self) -> Result<(), SettingsError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SettingsError` is never constructed [INFO] [stdout] --> src/settings/error.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct SettingsError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SettingsErrorCode` is never used [INFO] [stdout] --> src/settings/error.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum SettingsErrorCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/settings/error.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl SettingsError { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 43 | pub(crate) fn new(code: SettingsErrorCode, message: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/screen_cap/error.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/screen_cap/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/settings/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ocr_state/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut my_args = Args { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `title` is never read [INFO] [stdout] --> src/screen_cap/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut title = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `title` is never read [INFO] [stdout] --> src/screen_cap/mod.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | title = window.title().to_string(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_name` [INFO] [stdout] --> src/screen_cap/mod.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn window_has_resized(&self, window_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captured_ocr_image` [INFO] [stdout] --> src/screen_cap/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let captured_ocr_image = window [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 163 | let _captured_ocr_image = window [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 163 - let captured_ocr_image = window [INFO] [stdout] 163 + let settings::_ = window [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captured_icon_image` [INFO] [stdout] --> src/screen_cap/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let captured_icon_image = window [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 175 | let _captured_icon_image = window [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 175 - let captured_icon_image = window [INFO] [stdout] 175 + let settings::_ = window [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OCR_ERROR_SPACE` is never used [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const OCR_ERROR_SPACE: isize = 300; [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 `set_local_tesseract_path` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn set_local_tesseract_path(tesseract_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OcrError` is never constructed [INFO] [stdout] --> src/ocr_state/error.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct OcrError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OcrErrorCode` is never used [INFO] [stdout] --> src/ocr_state/error.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum OcrErrorCode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ocr_state/error.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl OcrError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 37 | fn new(code: OcrErrorCode, message: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window_has_resized` is never used [INFO] [stdout] --> src/screen_cap/mod.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl WindowList { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn window_has_resized(&self, window_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MonitorNotFound` and `XCapError` are never constructed [INFO] [stdout] --> src/screen_cap/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum ScreenCapErrorCode { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 12 | MonitorNotFound = SCREEN_CAP_ERROR_SPACE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | SubImageOutOfBounds, [INFO] [stdout] 14 | XCapError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenCapErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.30s [INFO] running `Command { std: "docker" "inspect" "ba9a9e47d1c625a5a1a673d03bbea34ca534d1594ffb0721edd3e1880551e529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba9a9e47d1c625a5a1a673d03bbea34ca534d1594ffb0721edd3e1880551e529", kill_on_drop: false }` [INFO] [stdout] ba9a9e47d1c625a5a1a673d03bbea34ca534d1594ffb0721edd3e1880551e529