Fix Cargo patch #441
Annotations
3 warnings
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
use of `format!` to build up a string from an iterator:
providers/cloudwatch/src/client/canonical_request.rs#L132
warning: use of `format!` to build up a string from an iterator
--> providers/cloudwatch/src/client/canonical_request.rs:132:31
|
132 | let headers: String = self
| _______________________________^
133 | | .headers
134 | | .iter()
135 | | .map(|(k, v)| format!("{k}:{v}\n"))
136 | | .collect::<String>()
| |________________________________^
|
help: call `fold` instead
--> providers/cloudwatch/src/client/canonical_request.rs:135:14
|
135 | .map(|(k, v)| format!("{k}:{v}\n"))
| ^^^
help: ... and use the `write!` macro here
--> providers/cloudwatch/src/client/canonical_request.rs:135:27
|
135 | .map(|(k, v)| format!("{k}:{v}\n"))
| ^^^^^^^^^^^^^^^^^^^^
= note: this can be written more efficiently by appending to a `String` directly
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_collect
= note: `#[warn(clippy::format_collect)]` on by default
|
constant `CHILD_FUNCTIONS_QUERY` is never used:
providers/prometheus/src/autometrics.rs#L8
warning: constant `CHILD_FUNCTIONS_QUERY` is never used
--> providers/prometheus/src/autometrics.rs:8:11
|
8 | pub const CHILD_FUNCTIONS_QUERY: &str = "x-autometrics-child-functions";
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|