[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FalinGmail%2Friqi" "/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/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alinGmail/riqi on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 reqwest v0.12.20 [INFO] [stderr] Downloaded tyme4rs v1.3.0 [INFO] [stderr] Downloaded winnow v0.7.11 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded rustls v0.23.28 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc20b8d8bc170c74cd8aa400c8fa999dd0e193d85036f4bf8a4b33dae4a7ab44 [INFO] running `Command { std: "docker" "start" "-a" "bc20b8d8bc170c74cd8aa400c8fa999dd0e193d85036f4bf8a4b33dae4a7ab44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc20b8d8bc170c74cd8aa400c8fa999dd0e193d85036f4bf8a4b33dae4a7ab44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc20b8d8bc170c74cd8aa400c8fa999dd0e193d85036f4bf8a4b33dae4a7ab44", kill_on_drop: false }` [INFO] [stdout] bc20b8d8bc170c74cd8aa400c8fa999dd0e193d85036f4bf8a4b33dae4a7ab44 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d06c8140f877b41e662bde8a7b174ea5566af10aab571afd9088d3e6aebdfea5 [INFO] running `Command { std: "docker" "start" "-a" "d06c8140f877b41e662bde8a7b174ea5566af10aab571afd9088d3e6aebdfea5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling color-spantrace v0.2.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling sys-locale v0.3.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling tyme4rs v1.3.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling color-eyre v0.6.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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 toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling toml v0.8.23 [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 1m 13s [INFO] running `Command { std: "docker" "inspect" "d06c8140f877b41e662bde8a7b174ea5566af10aab571afd9088d3e6aebdfea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d06c8140f877b41e662bde8a7b174ea5566af10aab571afd9088d3e6aebdfea5", kill_on_drop: false }` [INFO] [stdout] d06c8140f877b41e662bde8a7b174ea5566af10aab571afd9088d3e6aebdfea5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dca719a54ca201ab44e5a8ced132d2152b99eb78fcdbfb71faa85c5007a7fb59 [INFO] running `Command { std: "docker" "start" "-a" "dca719a54ca201ab44e5a8ced132d2152b99eb78fcdbfb71faa85c5007a7fb59", 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.83s [INFO] running `Command { std: "docker" "inspect" "dca719a54ca201ab44e5a8ced132d2152b99eb78fcdbfb71faa85c5007a7fb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca719a54ca201ab44e5a8ced132d2152b99eb78fcdbfb71faa85c5007a7fb59", kill_on_drop: false }` [INFO] [stdout] dca719a54ca201ab44e5a8ced132d2152b99eb78fcdbfb71faa85c5007a7fb59