chore(build): bump linkerd/dev to v46 #1972
pr.yml
on: pull_request
Annotations
9 errors and 1 warning
rust
Process completed with exit code 1.
|
rust:
linkerd/metrics/src/histogram.rs#L237
error: variables can be used directly in the `format!` string
--> linkerd/metrics/src/histogram.rs:237:30
|
237 | Bucket::Le(v) => write!(f, "{}", v),
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
237 - Bucket::Le(v) => write!(f, "{}", v),
237 + Bucket::Le(v) => write!(f, "{v}"),
|
|
rust:
linkerd/metrics/src/histogram.rs#L228
error: variables can be used directly in the `format!` string
--> linkerd/metrics/src/histogram.rs:228:9
|
228 | write!(f, "{}=\"{}\"", k, v)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
228 - write!(f, "{}=\"{}\"", k, v)
228 + write!(f, "{k}=\"{v}\"")
|
|
rust:
linkerd/metrics/src/histogram.rs#L161
error: variables can be used directly in the `format!` string
--> linkerd/metrics/src/histogram.rs:161:17
|
161 | / assert_eq!(
162 | | count.value(),
163 | | exactly,
164 | | "bucket={:?}; value={:?};",
165 | | bucket,
166 | | value,
167 | | );
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
rust:
linkerd/metrics/src/histogram.rs#L139
error: variables can be used directly in the `format!` string
--> linkerd/metrics/src/histogram.rs:139:13
|
139 | assert_eq!(count, exactly, "bucket={:?}; value={:?};", bucket, value,);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
139 - assert_eq!(count, exactly, "bucket={:?}; value={:?};", bucket, value,);
139 + assert_eq!(count, exactly, "bucket={bucket:?}; value={value:?};",);
|
|
rust:
linkerd/metrics/src/histogram.rs#L98
error: variables can be used directly in the `format!` string
--> linkerd/metrics/src/histogram.rs:98:17
|
98 | assert!(count >= at_least, "le={:?}; bucket={:?};", le, bucket);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
98 - assert!(count >= at_least, "le={:?}; bucket={:?};", le, bucket);
98 + assert!(count >= at_least, "le={le:?}; bucket={bucket:?};");
|
|
rust:
linkerd/metrics/src/gauge.rs#L56
error: variables can be used directly in the `format!` string
--> linkerd/metrics/src/gauge.rs:56:9
|
56 | write!(f, "{}{{", name)?;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
56 - write!(f, "{}{{", name)?;
56 + write!(f, "{name}{{")?;
|
|
rust:
linkerd/metrics/src/counter.rs#L88
error: variables can be used directly in the `format!` string
--> linkerd/metrics/src/counter.rs:88:9
|
88 | write!(f, "{}{{", name)?;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-D clippy::uninlined-format-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
|
88 - write!(f, "{}{{", name)?;
88 + write!(f, "{name}{{")?;
|
|
ship-it
Process completed with exit code 1.
|
rust
Cache not found for keys: v0-rust-rust-Linux-x64-4a94d470-ccc4398e, v0-rust-rust-Linux-x64-4a94d470
|