[INFO] cloning repository https://github.com/Jannis241/ClashFoFBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jannis241/ClashFoFBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJannis241%2FClashFoFBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJannis241%2FClashFoFBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f10bf9e5920afb201ae21878d6d4f0bf0ce84e7a [INFO] checking Jannis241/ClashFoFBot against master#0f353363965ebf05e0757f7679c800b39c51a07e for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJannis241%2FClashFoFBot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jannis241/ClashFoFBot [INFO] finished tweaking git repo https://github.com/Jannis241/ClashFoFBot [INFO] tweaked toml for git repo https://github.com/Jannis241/ClashFoFBot written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jannis241/ClashFoFBot on toolchain 0f353363965ebf05e0757f7679c800b39c51a07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jannis241/ClashFoFBot 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" "+0f353363965ebf05e0757f7679c800b39c51a07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded readkey v0.2.2 [INFO] [stderr] Downloaded display-info v0.4.8 [INFO] [stderr] Downloaded screenshots v0.8.10 [INFO] [stderr] Downloaded device_query v4.0.1 [INFO] [stderr] Downloaded libwayshot v0.2.0 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.1.0 [INFO] [stderr] Downloaded rfd v0.15.4 [INFO] [stderr] Downloaded wayland-protocols v0.30.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1ed208cd1f0bb8996b4820b0cb7889ed0e0a5031b39217c2a026e5fdd38952c [INFO] running `Command { std: "docker" "start" "-a" "c1ed208cd1f0bb8996b4820b0cb7889ed0e0a5031b39217c2a026e5fdd38952c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1ed208cd1f0bb8996b4820b0cb7889ed0e0a5031b39217c2a026e5fdd38952c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ed208cd1f0bb8996b4820b0cb7889ed0e0a5031b39217c2a026e5fdd38952c", kill_on_drop: false }` [INFO] [stdout] c1ed208cd1f0bb8996b4820b0cb7889ed0e0a5031b39217c2a026e5fdd38952c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ed18f6c8d773e6555f0455ba01dd6eed9dd3e00d463f3fbfb66d7941bd42c83 [INFO] running `Command { std: "docker" "start" "-a" "5ed18f6c8d773e6555f0455ba01dd6eed9dd3e00d463f3fbfb66d7941bd42c83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking accesskit v0.19.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking accesskit_consumer v0.28.0 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Checking epaint_default_fonts v0.32.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking polling v3.9.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling xcb v1.5.0 [INFO] [stderr] Checking async-io v2.5.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking async-signal v0.2.12 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking async-process v2.4.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking async-fs v2.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling device_query v4.0.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling rfd v0.15.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking wayland-cursor v0.31.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling bytemuck_derive v1.10.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking wayland-client v0.30.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking wayland-protocols v0.30.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.32.0 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking ecolor v0.32.0 [INFO] [stderr] Checking epaint v0.32.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking egui v0.32.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking display-info v0.4.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.1.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.8 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.8 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking zvariant_utils v3.2.0 [INFO] [stderr] Checking quick-xml v0.36.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking libwayshot v0.2.0 [INFO] [stderr] Checking screenshots v0.8.10 [INFO] [stderr] Compiling zvariant_derive v5.6.0 [INFO] [stderr] Checking webbrowser v1.0.5 [INFO] [stderr] Checking egui_glow v0.32.0 [INFO] [stderr] Compiling zvariant v5.6.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Checking arboard v3.6.0 [INFO] [stderr] Checking zbus_xml v5.0.2 [INFO] [stderr] Checking zbus-lockstep v0.5.1 [INFO] [stderr] Compiling zbus_macros v5.9.0 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.1 [INFO] [stderr] Checking zbus v5.9.0 [INFO] [stderr] Checking atspi-common v0.9.0 [INFO] [stderr] Checking ashpd v0.11.0 [INFO] [stderr] Checking atspi-proxies v0.9.0 [INFO] [stderr] Checking accesskit_atspi_common v0.12.0 [INFO] [stderr] Checking atspi-connection v0.9.0 [INFO] [stderr] Checking atspi v0.25.0 [INFO] [stderr] Checking accesskit_unix v0.15.0 [INFO] [stderr] Checking accesskit_winit v0.27.0 [INFO] [stderr] Checking egui-winit v0.32.0 [INFO] [stderr] Checking eframe v0.32.0 [INFO] [stderr] Checking ClashFoFBot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::OffsetDateTime` [INFO] [stdout] --> src/image_data_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use time::OffsetDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FofError::*` [INFO] [stdout] --> src/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use FofError::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `Rgba`, and `io::Reader as ImageReader` [INFO] [stdout] --> src/prelude.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub use image::{io::Reader as ImageReader, ImageBuffer, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/prelude.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpenOptions`, `copy`, `read_to_string`, `remove_file`, and `write` [INFO] [stdout] --> src/prelude.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub use std::fs::{self, copy, read_to_string, remove_file, write, File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/prelude.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub use std::io::{BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/prelude.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Arc, Mutex, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinHandle` [INFO] [stdout] --> src/prelude.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | pub use std::thread::{self, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/prelude.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::*` [INFO] [stdout] --> src/prelude.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use time::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rgba` [INFO] [stdout] --> src/split_image.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{ImageBuffer, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error` and `thread::panicking` [INFO] [stdout] --> src/split_image.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, thread::panicking}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/ui.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use eframe::egui::{Pos2, Vec2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec2` [INFO] [stdout] --> src/ui.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{vec2, Rect}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/ui.rs:1665:35 [INFO] [stdout] | [INFO] [stdout] 1665 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/main.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Write` [INFO] [stdout] --> src/main.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::OffsetDateTime` [INFO] [stdout] --> src/image_data_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use time::OffsetDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FofError::*` [INFO] [stdout] --> src/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use FofError::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `Rgba`, and `io::Reader as ImageReader` [INFO] [stdout] --> src/prelude.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub use image::{io::Reader as ImageReader, ImageBuffer, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/prelude.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpenOptions`, `copy`, `read_to_string`, `remove_file`, and `write` [INFO] [stdout] --> src/prelude.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub use std::fs::{self, copy, read_to_string, remove_file, write, File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/prelude.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub use std::io::{BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/prelude.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Arc, Mutex, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinHandle` [INFO] [stdout] --> src/prelude.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | pub use std::thread::{self, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/prelude.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::*` [INFO] [stdout] --> src/prelude.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use time::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rgba` [INFO] [stdout] --> src/split_image.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{ImageBuffer, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error` and `thread::panicking` [INFO] [stdout] --> src/split_image.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, thread::panicking}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/ui.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use eframe::egui::{Pos2, Vec2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec2` [INFO] [stdout] --> src/ui.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{vec2, Rect}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/ui.rs:1665:35 [INFO] [stdout] | [INFO] [stdout] 1665 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/main.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Write` [INFO] [stdout] --> src/main.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ui.rs:1647:33 [INFO] [stdout] | [INFO] [stdout] 1647 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/ui.rs:1647:33 [INFO] [stdout] | [INFO] [stdout] 1647 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `eframe::egui::DragValue::<'a>::clamp_range`: Use `range` instead [INFO] [stdout] --> src/ui.rs:439:60 [INFO] [stdout] | [INFO] [stdout] 439 | ui.add(egui::DragValue::new(&mut self.split_count).clamp_range(1..=10000)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `eframe::egui::DragValue::<'a>::clamp_range`: Use `range` instead [INFO] [stdout] --> src/ui.rs:439:60 [INFO] [stdout] | [INFO] [stdout] 439 | ui.add(egui::DragValue::new(&mut self.split_count).clamp_range(1..=10000)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `eframe::egui::Ui::close_menu`: Use `ui.close()` or `ui.close_kind(UiKind::Menu)` instead [INFO] [stdout] --> src/ui.rs:878:28 [INFO] [stdout] | [INFO] [stdout] 878 | ui.close_menu(); // schließt das Dropdown nach Auswahl [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `eframe::egui::Ui::close_menu`: Use `ui.close()` or `ui.close_kind(UiKind::Menu)` instead [INFO] [stdout] --> src/ui.rs:878:28 [INFO] [stdout] | [INFO] [stdout] 878 | ui.close_menu(); // schließt das Dropdown nach Auswahl [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed from_id_salt [INFO] [stdout] --> src/ui.rs:1023:40 [INFO] [stdout] | [INFO] [stdout] 1023 | let resp = egui::ComboBox::from_id_source("dataset_mode_selector") [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed from_id_salt [INFO] [stdout] --> src/ui.rs:1023:40 [INFO] [stdout] | [INFO] [stdout] 1023 | let resp = egui::ComboBox::from_id_source("dataset_mode_selector") [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/ui.rs:1710:36 [INFO] [stdout] | [INFO] [stdout] 1710 | let is_train = rng.gen_bool(0.8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> src/ui.rs:1710:36 [INFO] [stdout] | [INFO] [stdout] 1710 | let is_train = rng.gen_bool(0.8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude` [INFO] [stdout] --> src/split_image.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude` [INFO] [stdout] --> src/split_image.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_of_epochs` [INFO] [stdout] --> src/image_data_wrapper.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let num_of_epochs = epochen; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_of_epochs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_of_epochs` [INFO] [stdout] --> src/image_data_wrapper.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let num_of_epochs = epochen; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_of_epochs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_name` [INFO] [stdout] --> src/image_data_wrapper.rs:450:22 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn stop_training(model_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile_name` [INFO] [stdout] --> src/settings_manager.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_profile(profile_name: &String) -> Settings { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_name` [INFO] [stdout] --> src/image_data_wrapper.rs:450:22 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn stop_training(model_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/split_image.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(file_name) = path.file_name() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile_name` [INFO] [stdout] --> src/settings_manager.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_profile(profile_name: &String) -> Settings { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/split_image.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(file_name) = path.file_name() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui.rs:423:44 [INFO] [stdout] | [INFO] [stdout] 423 | fn split(&mut self, ui: &mut egui::Ui, ctx: &egui::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui.rs:423:44 [INFO] [stdout] | [INFO] [stdout] 423 | fn split(&mut self, ui: &mut egui::Ui, ctx: &egui::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/ui.rs:585:30 [INFO] [stdout] | [INFO] [stdout] 585 | fn update_err(&mut self, ui: &mut egui::Ui, ctx: &egui::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/ui.rs:585:30 [INFO] [stdout] | [INFO] [stdout] 585 | fn update_err(&mut self, ui: &mut egui::Ui, ctx: &egui::Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/ui.rs:1232:31 [INFO] [stdout] | [INFO] [stdout] 1232 | let (img, scale) = self.get_scaled_texture(ui, texture); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/ui.rs:1233:25 [INFO] [stdout] | [INFO] [stdout] 1233 | let response = ui.add(img); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/ui.rs:1232:31 [INFO] [stdout] | [INFO] [stdout] 1232 | let (img, scale) = self.get_scaled_texture(ui, texture); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/ui.rs:1233:25 [INFO] [stdout] | [INFO] [stdout] 1233 | let response = ui.add(img); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/ui.rs:1281:30 [INFO] [stdout] | [INFO] [stdout] 1281 | for (idx, thrd) in self.train_threads.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/ui.rs:1281:30 [INFO] [stdout] | [INFO] [stdout] 1281 | for (idx, thrd) in self.train_threads.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/ui.rs:1679:18 [INFO] [stdout] | [INFO] [stdout] 1679 | for (idx, (dataset_base, label_regex)) in dataset_paths.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/ui.rs:1679:18 [INFO] [stdout] | [INFO] [stdout] 1679 | for (idx, (dataset_base, label_regex)) in dataset_paths.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `train` and `val` are never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct YamlData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | train: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | val: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YamlData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_search` is never used [INFO] [stdout] --> src/bot_actions.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start_search() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skip` is never used [INFO] [stdout] --> src/bot_actions.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn skip() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `surrender` is never used [INFO] [stdout] --> src/bot_actions.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn surrender() {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeArmy` is never used [INFO] [stdout] --> src/bot_actions.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn changeArmy() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_tests` is never used [INFO] [stdout] --> src/debug.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run_tests() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `class_id` is never read [INFO] [stdout] --> src/image_data_wrapper.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Building { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub class_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Building` 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 `stop_training` is never used [INFO] [stdout] --> src/image_data_wrapper.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn stop_training(model_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screenshot_area` is never used [INFO] [stdout] --> src/screener.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn screenshot_area(screen_index: usize, x: i32, y: i32, width: u32, height: u32) -> RgbaImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/settings_manager.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save`, and `delete` are never used [INFO] [stdout] --> src/settings_manager.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Settings { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(profile_name: String, coc_tag: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn delete(&self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `train` and `val` are never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct YamlData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | train: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | val: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YamlData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_search` is never used [INFO] [stdout] --> src/bot_actions.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start_search() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skip` is never used [INFO] [stdout] --> src/bot_actions.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn skip() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `surrender` is never used [INFO] [stdout] --> src/bot_actions.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn surrender() {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_profile` is never used [INFO] [stdout] --> src/settings_manager.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_profile(profile_name: &String) -> Settings { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_profile_names` is never used [INFO] [stdout] --> src/settings_manager.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_all_profile_names() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone_box` and `as_any_mut` are never used [INFO] [stdout] --> src/threading.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait AnyClone: Any + Send { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 23 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `downcast_box` is never used [INFO] [stdout] --> src/threading.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn downcast_box(b: Box) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_field_async` is never used [INFO] [stdout] --> src/threading.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl WorkerHandle { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_field_async(&self, key: &str) -> Receiver> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeArmy` should have a snake case name [INFO] [stdout] --> src/bot_actions.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn changeArmy() {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_army` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeArmy` is never used [INFO] [stdout] --> src/bot_actions.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn changeArmy() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_tests` is never used [INFO] [stdout] --> src/debug.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run_tests() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/image_data_wrapper.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | model_name.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `class_id` is never read [INFO] [stdout] --> src/image_data_wrapper.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Building { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub class_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Building` 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 `stop_training` is never used [INFO] [stdout] --> src/image_data_wrapper.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn stop_training(model_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screenshot_area` is never used [INFO] [stdout] --> src/screener.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn screenshot_area(screen_index: usize, x: i32, y: i32, width: u32, height: u32) -> RgbaImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/settings_manager.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save`, and `delete` are never used [INFO] [stdout] --> src/settings_manager.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Settings { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(profile_name: String, coc_tag: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn delete(&self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_profile` is never used [INFO] [stdout] --> src/settings_manager.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_profile(profile_name: &String) -> Settings { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_profile_names` is never used [INFO] [stdout] --> src/settings_manager.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_all_profile_names() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone_box` and `as_any_mut` are never used [INFO] [stdout] --> src/threading.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait AnyClone: Any + Send { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 23 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `downcast_box` is never used [INFO] [stdout] --> src/threading.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn downcast_box(b: Box) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_field_async` is never used [INFO] [stdout] --> src/threading.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl WorkerHandle { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_field_async(&self, key: &str) -> Receiver> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeArmy` should have a snake case name [INFO] [stdout] --> src/bot_actions.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn changeArmy() {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_army` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/image_data_wrapper.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | model_name.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/split_image.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | splited_image.save(p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = splited_image.save(p); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 904 | ) -> (egui::Image, f32) { [INFO] [stdout] | ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 904 | ) -> (egui::Image<'_>, f32) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/split_image.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | splited_image.save(p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = splited_image.save(p); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 904 | ) -> (egui::Image, f32) { [INFO] [stdout] | ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 904 | ) -> (egui::Image<'_>, f32) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: screenshots v0.8.10 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5ed18f6c8d773e6555f0455ba01dd6eed9dd3e00d463f3fbfb66d7941bd42c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed18f6c8d773e6555f0455ba01dd6eed9dd3e00d463f3fbfb66d7941bd42c83", kill_on_drop: false }` [INFO] [stdout] 5ed18f6c8d773e6555f0455ba01dd6eed9dd3e00d463f3fbfb66d7941bd42c83