[INFO] cloning repository https://github.com/Bens-Jammin/cli-calendar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bens-Jammin/cli-calendar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBens-Jammin%2Fcli-calendar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBens-Jammin%2Fcli-calendar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f62112454225d03344a9c781b9096c527a5951fd [INFO] checking Bens-Jammin/cli-calendar against try#69cf48176da7795067be67cef76e41a8aac9b134 for pr-146013-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBens-Jammin%2Fcli-calendar" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Bens-Jammin/cli-calendar [INFO] finished tweaking git repo https://github.com/Bens-Jammin/cli-calendar [INFO] tweaked toml for git repo https://github.com/Bens-Jammin/cli-calendar written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bens-Jammin/cli-calendar on toolchain 69cf48176da7795067be67cef76e41a8aac9b134 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69cf48176da7795067be67cef76e41a8aac9b134" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Bens-Jammin/cli-calendar 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" "+69cf48176da7795067be67cef76e41a8aac9b134" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+69cf48176da7795067be67cef76e41a8aac9b134" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d391c2a112245d8504c50df0d0fa8d0ea569916d278822a65982b1e0e56a3fa3 [INFO] running `Command { std: "docker" "start" "-a" "d391c2a112245d8504c50df0d0fa8d0ea569916d278822a65982b1e0e56a3fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d391c2a112245d8504c50df0d0fa8d0ea569916d278822a65982b1e0e56a3fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d391c2a112245d8504c50df0d0fa8d0ea569916d278822a65982b1e0e56a3fa3", kill_on_drop: false }` [INFO] [stdout] d391c2a112245d8504c50df0d0fa8d0ea569916d278822a65982b1e0e56a3fa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+69cf48176da7795067be67cef76e41a8aac9b134" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7e689c0d02a49a157133712d7259d6b40866890b5f258e616669bfadcb1ac87 [INFO] running `Command { std: "docker" "start" "-a" "c7e689c0d02a49a157133712d7259d6b40866890b5f258e616669bfadcb1ac87", kill_on_drop: false }` [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking unic-ucd-hangul v0.9.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking unic-ucd-category v0.9.0 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking unic-idna-mapping v0.9.0 [INFO] [stderr] Checking unic-ucd-case v0.9.0 [INFO] [stderr] Checking unic-ucd-name_aliases v0.9.0 [INFO] [stderr] Checking unic-ucd-age v0.9.0 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking unic-ucd-normal v0.9.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking unic-ucd-block v0.9.0 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking unic-ucd-name v0.9.0 [INFO] [stderr] Checking unic-ucd-common v0.9.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking ccl-crossbeam-epoch v0.7.4 [INFO] [stderr] Checking unic-idna-punycode v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking unic-char-basics v0.9.0 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking unic-char v0.9.0 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unic-emoji v0.9.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking unic-normal v0.9.0 [INFO] [stderr] Checking unic-idna v0.9.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking ccl v4.13.3 [INFO] [stderr] Checking heaptrack v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking unic-ucd v0.9.0 [INFO] [stderr] Checking unic v0.9.0 [INFO] [stderr] Checking calendar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:2:102 [INFO] [stdout] | [INFO] [stdout] 2 | use display::{calendar::year::calendar_year, content_box::{self, ALIGNMENT}, incoming_events::{self, *}, progress_bar}; [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: `format::text_fitting::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use format::text_fitting::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Holiday`, `colours::*`, `day::Day`, `self`, and `utils` [INFO] [stdout] --> src/display/calendar/misc.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{structures::{day::Day, holiday::{self, Holiday}, month::Month}, display::{colours::*, utils}}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `incoming_events`, `progress_bar`, and `utils` [INFO] [stdout] --> src/display/calendar/year.rs:2:85 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{display::{calendar::month::{month_as_vec, MONTH_CAL_WIDTH}, colours::*, incoming_events, progress_bar, utils}, structures::ye... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/display/incoming_events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Weekday::*` [INFO] [stdout] --> src/display/incoming_events.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Weekday::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structures::holiday::ontario_public_holidays` [INFO] [stdout] --> src/display/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structures::holiday::ontario_public_holidays; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `day::Day` and `year::Year` [INFO] [stdout] --> src/display/utils.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::structures::{day::Day, month::Month, year::Year}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/display/progress_bar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/display/content_box.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | let mut right_buffer_size = (width as i8 - 3 - text_width as i8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - let mut right_buffer_size = (width as i8 - 3 - text_width as i8); [INFO] [stdout] 93 + let mut right_buffer_size = width as i8 - 3 - text_width as i8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day::Day` [INFO] [stdout] --> src/structures/year.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{day::Day, event::Event, holiday::all_holidays, month::Month}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/structures/month.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/structures/day.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Datelike, Local, NaiveDate, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/structures/day.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use super::event::{self, EventType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ontario_public_holidays` [INFO] [stdout] --> src/structures/day.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use super::holiday::{self, ontario_public_holidays}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::day::Day` [INFO] [stdout] --> src/structures/holiday.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::day::Day; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unic::emoji::char::is_emoji` [INFO] [stdout] --> src/format/text_fitting.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use unic::emoji::char::is_emoji; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:2:102 [INFO] [stdout] | [INFO] [stdout] 2 | use display::{calendar::year::calendar_year, content_box::{self, ALIGNMENT}, incoming_events::{self, *}, progress_bar}; [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: `format::text_fitting::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use format::text_fitting::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Holiday`, `colours::*`, `day::Day`, `self`, and `utils` [INFO] [stdout] --> src/display/calendar/misc.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{structures::{day::Day, holiday::{self, Holiday}, month::Month}, display::{colours::*, utils}}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `incoming_events`, `progress_bar`, and `utils` [INFO] [stdout] --> src/display/calendar/year.rs:2:85 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{display::{calendar::month::{month_as_vec, MONTH_CAL_WIDTH}, colours::*, incoming_events, progress_bar, utils}, structures::ye... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/display/incoming_events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Weekday::*` [INFO] [stdout] --> src/display/incoming_events.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Weekday::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structures::holiday::ontario_public_holidays` [INFO] [stdout] --> src/display/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structures::holiday::ontario_public_holidays; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `day::Day` and `year::Year` [INFO] [stdout] --> src/display/utils.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::structures::{day::Day, month::Month, year::Year}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/display/progress_bar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/display/content_box.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | let mut right_buffer_size = (width as i8 - 3 - text_width as i8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - let mut right_buffer_size = (width as i8 - 3 - text_width as i8); [INFO] [stdout] 93 + let mut right_buffer_size = width as i8 - 3 - text_width as i8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day::Day` [INFO] [stdout] --> src/structures/year.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{day::Day, event::Event, holiday::all_holidays, month::Month}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/structures/month.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/structures/day.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Datelike, Local, NaiveDate, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/structures/day.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use super::event::{self, EventType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ontario_public_holidays` [INFO] [stdout] --> src/structures/day.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use super::holiday::{self, ontario_public_holidays}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::day::Day` [INFO] [stdout] --> src/structures/holiday.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::day::Day; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unic::emoji::char::is_emoji` [INFO] [stdout] --> src/format/text_fitting.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use unic::emoji::char::is_emoji; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/tui_handler/commands.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn remove(options: &[String]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/tui_handler/commands.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn export(options: &[String]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_month` [INFO] [stdout] --> src/display/incoming_events.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_incoming_events(month: &Month, next_month: &Month) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/tui_handler/commands.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn remove(options: &[String]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/tui_handler/commands.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn export(options: &[String]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/structures/year.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_day` [INFO] [stdout] --> src/structures/year.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_month` [INFO] [stdout] --> src/structures/year.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat_freq` [INFO] [stdout] --> src/structures/year.rs:92:69 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/structures/year.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_day` [INFO] [stdout] --> src/structures/year.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_month` [INFO] [stdout] --> src/structures/year.rs:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat_freq` [INFO] [stdout] --> src/structures/year.rs:98:68 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_month` [INFO] [stdout] --> src/display/incoming_events.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_incoming_events(month: &Month, next_month: &Month) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/structures/year.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_day` [INFO] [stdout] --> src/structures/year.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_month` [INFO] [stdout] --> src/structures/year.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat_freq` [INFO] [stdout] --> src/structures/year.rs:92:69 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/structures/year.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_day` [INFO] [stdout] --> src/structures/year.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_month` [INFO] [stdout] --> src/structures/year.rs:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat_freq` [INFO] [stdout] --> src/structures/year.rs:98:68 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/structures/event.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let event_type = match holiday_type { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/structures/holiday.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let year = chrono::Utc::now().year() as u16; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/structures/holiday.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let year = chrono::Utc::now().year() as u16; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/structures/event.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let event_type = match holiday_type { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_initial_args` is never used [INFO] [stdout] --> src/tui_handler/args.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn handle_initial_args(args: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear` is never used [INFO] [stdout] --> src/tui_handler/terminal_format.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clear(n: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/tui_handler/terminal_format.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `year` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn year() -> Year { load::load_year(&json_path()).unwrap() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `help` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn help() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn view(options: &[String]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn remove(options: &[String]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn export(options: &[String]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `year_progress_bar` is never used [INFO] [stdout] --> src/display/calendar/misc.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn year_progress_bar() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_3month_window` is never used [INFO] [stdout] --> src/display/calendar/month.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn show_3month_window(year: &Year, current_month: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_year` is never used [INFO] [stdout] --> src/display/calendar/year.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn show_year(cal: &Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `available_highlights` is never used [INFO] [stdout] --> src/display/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn available_highlights() -> [String; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highlighted_highlights` is never used [INFO] [stdout] --> src/display/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn highlighted_highlights() -> [String; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_calendar_with_highlighting` is never used [INFO] [stdout] --> src/display/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn display_calendar_with_highlighting( month: &Month) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_legend` is never used [INFO] [stdout] --> src/display/utils.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn print_legend() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highlight_legend` is never used [INFO] [stdout] --> src/display/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn highlight_legend() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT` is never constructed [INFO] [stdout] --> src/display/content_box.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ALIGNMENT { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 8 | LEFT, [INFO] [stdout] 9 | RIGHT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text_box` is never used [INFO] [stdout] --> src/display/content_box.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn text_box(width: usize, height: usize, text: String, alignment: ALIGNMENT) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `repeat_monthly`, `repeat_weekly`, `repeat_daily`, and `clear_all` are never used [INFO] [stdout] --> src/structures/year.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Year { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn repeat_monthly(&mut self, e: &Event, day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn clear_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty` and `null` are never used [INFO] [stdout] --> src/structures/month.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Month { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn empty(month_no: u8, year_no: u16) -> Month { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn null() -> Month { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_events` and `add_event` are never used [INFO] [stdout] --> src/structures/month.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Month { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn clear_events(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn add_event(&mut self, day_num: usize, event: &Event) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `month_abbreviation` is never used [INFO] [stdout] --> src/structures/month.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Month { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 94 | [INFO] [stdout] 95 | pub fn month_abbreviation(number: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `holiday` is never used [INFO] [stdout] --> src/structures/day.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Day { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn holiday(day: u8, month: u8, year: u16, name: String, h_type: Holiday, holiday_icon: String) -> Day { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_events` and `remove_event` are never used [INFO] [stdout] --> src/structures/day.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl Day { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn clear_events(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn remove_event(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_non_special_events` is never used [INFO] [stdout] --> src/structures/day.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl Day { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn has_non_special_events(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_emoji` is never used [INFO] [stdout] --> src/structures/event.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn is_emoji(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all_day` is never used [INFO] [stdout] --> src/structures/time24h.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Time24h { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn all_day() -> (Time24h, Time24h) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_year` is never used [INFO] [stdout] --> src/data_io/load.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn load_year(file_path: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdin_int` is never used [INFO] [stdout] --> src/data_io/std_rw.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stdin_int() -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `std_str` is never used [INFO] [stdout] --> src/data_io/std_rw.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn std_str() -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `std_time` is never used [INFO] [stdout] --> src/data_io/std_rw.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn std_time() -> Time24h { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `std_bool` is never used [INFO] [stdout] --> src/data_io/std_rw.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn std_bool() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fit_vec_to_width` is never used [INFO] [stdout] --> src/format/text_fitting.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn fit_vec_to_width(text: Vec, width: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `overhang_text` is never used [INFO] [stdout] --> src/format/text_fitting.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn overhang_text(text: Vec, overhang_size: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fit_text_to_char_width` is never used [INFO] [stdout] --> src/format/text_fitting.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn fit_text_to_char_width(txt: &String, width: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | save_year(&year, &json_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = save_year(&year, &json_path()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/structures/holiday.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let year = chrono::Utc::now().year() as u16; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/structures/holiday.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let year = chrono::Utc::now().year() as u16; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_initial_args` is never used [INFO] [stdout] --> src/tui_handler/args.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn handle_initial_args(args: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear` is never used [INFO] [stdout] --> src/tui_handler/terminal_format.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clear(n: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/tui_handler/terminal_format.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `year` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn year() -> Year { load::load_year(&json_path()).unwrap() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `help` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn help() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn view(options: &[String]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn remove(options: &[String]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export` is never used [INFO] [stdout] --> src/tui_handler/commands.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn export(options: &[String]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `year_progress_bar` is never used [INFO] [stdout] --> src/display/calendar/misc.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn year_progress_bar() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_3month_window` is never used [INFO] [stdout] --> src/display/calendar/month.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn show_3month_window(year: &Year, current_month: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_year` is never used [INFO] [stdout] --> src/display/calendar/year.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn show_year(cal: &Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `available_highlights` is never used [INFO] [stdout] --> src/display/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn available_highlights() -> [String; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highlighted_highlights` is never used [INFO] [stdout] --> src/display/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn highlighted_highlights() -> [String; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_calendar_with_highlighting` is never used [INFO] [stdout] --> src/display/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn display_calendar_with_highlighting( month: &Month) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_legend` is never used [INFO] [stdout] --> src/display/utils.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn print_legend() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highlight_legend` is never used [INFO] [stdout] --> src/display/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn highlight_legend() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT` is never constructed [INFO] [stdout] --> src/display/content_box.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ALIGNMENT { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 8 | LEFT, [INFO] [stdout] 9 | RIGHT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text_box` is never used [INFO] [stdout] --> src/display/content_box.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn text_box(width: usize, height: usize, text: String, alignment: ALIGNMENT) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `repeat_monthly`, `repeat_weekly`, `repeat_daily`, and `clear_all` are never used [INFO] [stdout] --> src/structures/year.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Year { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn repeat_monthly(&mut self, e: &Event, day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn repeat_weekly(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn repeat_daily(e: &Event, start_day: u8, start_month: u8, repeat_freq: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn clear_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty` and `null` are never used [INFO] [stdout] --> src/structures/month.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Month { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn empty(month_no: u8, year_no: u16) -> Month { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn null() -> Month { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_events` and `add_event` are never used [INFO] [stdout] --> src/structures/month.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Month { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn clear_events(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn add_event(&mut self, day_num: usize, event: &Event) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `month_abbreviation` is never used [INFO] [stdout] --> src/structures/month.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Month { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 94 | [INFO] [stdout] 95 | pub fn month_abbreviation(number: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `holiday` is never used [INFO] [stdout] --> src/structures/day.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Day { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn holiday(day: u8, month: u8, year: u16, name: String, h_type: Holiday, holiday_icon: String) -> Day { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_events` and `remove_event` are never used [INFO] [stdout] --> src/structures/day.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl Day { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn clear_events(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn remove_event(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_non_special_events` is never used [INFO] [stdout] --> src/structures/day.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl Day { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn has_non_special_events(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_emoji` is never used [INFO] [stdout] --> src/structures/event.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn is_emoji(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all_day` is never used [INFO] [stdout] --> src/structures/time24h.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Time24h { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn all_day() -> (Time24h, Time24h) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_year` is never used [INFO] [stdout] --> src/data_io/load.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn load_year(file_path: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdin_int` is never used [INFO] [stdout] --> src/data_io/std_rw.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stdin_int() -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `std_str` is never used [INFO] [stdout] --> src/data_io/std_rw.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn std_str() -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `std_time` is never used [INFO] [stdout] --> src/data_io/std_rw.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn std_time() -> Time24h { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `std_bool` is never used [INFO] [stdout] --> src/data_io/std_rw.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn std_bool() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fit_vec_to_width` is never used [INFO] [stdout] --> src/format/text_fitting.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn fit_vec_to_width(text: Vec, width: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `overhang_text` is never used [INFO] [stdout] --> src/format/text_fitting.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn overhang_text(text: Vec, overhang_size: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fit_text_to_char_width` is never used [INFO] [stdout] --> src/format/text_fitting.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn fit_text_to_char_width(txt: &String, width: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | save_year(&year, &json_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = save_year(&year, &json_path()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.91s [INFO] running `Command { std: "docker" "inspect" "c7e689c0d02a49a157133712d7259d6b40866890b5f258e616669bfadcb1ac87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7e689c0d02a49a157133712d7259d6b40866890b5f258e616669bfadcb1ac87", kill_on_drop: false }` [INFO] [stdout] c7e689c0d02a49a157133712d7259d6b40866890b5f258e616669bfadcb1ac87