Skip to content

build(deps): bump prometheus-client from 0.22.3 to 0.23.1 #2563

build(deps): bump prometheus-client from 0.22.3 to 0.23.1

build(deps): bump prometheus-client from 0.22.3 to 0.23.1 #2563

Triggered via pull request January 16, 2025 03:44
Status Failure
Total duration 3m 36s
Artifacts

rust.yml

on: pull_request
Matrix: audit
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
clippy: policy-controller/runtime/src/args.rs#L174
error[E0308]: mismatched types --> policy-controller/runtime/src/args.rs:174:62 | 174 | .with_admin(admin.into_builder().with_prometheus(prom)) | --------------- ^^^^ expected `Registry`, found a different `Registry` | | | arguments to this method are incorrect | = note: `Registry` and `Registry` have similar names, but are actually distinct types note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.22.3/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `prometheus_client` are being used? note: method defined here --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kubert-0.22.0/src/admin.rs:128:12 | 128 | pub fn with_prometheus(self, mut registry: prometheus_client::registry::Registry) -> Self { | ^^^^^^^^^^^^^^^
clippy: policy-controller/runtime/src/args.rs#L174
error[E0308]: mismatched types --> policy-controller/runtime/src/args.rs:174:62 | 174 | .with_admin(admin.into_builder().with_prometheus(prom)) | --------------- ^^^^ expected `Registry`, found a different `Registry` | | | arguments to this method are incorrect | = note: `Registry` and `Registry` have similar names, but are actually distinct types note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.22.3/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `prometheus_client` are being used? note: method defined here --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kubert-0.22.0/src/admin.rs:128:12 | 128 | pub fn with_prometheus(self, mut registry: prometheus_client::registry::Registry) -> Self { | ^^^^^^^^^^^^^^^
clippy: policy-controller/runtime/src/args.rs#L174
error[E0308]: mismatched types --> policy-controller/runtime/src/args.rs:174:62 | 174 | .with_admin(admin.into_builder().with_prometheus(prom)) | --------------- ^^^^ expected `Registry`, found a different `Registry` | | | arguments to this method are incorrect | = note: `Registry` and `Registry` have similar names, but are actually distinct types note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.22.3/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `prometheus_client` are being used? note: method defined here --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kubert-0.22.0/src/admin.rs:128:12 | 128 | pub fn with_prometheus(self, mut registry: prometheus_client::registry::Registry) -> Self { | ^^^^^^^^^^^^^^^
clippy: policy-controller/runtime/src/args.rs#L174
error[E0308]: mismatched types --> policy-controller/runtime/src/args.rs:174:62 | 174 | .with_admin(admin.into_builder().with_prometheus(prom)) | --------------- ^^^^ expected `Registry`, found a different `Registry` | | | arguments to this method are incorrect | = note: `Registry` and `Registry` have similar names, but are actually distinct types note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.22.3/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `prometheus_client` are being used? note: method defined here --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kubert-0.22.0/src/admin.rs:128:12 | 128 | pub fn with_prometheus(self, mut registry: prometheus_client::registry::Registry) -> Self { | ^^^^^^^^^^^^^^^
clippy
Process completed with exit code 1.
check: policy-controller/runtime/src/args.rs#L174
error[E0308]: mismatched types --> policy-controller/runtime/src/args.rs:174:62 | 174 | .with_admin(admin.into_builder().with_prometheus(prom)) | --------------- ^^^^ expected `Registry`, found a different `Registry` | | | arguments to this method are incorrect | = note: `Registry` and `Registry` have similar names, but are actually distinct types note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.22.3/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `prometheus_client` are being used? note: method defined here --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kubert-0.22.0/src/admin.rs:128:12 | 128 | pub fn with_prometheus(self, mut registry: prometheus_client::registry::Registry) -> Self { | ^^^^^^^^^^^^^^^
check: policy-controller/runtime/src/args.rs#L174
error[E0308]: mismatched types --> policy-controller/runtime/src/args.rs:174:62 | 174 | .with_admin(admin.into_builder().with_prometheus(prom)) | --------------- ^^^^ expected `Registry`, found a different `Registry` | | | arguments to this method are incorrect | = note: `Registry` and `Registry` have similar names, but are actually distinct types note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ note: `Registry` is defined in crate `prometheus_client` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.22.3/src/registry.rs:61:1 | 61 | pub struct Registry { | ^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `prometheus_client` are being used? note: method defined here --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kubert-0.22.0/src/admin.rs:128:12 | 128 | pub fn with_prometheus(self, mut registry: prometheus_client::registry::Registry) -> Self { | ^^^^^^^^^^^^^^^
check
Process completed with exit code 1.
test
Process completed with exit code 101.
clippy: policy-controller/k8s/status/src/index.rs#L165
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` --> policy-controller/k8s/status/src/index.rs:165:28 | 165 | Histogram::new([0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0].into_iter()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `[0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0]` | note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/metrics/histogram.rs:65:30 | 65 | pub fn new(buckets: impl IntoIterator<Item = f64>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
clippy: policy-controller/k8s/status/src/index.rs#L165
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` --> policy-controller/k8s/status/src/index.rs:165:28 | 165 | Histogram::new([0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0].into_iter()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `[0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0]` | note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/metrics/histogram.rs:65:30 | 65 | pub fn new(buckets: impl IntoIterator<Item = f64>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default