ability to show dangling images #20
check.yml
on: pull_request
check
/
...
/
fmt
8s
check
/
...
/
doc
40s
check
/
...
/
check
42s
Matrix: check / clippy
Annotations
2 errors and 5 warnings
check / beta / clippy
Canceling since a higher priority waiting request for '.github/workflows/check.yml-rs/dangling-images' exists
|
check / beta / clippy
The operation was canceled.
|
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#L53
warning: field `name` is never read
--> src/pages/containers.rs:53:9
|
51 | pub struct Containers {
| ---------- field in this struct
52 | config: Box<Config>,
53 | 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
|
length comparison to zero:
src/docker/image.rs#L31
warning: length comparison to zero
--> src/docker/image.rs:31:12
|
31 | if bollard_image.repo_tags.len() > 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!bollard_image.repo_tags.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `#[warn(clippy::len_zero)]` on by default
|