[INFO] cloning repository https://github.com/JoyinJoester/Joco [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoyinJoester/Joco" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoyinJoester%2FJoco", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoyinJoester%2FJoco'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6f4c64910c940193333e761b63c3653790e7a01 [INFO] checking JoyinJoester/Joco against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoyinJoester%2FJoco" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JoyinJoester/Joco [INFO] finished tweaking git repo https://github.com/JoyinJoester/Joco [INFO] tweaked toml for git repo https://github.com/JoyinJoester/Joco written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JoyinJoester/Joco on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JoyinJoester/Joco 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v4.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24948cf1c81ee829c92b657a1c44c41a572c2baea070868d1fd24cfc287183da [INFO] running `Command { std: "docker" "start" "-a" "24948cf1c81ee829c92b657a1c44c41a572c2baea070868d1fd24cfc287183da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24948cf1c81ee829c92b657a1c44c41a572c2baea070868d1fd24cfc287183da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24948cf1c81ee829c92b657a1c44c41a572c2baea070868d1fd24cfc287183da", kill_on_drop: false }` [INFO] [stdout] 24948cf1c81ee829c92b657a1c44c41a572c2baea070868d1fd24cfc287183da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 608dff2d1dee954b8538564064a12373156616176c15dd2cf6146d4f97912007 [INFO] running `Command { std: "docker" "start" "-a" "608dff2d1dee954b8538564064a12373156616176c15dd2cf6146d4f97912007", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking libloading v0.8.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking accesskit v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking async-once-cell v0.5.4 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Compiling enigo v0.1.3 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking gilrs-core v0.5.15 [INFO] [stderr] Compiling gamepad-mouse-control v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking simple_logger v4.3.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking ecolor v0.24.1 [INFO] [stderr] Checking emath v0.24.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking epaint v0.24.1 [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.8.4 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking egui v0.24.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking arboard v3.5.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking egui_glow v0.24.1 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking enumflags2 v0.7.11 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking accesskit_winit v0.15.0 [INFO] [stderr] Checking egui-winit v0.24.1 [INFO] [stderr] Checking eframe v0.24.1 [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/logger.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/logger.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gamepad_id`, `last_activity`, and `connection_lost_time` are never read [INFO] [stdout] --> src/gamepad_controller.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct GamepadController { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | gamepad_id: GamepadId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | last_activity: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | connection_lost_time: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_reconnect`, `get_last_activity`, and `get_connection_lost_time` are never used [INFO] [stdout] --> src/gamepad_controller.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl GamepadController { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 652 | pub fn try_reconnect(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | pub fn get_last_activity(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 739 | pub fn get_connection_lost_time(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_error_message` is never read [INFO] [stdout] --> src/gui.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GamepadMouseApp { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | last_error_message: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_controller` is never used [INFO] [stdout] --> src/gui.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl GamepadMouseApp { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn start_controller(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_file`, `max_file_size`, `log_directory`, and `current_log_path` are never read [INFO] [stdout] --> src/logger.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EnhancedLogger { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 16 | log_file: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | log_level: LevelFilter, [INFO] [stdout] 18 | max_file_size: u64, // 最大日志文件大小(字节) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | log_directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | current_log_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_max_file_size`, `rotate_log_if_needed`, and `write_log` are never used [INFO] [stdout] --> src/logger.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl EnhancedLogger { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_max_file_size(mut self, size_in_bytes: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn rotate_log_if_needed(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn write_log(&self, record: &Record) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileLogger` is never constructed [INFO] [stdout] --> src/logger.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct FileLogger { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logger.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl FileLogger { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 165 | pub fn new(logger: EnhancedLogger) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gamepad_id`, `last_activity`, and `connection_lost_time` are never read [INFO] [stdout] --> src/gamepad_controller.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct GamepadController { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | gamepad_id: GamepadId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | last_activity: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | connection_lost_time: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_reconnect`, `get_last_activity`, and `get_connection_lost_time` are never used [INFO] [stdout] --> src/gamepad_controller.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl GamepadController { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 652 | pub fn try_reconnect(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | pub fn get_last_activity(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 739 | pub fn get_connection_lost_time(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_error_message` is never read [INFO] [stdout] --> src/gui.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GamepadMouseApp { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | last_error_message: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_controller` is never used [INFO] [stdout] --> src/gui.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl GamepadMouseApp { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn start_controller(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_file`, `max_file_size`, `log_directory`, and `current_log_path` are never read [INFO] [stdout] --> src/logger.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EnhancedLogger { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 16 | log_file: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | log_level: LevelFilter, [INFO] [stdout] 18 | max_file_size: u64, // 最大日志文件大小(字节) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | log_directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | current_log_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_max_file_size`, `rotate_log_if_needed`, and `write_log` are never used [INFO] [stdout] --> src/logger.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl EnhancedLogger { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_max_file_size(mut self, size_in_bytes: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn rotate_log_if_needed(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn write_log(&self, record: &Record) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileLogger` is never constructed [INFO] [stdout] --> src/logger.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct FileLogger { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logger.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl FileLogger { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 165 | pub fn new(logger: EnhancedLogger) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "608dff2d1dee954b8538564064a12373156616176c15dd2cf6146d4f97912007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "608dff2d1dee954b8538564064a12373156616176c15dd2cf6146d4f97912007", kill_on_drop: false }` [INFO] [stdout] 608dff2d1dee954b8538564064a12373156616176c15dd2cf6146d4f97912007