[INFO] cloning repository https://github.com/alinGmail/riqi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alinGmail/riqi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FalinGmail%2Friqi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FalinGmail%2Friqi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbbf58fe97fe596f5b77531e4c4d86840d9b8f30 [INFO] building alinGmail/riqi against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FalinGmail%2Friqi" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alinGmail/riqi [INFO] finished tweaking git repo https://github.com/alinGmail/riqi [INFO] tweaked toml for git repo https://github.com/alinGmail/riqi written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alinGmail/riqi on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alinGmail/riqi 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sys-locale v0.3.2 [INFO] [stderr] Downloaded owo-colors v4.2.1 [INFO] [stderr] Downloaded tyme4rs v1.3.0 [INFO] [stderr] Downloaded jiff-static v0.2.14 [INFO] [stderr] Downloaded color-spantrace v0.2.2 [INFO] [stderr] Downloaded jiff v0.2.14 [INFO] [stderr] Downloaded color-eyre v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbefcbb010261edfa0a7858c1f2af64e85fe9d4c74940daaf9bbb28f4d69ec20 [INFO] running `Command { std: "docker" "start" "-a" "fbefcbb010261edfa0a7858c1f2af64e85fe9d4c74940daaf9bbb28f4d69ec20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbefcbb010261edfa0a7858c1f2af64e85fe9d4c74940daaf9bbb28f4d69ec20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbefcbb010261edfa0a7858c1f2af64e85fe9d4c74940daaf9bbb28f4d69ec20", kill_on_drop: false }` [INFO] [stdout] fbefcbb010261edfa0a7858c1f2af64e85fe9d4c74940daaf9bbb28f4d69ec20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7926da2fe714a9bf5dd84dc5c20fef735f457cd3f6594c125d4cb2ae263e8fe [INFO] running `Command { std: "docker" "start" "-a" "b7926da2fe714a9bf5dd84dc5c20fef735f457cd3f6594c125d4cb2ae263e8fe", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling color-spantrace v0.2.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tyme4rs v1.3.0 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling sys-locale v0.3.2 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling color-eyre v0.6.4 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling riqi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:253:41 [INFO] [stdout] | [INFO] [stdout] 253 | AppEvent::RequestResult(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/component/day_component.rs:216:39 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn widly_render_content(self, area: Rect, buf: &mut Buffer) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/component/day_component.rs:216:51 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn widly_render_content(self, area: Rect, buf: &mut Buffer) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/config/config_init.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | args: &Args, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `country` [INFO] [stdout] --> src/holiday/load.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let country = match country_opt { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `widly_render_content` is never used [INFO] [stdout] --> src/component/day_component.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> DayItem<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn widly_render_content(self, area: Rect, buf: &mut Buffer) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `calendar_type` and `HolidayConfig` are never read [INFO] [stdout] --> src/config/config_struct.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub calendar_type: CalendarType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub HolidayConfig: HolidayConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cache_dir` is never used [INFO] [stdout] --> src/config/xdg.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Xdg { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn cache_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_file_with_cache` is never used [INFO] [stdout] --> src/holiday/downloader.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl DownloadManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn read_file_with_cache(&self, path: &Path) -> Result>, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bottom_line` is never read [INFO] [stdout] --> src/theme.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Theme { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub bottom_line: ItemStyle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `under_line` and `transparent_bg` are never read [INFO] [stdout] --> src/theme.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ItemStyle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub under_line: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub transparent_bg: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemStyle` 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: constant `BLUE` is never used [INFO] [stdout] --> src/theme.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const BLUE: Theme = Theme { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Country` is never used [INFO] [stdout] --> src/translate.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Country { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_language` is never used [INFO] [stdout] --> src/translate.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_default_language(country: Country) -> Language { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `back_to_today` is never read [INFO] [stdout] --> src/translate.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Translate<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 185 | pub back_to_today: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `content` are never read [INFO] [stdout] --> src/types/layout.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MonthCalendarLayout { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub head: Rect, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub content: Rect, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonthCalendarLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/types/layout.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RiqiLayout { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 15 | pub title: Rect, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiqiLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component/day_component.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn get_lunar_line(&self, style: Style) -> Line { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 203 | pub fn get_lunar_line(&self, style: Style) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HolidayConfig` should have a snake case name [INFO] [stdout] --> src/config/config_struct.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub HolidayConfig: HolidayConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `holiday_config` [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 59.33s [INFO] running `Command { std: "docker" "inspect" "b7926da2fe714a9bf5dd84dc5c20fef735f457cd3f6594c125d4cb2ae263e8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7926da2fe714a9bf5dd84dc5c20fef735f457cd3f6594c125d4cb2ae263e8fe", kill_on_drop: false }` [INFO] [stdout] b7926da2fe714a9bf5dd84dc5c20fef735f457cd3f6594c125d4cb2ae263e8fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5049dc33ba226b2f835812b28a9c33621709c15b4995799c6f177bf0428e41e0 [INFO] running `Command { std: "docker" "start" "-a" "5049dc33ba226b2f835812b28a9c33621709c15b4995799c6f177bf0428e41e0", kill_on_drop: false }` [INFO] [stderr] Compiling riqi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:253:41 [INFO] [stdout] | [INFO] [stdout] 253 | AppEvent::RequestResult(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/component/day_component.rs:216:39 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn widly_render_content(self, area: Rect, buf: &mut Buffer) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/component/day_component.rs:216:51 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn widly_render_content(self, area: Rect, buf: &mut Buffer) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/config/config_init.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | args: &Args, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `country` [INFO] [stdout] --> src/holiday/load.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let country = match country_opt { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `widly_render_content` is never used [INFO] [stdout] --> src/component/day_component.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> DayItem<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn widly_render_content(self, area: Rect, buf: &mut Buffer) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `calendar_type` and `HolidayConfig` are never read [INFO] [stdout] --> src/config/config_struct.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub calendar_type: CalendarType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub HolidayConfig: HolidayConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cache_dir` is never used [INFO] [stdout] --> src/config/xdg.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Xdg { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn cache_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bottom_line` is never read [INFO] [stdout] --> src/theme.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Theme { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub bottom_line: ItemStyle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `under_line` and `transparent_bg` are never read [INFO] [stdout] --> src/theme.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ItemStyle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub under_line: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub transparent_bg: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemStyle` 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: constant `BLUE` is never used [INFO] [stdout] --> src/theme.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const BLUE: Theme = Theme { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Country` is never used [INFO] [stdout] --> src/translate.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Country { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_language` is never used [INFO] [stdout] --> src/translate.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_default_language(country: Country) -> Language { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `back_to_today` is never read [INFO] [stdout] --> src/translate.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Translate<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 185 | pub back_to_today: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `content` are never read [INFO] [stdout] --> src/types/layout.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MonthCalendarLayout { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub head: Rect, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub content: Rect, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonthCalendarLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/types/layout.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RiqiLayout { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 15 | pub title: Rect, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiqiLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component/day_component.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn get_lunar_line(&self, style: Style) -> Line { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 203 | pub fn get_lunar_line(&self, style: Style) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HolidayConfig` should have a snake case name [INFO] [stdout] --> src/config/config_struct.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub HolidayConfig: HolidayConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `holiday_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.52s [INFO] running `Command { std: "docker" "inspect" "5049dc33ba226b2f835812b28a9c33621709c15b4995799c6f177bf0428e41e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5049dc33ba226b2f835812b28a9c33621709c15b4995799c6f177bf0428e41e0", kill_on_drop: false }` [INFO] [stdout] 5049dc33ba226b2f835812b28a9c33621709c15b4995799c6f177bf0428e41e0