chore(instrumentation): Reduce noise from instrumented functions #319
pr_stackablectl.yml
on: pull_request
Matrix: General Pull Request Checks / Run Cargo Deny
General Pull Request Checks
/
Run Cargo Udeps
7m 44s
General Pull Request Checks
/
Run Rustfmt
15s
General Pull Request Checks
/
Run Clippy
2m 56s
General Pull Request Checks
/
Run RustDoc
3m 30s
General Pull Request Checks
/
Run Cargo Tests
3m 6s
Matrix: build
Annotations
11 errors and 4 warnings
|
[clippy] rust/stackable-cockpit/src/platform/operator/mod.rs#L187:
rust/stackable-cockpit/src/platform/operator/mod.rs#L187
error: redundant closure
--> rust/stackable-cockpit/src/platform/operator/mod.rs:187:45
|
187 | version = self.version.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
|
[clippy] rust/stackable-cockpit/src/platform/operator/mod.rs#L187:
rust/stackable-cockpit/src/platform/operator/mod.rs#L187
error: redundant closure
--> rust/stackable-cockpit/src/platform/operator/mod.rs:187:45
|
187 | version = self.version.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
|
[clippy] rust/stackable-cockpit/src/platform/stack/spec.rs#L159:
rust/stackable-cockpit/src/platform/stack/spec.rs#L159
error: redundant closure
--> rust/stackable-cockpit/src/platform/stack/spec.rs:159:63
|
159 | demo_name = install_parameters.demo_name.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
|
[clippy] rust/stackable-cockpit/src/platform/stack/spec.rs#L159:
rust/stackable-cockpit/src/platform/stack/spec.rs#L159
error: redundant closure
--> rust/stackable-cockpit/src/platform/stack/spec.rs:159:63
|
159 | demo_name = install_parameters.demo_name.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
|
[clippy] rust/stackable-cockpit/src/platform/operator/mod.rs#L187:
rust/stackable-cockpit/src/platform/operator/mod.rs#L187
error: redundant closure
--> rust/stackable-cockpit/src/platform/operator/mod.rs:187:45
|
187 | version = self.version.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
|
[clippy] rust/stackable-cockpit/src/platform/operator/mod.rs#L187:
rust/stackable-cockpit/src/platform/operator/mod.rs#L187
error: redundant closure
--> rust/stackable-cockpit/src/platform/operator/mod.rs:187:45
|
187 | version = self.version.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
|
[clippy] rust/stackable-cockpit/src/platform/stack/spec.rs#L159:
rust/stackable-cockpit/src/platform/stack/spec.rs#L159
error: redundant closure
--> rust/stackable-cockpit/src/platform/stack/spec.rs:159:63
|
159 | demo_name = install_parameters.demo_name.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
|
[clippy] rust/stackable-cockpit/src/platform/stack/spec.rs#L159:
rust/stackable-cockpit/src/platform/stack/spec.rs#L159
error: redundant closure
--> rust/stackable-cockpit/src/platform/stack/spec.rs:159:63
|
159 | demo_name = install_parameters.demo_name.as_ref().map(|v| tracing::field::display(v)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tracing::field::display`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
|
General Pull Request Checks / Run Cargo Tests
Process completed with exit code 101.
|
|
General Pull Request Checks / Run RustDoc
Process completed with exit code 101.
|
|
General Pull Request Checks / Run Cargo Udeps
Process completed with exit code 101.
|
|
General Pull Request Checks / Run Clippy
Unsupported Cargo.lock format, fallback to caching entire file
|
|
General Pull Request Checks / Run Cargo Tests
Unsupported Cargo.lock format, fallback to caching entire file
|
|
General Pull Request Checks / Run RustDoc
Unsupported Cargo.lock format, fallback to caching entire file
|
|
General Pull Request Checks / Run Cargo Udeps
Unsupported Cargo.lock format, fallback to caching entire file
|