[INFO] cloning repository https://github.com/YashSaliya/kite-tui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YashSaliya/kite-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYashSaliya%2Fkite-tui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYashSaliya%2Fkite-tui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a4eb2ab0d57b130eaba2f1a16e1bf430aab71a4 [INFO] checking YashSaliya/kite-tui against master#43a4909ee98ed4d006d9d773f5d94dc58e34f846 for pr-157576 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYashSaliya%2Fkite-tui" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/YashSaliya/kite-tui [INFO] finished tweaking git repo https://github.com/YashSaliya/kite-tui [INFO] tweaked toml for git repo https://github.com/YashSaliya/kite-tui written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YashSaliya/kite-tui on toolchain 43a4909ee98ed4d006d9d773f5d94dc58e34f846 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YashSaliya/kite-tui 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" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerocopy-derive v0.8.49 [INFO] [stderr] Downloaded compact_str v0.8.2 [INFO] [stderr] Downloaded hyper v1.10.0 [INFO] [stderr] Downloaded zerocopy v0.8.49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e8cc3b427dfd048028ba5b50292b191ba1d2a344011567963222c2cb1c8340df [INFO] running `Command { std: "docker" "start" "e8cc3b427dfd048028ba5b50292b191ba1d2a344011567963222c2cb1c8340df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e8cc3b427dfd048028ba5b50292b191ba1d2a344011567963222c2cb1c8340df" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8cc3b427dfd048028ba5b50292b191ba1d2a344011567963222c2cb1c8340df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e8cc3b427dfd048028ba5b50292b191ba1d2a344011567963222c2cb1c8340df" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.30 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Compiling openssl v0.10.80 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling zerocopy v0.8.49 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Checking memchr v2.8.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking data-encoding v2.11.0 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking unicode-segmentation v1.13.2 [INFO] [stderr] Checking num-conv v0.2.2 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking indenter v0.3.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.116 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking compact_str v0.8.2 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking keyring v3.6.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking tracing-appender v0.2.5 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking h2 v0.4.14 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking hyper v1.10.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking kite-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `has_access_token` and `delete` are never used [INFO] [stdout] --> src/api/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl KiteClient { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn has_access_token(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub async fn delete(&self, path: &str) -> Result { [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 `logout` is never used [INFO] [stdout] --> src/api/auth.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn logout(client: &KiteClient) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_quotes` is never used [INFO] [stdout] --> src/api/market.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl KiteClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub async fn get_quotes(&self, instruments: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlencoding` is never used [INFO] [stdout] --> src/api/market.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn urlencoding(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `refresh_interval_secs` is never read [INFO] [stdout] --> src/app/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | pub refresh_interval_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/app/state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum AppScreen { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppScreen` 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: field `0` is never read [INFO] [stdout] --> src/events/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | Mouse(MouseEvent), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - Mouse(MouseEvent), [INFO] [stdout] 15 + Mouse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/events/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Resize(u16, u16), [INFO] [stdout] | ------ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 - Resize(u16, u16), [INFO] [stdout] 17 + Resize((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Quit` is never constructed [INFO] [stdout] --> src/events/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AppEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` 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: variant `Logout` is never constructed [INFO] [stdout] --> src/events/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Action { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Logout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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: methods `current_value`, `is_long`, `day_change`, and `day_change_percent` are never used [INFO] [stdout] --> src/models/position.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Position { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_long(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn day_change(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn day_change_percent(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PositionType` is never used [INFO] [stdout] --> src/models/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum PositionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_traded_quantity`, `average_traded_price`, `total_buy_quantity`, and `total_sell_quantity` are never read [INFO] [stdout] --> src/models/quote.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Tick { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub last_traded_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub average_traded_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub volume_traded: u32, [INFO] [stdout] 11 | pub total_buy_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub total_sell_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tick` 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: struct `Quote` is never constructed [INFO] [stdout] --> src/models/quote.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Quote { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ohlc` is never constructed [INFO] [stdout] --> src/models/quote.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Ohlc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ACCENT_DIM`, `profit_style`, `loss_style`, `tab_selected_style`, and `tab_unselected_style` are never used [INFO] [stdout] --> src/ui/theme.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 6 | impl Theme { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub const ACCENT_DIM: Color = Color::Rgb(31, 111, 235); // #1f6feb blue dim [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn profit_style() -> Style { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn loss_style() -> Style { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn tab_selected_style() -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn tab_unselected_style() -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_access_token` and `delete` are never used [INFO] [stdout] --> src/api/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl KiteClient { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn has_access_token(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub async fn delete(&self, path: &str) -> Result { [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 `logout` is never used [INFO] [stdout] --> src/api/auth.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn logout(client: &KiteClient) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_quotes` is never used [INFO] [stdout] --> src/api/market.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl KiteClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub async fn get_quotes(&self, instruments: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlencoding` is never used [INFO] [stdout] --> src/api/market.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn urlencoding(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `refresh_interval_secs` is never read [INFO] [stdout] --> src/app/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | pub refresh_interval_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/app/state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum AppScreen { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppScreen` 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: field `0` is never read [INFO] [stdout] --> src/events/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | Mouse(MouseEvent), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - Mouse(MouseEvent), [INFO] [stdout] 15 + Mouse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/events/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Resize(u16, u16), [INFO] [stdout] | ------ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 - Resize(u16, u16), [INFO] [stdout] 17 + Resize((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Quit` is never constructed [INFO] [stdout] --> src/events/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AppEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` 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: variant `Logout` is never constructed [INFO] [stdout] --> src/events/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Action { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Logout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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: methods `current_value`, `is_long`, `day_change`, and `day_change_percent` are never used [INFO] [stdout] --> src/models/position.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Position { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_long(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn day_change(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn day_change_percent(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PositionType` is never used [INFO] [stdout] --> src/models/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum PositionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_traded_quantity`, `average_traded_price`, `total_buy_quantity`, and `total_sell_quantity` are never read [INFO] [stdout] --> src/models/quote.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Tick { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub last_traded_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub average_traded_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub volume_traded: u32, [INFO] [stdout] 11 | pub total_buy_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub total_sell_quantity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tick` 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: struct `Quote` is never constructed [INFO] [stdout] --> src/models/quote.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Quote { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ohlc` is never constructed [INFO] [stdout] --> src/models/quote.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Ohlc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ACCENT_DIM`, `profit_style`, `loss_style`, `tab_selected_style`, and `tab_unselected_style` are never used [INFO] [stdout] --> src/ui/theme.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 6 | impl Theme { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub const ACCENT_DIM: Color = Color::Rgb(31, 111, 235); // #1f6feb blue dim [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn profit_style() -> Style { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn loss_style() -> Style { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn tab_selected_style() -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn tab_unselected_style() -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.93s [INFO] running `Command { std: "docker" "inspect" "e8cc3b427dfd048028ba5b50292b191ba1d2a344011567963222c2cb1c8340df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8cc3b427dfd048028ba5b50292b191ba1d2a344011567963222c2cb1c8340df", kill_on_drop: false }` [INFO] [stdout] e8cc3b427dfd048028ba5b50292b191ba1d2a344011567963222c2cb1c8340df