Skip to content

feat: add ability for more detailed container description and stats #29

feat: add ability for more detailed container description and stats

feat: add ability for more detailed container description and stats #29

Triggered via pull request June 29, 2024 18:11
Status Success
Total duration 1m 6s
Artifacts

check.yml

on: pull_request
check  /  ...  /  fmt
15s
check / stable / fmt
check  /  ...  /  doc
44s
check / nightly / doc
check  /  ...  /  check
50s
check / 1.78.0 / check
Matrix: check / clippy
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
unused import: `crossterm::terminal::disable_raw_mode`: src/pages/describe_container.rs#L4
warning: unused import: `crossterm::terminal::disable_raw_mode` --> src/pages/describe_container.rs:4:5 | 4 | use crossterm::terminal::disable_raw_mode; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
constant `ESC_KEY` is never used: src/pages/describe_container.rs#L23
warning: constant `ESC_KEY` is never used --> src/pages/describe_container.rs:23:7 | 23 | const ESC_KEY: Key = Key::Esc; | ^^^^^^^
field `config` is never read: src/pages/describe_container.rs#L28
warning: field `config` is never read --> src/pages/describe_container.rs:28:5 | 26 | pub struct DescribeContainer { | ----------------- field in this struct 27 | docker: Docker, 28 | config: Box<Config>, | ^^^^^^ | = note: `DescribeContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
unused variable: `docker`: src/docker/container.rs#L146
warning: unused variable: `docker` --> src/docker/container.rs:146:36 | 146 | pub async fn refresh(mut self, docker: &bollard::Docker) -> Result<Self> { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_docker` | = note: `#[warn(unused_variables)]` on by default
variable does not need to be mutable: src/docker/container.rs#L146
warning: variable does not need to be mutable --> src/docker/container.rs:146:26 | 146 | pub async fn refresh(mut self, docker: &bollard::Docker) -> Result<Self> { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
field `0` is never read: src/events/message.rs#L6
warning: field `0` is never read --> src/events/message.rs:6:11 | 6 | Error(String), | ----- ^^^^^^ | | | field in this variant | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 6 | Error(()), | ~~
field `name` is never read: src/pages/containers.rs#L54
warning: field `name` is never read --> src/pages/containers.rs:54:9 | 52 | pub struct Containers { | ---------- field in this struct 53 | config: Box<Config>, 54 | pub name: String, | ^^^^ | = note: `Containers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
field `name` is never read: src/pages/images.rs#L49
warning: field `name` is never read --> src/pages/images.rs:49:9 | 48 | pub struct Images { | ------ field in this struct 49 | pub name: String, | ^^^^ | = note: `Images` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
field `discriminator` is never read: src/components/alert_modal.rs#L27
warning: field `discriminator` is never read --> src/components/alert_modal.rs:27:9 | 26 | pub struct AlertModal<P> { | ---------- field in this struct 27 | pub discriminator: P, | ^^^^^^^^^^^^^ | = note: `AlertModal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
unused import: `crossterm::terminal::disable_raw_mode`: src/pages/describe_container.rs#L4
warning: unused import: `crossterm::terminal::disable_raw_mode` --> src/pages/describe_container.rs:4:5 | 4 | use crossterm::terminal::disable_raw_mode; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
constant `ESC_KEY` is never used: src/pages/describe_container.rs#L23
warning: constant `ESC_KEY` is never used --> src/pages/describe_container.rs:23:7 | 23 | const ESC_KEY: Key = Key::Esc; | ^^^^^^^
field `config` is never read: src/pages/describe_container.rs#L28
warning: field `config` is never read --> src/pages/describe_container.rs:28:5 | 26 | pub struct DescribeContainer { | ----------------- field in this struct 27 | docker: Docker, 28 | config: Box<Config>, | ^^^^^^ | = note: `DescribeContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
unused variable: `docker`: src/docker/container.rs#L146
warning: unused variable: `docker` --> src/docker/container.rs:146:36 | 146 | pub async fn refresh(mut self, docker: &bollard::Docker) -> Result<Self> { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_docker` | = note: `#[warn(unused_variables)]` on by default
variable does not need to be mutable: src/docker/container.rs#L146
warning: variable does not need to be mutable --> src/docker/container.rs:146:26 | 146 | pub async fn refresh(mut self, docker: &bollard::Docker) -> Result<Self> { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
field `0` is never read: src/events/message.rs#L6
warning: field `0` is never read --> src/events/message.rs:6:11 | 6 | Error(String), | ----- ^^^^^^ | | | field in this variant | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 6 | Error(()), | ~~
field `name` is never read: src/pages/containers.rs#L54
warning: field `name` is never read --> src/pages/containers.rs:54:9 | 52 | pub struct Containers { | ---------- field in this struct 53 | config: Box<Config>, 54 | pub name: String, | ^^^^ | = note: `Containers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
field `name` is never read: src/pages/images.rs#L49
warning: field `name` is never read --> src/pages/images.rs:49:9 | 48 | pub struct Images { | ------ field in this struct 49 | pub name: String, | ^^^^ | = note: `Images` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
field `discriminator` is never read: src/components/alert_modal.rs#L27
warning: field `discriminator` is never read --> src/components/alert_modal.rs:27:9 | 26 | pub struct AlertModal<P> { | ---------- field in this struct 27 | pub discriminator: P, | ^^^^^^^^^^^^^ | = note: `AlertModal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis