[INFO] cloning repository https://github.com/Coriander-No/Logger
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Coriander-No/Logger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoriander-No%2FLogger", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoriander-No%2FLogger'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 39f7294881a0943853be2485ec51e7f4eb603f5a
[INFO] checking Coriander-No/Logger against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoriander-No%2FLogger" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Coriander-No/Logger
[INFO] finished tweaking git repo https://github.com/Coriander-No/Logger
[INFO] tweaked toml for git repo https://github.com/Coriander-No/Logger written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Coriander-No/Logger on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Coriander-No/Logger 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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded onig v6.5.1
[INFO] [stderr]   Downloaded ecolor v0.30.0
[INFO] [stderr]   Downloaded emath v0.30.0
[INFO] [stderr]   Downloaded accesskit v0.17.1
[INFO] [stderr]   Downloaded wayland-protocols-misc v0.3.9
[INFO] [stderr]   Downloaded zbus-lockstep-macros v0.4.4
[INFO] [stderr]   Downloaded zbus_xml v4.0.0
[INFO] [stderr]   Downloaded epaint v0.30.0
[INFO] [stderr]   Downloaded accesskit_unix v0.13.1
[INFO] [stderr]   Downloaded atspi v0.22.0
[INFO] [stderr]   Downloaded atspi-proxies v0.6.0
[INFO] [stderr]   Downloaded eframe v0.30.0
[INFO] [stderr]   Downloaded accesskit_consumer v0.26.0
[INFO] [stderr]   Downloaded egui-winit v0.30.0
[INFO] [stderr]   Downloaded accesskit_winit v0.23.1
[INFO] [stderr]   Downloaded egui_glow v0.30.0
[INFO] [stderr]   Downloaded accesskit_windows v0.24.1
[INFO] [stderr]   Downloaded atspi-connection v0.6.0
[INFO] [stderr]   Downloaded immutable-chunkmap v2.1.2
[INFO] [stderr]   Downloaded zbus-lockstep v0.4.4
[INFO] [stderr]   Downloaded accesskit_macos v0.18.1
[INFO] [stderr]   Downloaded accesskit_atspi_common v0.10.1
[INFO] [stderr]   Downloaded calloop v0.14.3
[INFO] [stderr]   Downloaded egui-wgpu v0.30.0
[INFO] [stderr]   Downloaded atspi-common v0.6.0
[INFO] [stderr]   Downloaded wgpu-types v23.0.0
[INFO] [stderr]   Downloaded quick-xml v0.30.0
[INFO] [stderr]   Downloaded glow v0.14.2
[INFO] [stderr]   Downloaded wgpu v23.0.1
[INFO] [stderr]   Downloaded onig_sys v69.9.1
[INFO] [stderr]   Downloaded egui v0.30.0
[INFO] [stderr]   Downloaded wgpu-core v23.0.1
[INFO] [stderr]   Downloaded wgpu-hal v23.0.1
[INFO] [stderr]   Downloaded epaint_default_fonts v0.30.0
[INFO] [stderr]   Downloaded syntect v5.3.0
[INFO] [stderr]   Downloaded naga v23.1.0
[INFO] [stderr]   Downloaded metal v0.29.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ab36712659d4df1502b1ada2dabb148c155a592ca29b20c4ca45d0d2460d5a0
[INFO] running `Command { std: "docker" "start" "-a" "2ab36712659d4df1502b1ada2dabb148c155a592ca29b20c4ca45d0d2460d5a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ab36712659d4df1502b1ada2dabb148c155a592ca29b20c4ca45d0d2460d5a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ab36712659d4df1502b1ada2dabb148c155a592ca29b20c4ca45d0d2460d5a0", kill_on_drop: false }`
[INFO] [stdout] 2ab36712659d4df1502b1ada2dabb148c155a592ca29b20c4ca45d0d2460d5a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 44d0c2fe8009e20221fbe34ccf6add46227c6f6f341207c4b50607fa7a01a250
[INFO] running `Command { std: "docker" "start" "-a" "44d0c2fe8009e20221fbe34ccf6add46227c6f6f341207c4b50607fa7a01a250", kill_on_drop: false }`
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]    Compiling zerocopy v0.8.28
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]    Compiling wayland-client v0.31.11
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking async-fs v2.2.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]     Checking xcursor v0.3.10
[INFO] [stderr]     Checking xkeysym v0.2.1
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]     Checking cursor-icon v1.2.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.10
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]     Checking x11rb-protocol v0.13.2
[INFO] [stderr]     Checking as-raw-xcb-connection v1.0.1
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking raw-window-handle v0.6.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking immutable-chunkmap v2.1.2
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]    Compiling winit v0.30.12
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling glutin_glx_sys v0.6.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling glutin_egl_sys v0.7.1
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking dpi v0.1.2
[INFO] [stderr]     Checking epaint_default_fonts v0.30.0
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.20.0
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling glutin v0.32.3
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking xdg-home v1.3.0
[INFO] [stderr]     Checking owned_ttf_parser v0.25.1
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking ab_glyph v0.2.32
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking pxfm v0.1.25
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]    Compiling glutin-winit v0.5.0
[INFO] [stderr]     Checking time-core v0.1.6
[INFO] [stderr]     Checking quick-xml v0.38.4
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]    Compiling rfd v0.14.1
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking glow v0.16.0
[INFO] [stderr]     Checking png v0.18.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking pollster v0.3.0
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zvariant_utils v2.1.0
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling enumflags2_derive v0.7.12
[INFO] [stderr]    Compiling zvariant_derive v4.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zbus_macros v4.4.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling enumn v0.1.14
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking moxcms v0.7.9
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking async-io v2.6.0
[INFO] [stderr]     Checking gethostname v1.1.0
[INFO] [stderr]     Checking calloop v0.14.3
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking async-net v2.0.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking onig v6.5.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling enumflags2 v0.7.12
[INFO] [stderr]    Compiling quick-xml v0.30.0
[INFO] [stderr]     Checking accesskit v0.17.1
[INFO] [stderr]     Checking emath v0.30.0
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking plist v1.8.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking wayland-protocols v0.32.9
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]    Compiling zvariant v4.2.0
[INFO] [stderr]     Checking wayland-cursor v0.31.11
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking calloop-wayland-source v0.4.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking syntect v5.3.0
[INFO] [stderr]     Checking ecolor v0.30.0
[INFO] [stderr]     Checking epaint v0.30.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking accesskit_consumer v0.26.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking webbrowser v1.0.6
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking egui v0.30.0
[INFO] [stderr]    Compiling zbus_names v3.0.0
[INFO] [stderr]    Compiling zbus_xml v4.0.0
[INFO] [stderr]     Checking image v0.25.9
[INFO] [stderr]    Compiling zbus-lockstep v0.4.4
[INFO] [stderr]    Compiling zbus-lockstep-macros v0.4.4
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking wayland-protocols-misc v0.3.9
[INFO] [stderr]     Checking wayland-protocols-experimental v20250721.0.1
[INFO] [stderr]     Checking zbus v4.4.0
[INFO] [stderr]     Checking arboard v3.6.1
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking smithay-clipboard v0.7.3
[INFO] [stderr]     Checking egui_glow v0.30.0
[INFO] [stderr]     Checking atspi-common v0.6.0
[INFO] [stderr]     Checking ashpd v0.8.1
[INFO] [stderr]     Checking atspi-proxies v0.6.0
[INFO] [stderr]     Checking accesskit_atspi_common v0.10.1
[INFO] [stderr]     Checking atspi-connection v0.6.0
[INFO] [stderr]     Checking atspi v0.22.0
[INFO] [stderr]     Checking accesskit_unix v0.13.1
[INFO] [stderr]     Checking accesskit_winit v0.23.1
[INFO] [stderr]     Checking egui-winit v0.30.0
[INFO] [stderr]     Checking eframe v0.30.0
[INFO] [stderr]     Checking Logger v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::default`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::default;
[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::path::Path`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/main.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[warn(unused_imports)]
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/main.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::Logger::{LoggerState,Direction};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation`
[INFO] [stdout]  --> src/Logger.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use unicode_segmentation::UnicodeSegmentation;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/Logger.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/file.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Align`, `Layout`, `RichText`, `ScrollArea`, `Separator`, `TextEdit`, and `Ui`
[INFO] [stdout]  --> src/ui.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use egui::{Context, Layout, RichText, ScrollArea, Separator, TextEdit, TopBottomPanel, Ui, Widget, Align, TextBuffer};
[INFO] [stdout]   |                     ^^^^^^  ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^                  ^^          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/ui.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::Logger::{LoggerState,Direction};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/ui.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `save_as_file` and `save_file`
[INFO] [stdout]  --> src/ui.rs:7:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::file::{new_file, open_file, save_file, save_as_file};
[INFO] [stdout]   |                                        ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::EditorError`
[INFO] [stdout]  --> src/ui.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::error::EditorError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::default`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::default;
[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::path::Path`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/main.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[warn(unused_imports)]
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/main.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::Logger::{LoggerState,Direction};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation`
[INFO] [stdout]  --> src/Logger.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use unicode_segmentation::UnicodeSegmentation;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/Logger.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/file.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Align`, `Layout`, `RichText`, `ScrollArea`, `Separator`, `TextEdit`, and `Ui`
[INFO] [stdout]  --> src/ui.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use egui::{Context, Layout, RichText, ScrollArea, Separator, TextEdit, TopBottomPanel, Ui, Widget, Align, TextBuffer};
[INFO] [stdout]   |                     ^^^^^^  ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^                  ^^          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/ui.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::Logger::{LoggerState,Direction};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/ui.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `save_as_file` and `save_file`
[INFO] [stdout]  --> src/ui.rs:7:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::file::{new_file, open_file, save_file, save_as_file};
[INFO] [stdout]   |                                        ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::EditorError`
[INFO] [stdout]  --> src/ui.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::error::EditorError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TextBuffer`
[INFO] [stdout]  --> src/ui.rs:1:107
[INFO] [stdout]   |
[INFO] [stdout] 1 | use egui::{Context, Layout, RichText, ScrollArea, Separator, TextEdit, TopBottomPanel, Ui, Widget, Align, TextBuffer};
[INFO] [stdout]   |                                                                                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |             let mut text_edit = egui::TextEdit::multiline(&mut text_buffer)          // 设置默认显示行数
[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: unused variable: `config`
[INFO] [stdout]   --> src/ui.rs:10:58
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn render_ui(ctx: &Context, state: &mut LoggerState, config: &mut LoggerConfig) {
[INFO] [stdout]    |                                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/ui.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn show_error_toast(ctx: &Context, msg: &str) {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/ui.rs:82:36
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn show_error_toast(ctx: &Context, msg: &str) {
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TextBuffer`
[INFO] [stdout]  --> src/ui.rs:1:107
[INFO] [stdout]   |
[INFO] [stdout] 1 | use egui::{Context, Layout, RichText, ScrollArea, Separator, TextEdit, TopBottomPanel, Ui, Widget, Align, TextBuffer};
[INFO] [stdout]   |                                                                                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/Logger.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl LoggerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(lines: Vec<String>, file_path: Option<PathBuf>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]   --> src/Logger.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum Direction {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_file` is never used
[INFO] [stdout]   --> src/file.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn save_file(state: &mut LoggerState) -> Result<(), EditorError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_as_file` is never used
[INFO] [stdout]   --> src/file.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn save_as_file(state: &mut LoggerState) -> Result<(), EditorError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EncodingError` is never constructed
[INFO] [stdout]  --> src/error.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum EditorError {
[INFO] [stdout]   |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 9 |     EncodingError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `EditorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Logger` should have a snake case name
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod Logger;
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `logger`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |             let mut text_edit = egui::TextEdit::multiline(&mut text_buffer)          // 设置默认显示行数
[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: unused variable: `config`
[INFO] [stdout]   --> src/ui.rs:10:58
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn render_ui(ctx: &Context, state: &mut LoggerState, config: &mut LoggerConfig) {
[INFO] [stdout]    |                                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/ui.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn show_error_toast(ctx: &Context, msg: &str) {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/ui.rs:82:36
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn show_error_toast(ctx: &Context, msg: &str) {
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/Logger.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl LoggerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(lines: Vec<String>, file_path: Option<PathBuf>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]   --> src/Logger.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum Direction {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_file` is never used
[INFO] [stdout]   --> src/file.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn save_file(state: &mut LoggerState) -> Result<(), EditorError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_as_file` is never used
[INFO] [stdout]   --> src/file.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn save_as_file(state: &mut LoggerState) -> Result<(), EditorError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EncodingError` is never constructed
[INFO] [stdout]  --> src/error.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum EditorError {
[INFO] [stdout]   |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 9 |     EncodingError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `EditorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Logger` should have a snake case name
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod Logger;
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `logger`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.8.1
[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" "44d0c2fe8009e20221fbe34ccf6add46227c6f6f341207c4b50607fa7a01a250", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44d0c2fe8009e20221fbe34ccf6add46227c6f6f341207c4b50607fa7a01a250", kill_on_drop: false }`
[INFO] [stdout] 44d0c2fe8009e20221fbe34ccf6add46227c6f6f341207c4b50607fa7a01a250
