feat: Add labels to deployed dynamic objects #36
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (7)
rust/stackable-cockpit/src/platform/label/mod.rs|71 col 14| error: unused macro definition: label
--> rust/stackable-cockpit/src/platform/label/mod.rs:71:14
|
71 | macro_rules! label {
| ^^^^^
|
= note: -D unused-macros
implied by -D warnings
rust/stackable-cockpit/src/platform/label/mod.rs|71 col 14| error: unused macro definition: label
--> rust/stackable-cockpit/src/platform/label/mod.rs:71:14
|
71 | macro_rules! label {
| ^^^^^
|
= note: -D unused-macros
implied by -D warnings
rust/stackable-cockpit/src/platform/label/mod.rs|79 col 9| error: unused import: super::*
--> rust/stackable-cockpit/src/platform/label/mod.rs:79:9
|
79 | use super::*;
| ^^^^^^^^
|
= note: -D unused-imports
implied by -D warnings
rust/stackable-cockpit/src/platform/label/key.rs|28 col 17| error: unused variable: input
--> rust/stackable-cockpit/src/platform/label/key.rs:28:17
|
28 | fn from_str(input: &str) -> Result<Self, Self::Err> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: _input
|
= note: -D unused-variables
implied by -D warnings
rust/stackable-cockpit/src/platform/label/mod.rs|11 col 17| error: unreachable expression
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
| |
| unreachable expression
| any code following this expression is unreachable
|
note: this expression has type platform::label::key::LabelKeyError
, which is uninhabited
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
= note: -D unreachable-code
implied by -D warnings
= note: this error originates in the derive macro Snafu
(in Nightly builds, run with -Z macro-backtrace for more info)
rust/stackable-cockpit/src/platform/label/key.rs|28 col 17| error: unused variable: input
--> rust/stackable-cockpit/src/platform/label/key.rs:28:17
|
28 | fn from_str(input: &str) -> Result<Self, Self::Err> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: _input
|
= note: -D unused-variables
implied by -D warnings
rust/stackable-cockpit/src/platform/label/mod.rs|11 col 17| error: unreachable expression
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
| |
| unreachable expression
| any code following this expression is unreachable
|
note: this expression has type platform::label::key::LabelKeyError
, which is uninhabited
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
= note: -D unreachable-code
implied by -D warnings
= note: this error originates in the derive macro Snafu
(in Nightly builds, run with -Z macro-backtrace for more info)
Filtered Findings (0)
Annotations
Check failure on line 71 in rust/stackable-cockpit/src/platform/label/mod.rs
github-actions / clippy
[clippy] rust/stackable-cockpit/src/platform/label/mod.rs#L71
error: unused macro definition: `label`
--> rust/stackable-cockpit/src/platform/label/mod.rs:71:14
|
71 | macro_rules! label {
| ^^^^^
|
= note: `-D unused-macros` implied by `-D warnings`
Raw output
rust/stackable-cockpit/src/platform/label/mod.rs:71:14:e:error: unused macro definition: `label`
--> rust/stackable-cockpit/src/platform/label/mod.rs:71:14
|
71 | macro_rules! label {
| ^^^^^
|
= note: `-D unused-macros` implied by `-D warnings`
__END__
Check failure on line 71 in rust/stackable-cockpit/src/platform/label/mod.rs
github-actions / clippy
[clippy] rust/stackable-cockpit/src/platform/label/mod.rs#L71
error: unused macro definition: `label`
--> rust/stackable-cockpit/src/platform/label/mod.rs:71:14
|
71 | macro_rules! label {
| ^^^^^
|
= note: `-D unused-macros` implied by `-D warnings`
Raw output
rust/stackable-cockpit/src/platform/label/mod.rs:71:14:e:error: unused macro definition: `label`
--> rust/stackable-cockpit/src/platform/label/mod.rs:71:14
|
71 | macro_rules! label {
| ^^^^^
|
= note: `-D unused-macros` implied by `-D warnings`
__END__
Check failure on line 79 in rust/stackable-cockpit/src/platform/label/mod.rs
github-actions / clippy
[clippy] rust/stackable-cockpit/src/platform/label/mod.rs#L79
error: unused import: `super::*`
--> rust/stackable-cockpit/src/platform/label/mod.rs:79:9
|
79 | use super::*;
| ^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
Raw output
rust/stackable-cockpit/src/platform/label/mod.rs:79:9:e:error: unused import: `super::*`
--> rust/stackable-cockpit/src/platform/label/mod.rs:79:9
|
79 | use super::*;
| ^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
__END__
Check failure on line 28 in rust/stackable-cockpit/src/platform/label/key.rs
github-actions / clippy
[clippy] rust/stackable-cockpit/src/platform/label/key.rs#L28
error: unused variable: `input`
--> rust/stackable-cockpit/src/platform/label/key.rs:28:17
|
28 | fn from_str(input: &str) -> Result<Self, Self::Err> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
|
= note: `-D unused-variables` implied by `-D warnings`
Raw output
rust/stackable-cockpit/src/platform/label/key.rs:28:17:e:error: unused variable: `input`
--> rust/stackable-cockpit/src/platform/label/key.rs:28:17
|
28 | fn from_str(input: &str) -> Result<Self, Self::Err> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
|
= note: `-D unused-variables` implied by `-D warnings`
__END__
Check failure on line 11 in rust/stackable-cockpit/src/platform/label/mod.rs
github-actions / clippy
[clippy] rust/stackable-cockpit/src/platform/label/mod.rs#L11
error: unreachable expression
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
| |
| unreachable expression
| any code following this expression is unreachable
|
note: this expression has type `platform::label::key::LabelKeyError`, which is uninhabited
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
= note: `-D unreachable-code` implied by `-D warnings`
= note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info)
Raw output
rust/stackable-cockpit/src/platform/label/mod.rs:11:17:e:error: unreachable expression
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
| |
| unreachable expression
| any code following this expression is unreachable
|
note: this expression has type `platform::label::key::LabelKeyError`, which is uninhabited
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
= note: `-D unreachable-code` implied by `-D warnings`
= note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info)
__END__
Check failure on line 28 in rust/stackable-cockpit/src/platform/label/key.rs
github-actions / clippy
[clippy] rust/stackable-cockpit/src/platform/label/key.rs#L28
error: unused variable: `input`
--> rust/stackable-cockpit/src/platform/label/key.rs:28:17
|
28 | fn from_str(input: &str) -> Result<Self, Self::Err> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
|
= note: `-D unused-variables` implied by `-D warnings`
Raw output
rust/stackable-cockpit/src/platform/label/key.rs:28:17:e:error: unused variable: `input`
--> rust/stackable-cockpit/src/platform/label/key.rs:28:17
|
28 | fn from_str(input: &str) -> Result<Self, Self::Err> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
|
= note: `-D unused-variables` implied by `-D warnings`
__END__
Check failure on line 11 in rust/stackable-cockpit/src/platform/label/mod.rs
github-actions / clippy
[clippy] rust/stackable-cockpit/src/platform/label/mod.rs#L11
error: unreachable expression
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
| |
| unreachable expression
| any code following this expression is unreachable
|
note: this expression has type `platform::label::key::LabelKeyError`, which is uninhabited
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
= note: `-D unreachable-code` implied by `-D warnings`
= note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info)
Raw output
rust/stackable-cockpit/src/platform/label/mod.rs:11:17:e:error: unreachable expression
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
| |
| unreachable expression
| any code following this expression is unreachable
|
note: this expression has type `platform::label::key::LabelKeyError`, which is uninhabited
--> rust/stackable-cockpit/src/platform/label/mod.rs:11:17
|
11 | #[derive(Debug, Snafu)]
| ^^^^^
= note: `-D unreachable-code` implied by `-D warnings`
= note: this error originates in the derive macro `Snafu` (in Nightly builds, run with -Z macro-backtrace for more info)
__END__