build(deps): bump drain from 0.1.2 to 0.2.1 #2754
rust.yml
on: pull_request
fmt
27s
clippy
3m 20s
check
3m 8s
test
3m 47s
rust toolchain
5s
Matrix: audit
Annotations
12 errors
audit (bans licenses sources)
Process completed with exit code 2.
|
audit (advisories)
The operation was canceled.
|
audit (advisories)
The strategy configuration was canceled because "audit.bans_licenses_sources" failed
|
check
Process completed with exit code 1.
|
check:
policy-controller/runtime/src/args.rs#L365
error[E0308]: mismatched types
--> policy-controller/runtime/src/args.rs:372:13
|
365 | tokio::spawn(grpc(
| ---- arguments to this function are incorrect
...
372 | runtime.shutdown_handle(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `drain::Watch`, found `kubert::shutdown::Watch`
|
= note: `kubert::shutdown::Watch` and `drain::Watch` have similar names, but are actually distinct types
note: `kubert::shutdown::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.1.2/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
note: `drain::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.2.1/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `drain` are being used?
note: function defined here
--> policy-controller/runtime/src/args.rs:416:10
|
416 | async fn grpc(
| ^^^^
...
423 | drain: drain::Watch,
| -------------------
|
check:
policy-controller/runtime/src/args.rs#L372
error[E0308]: mismatched types
--> policy-controller/runtime/src/args.rs:372:13
|
365 | tokio::spawn(grpc(
| ---- arguments to this function are incorrect
...
372 | runtime.shutdown_handle(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `drain::Watch`, found `kubert::shutdown::Watch`
|
= note: `kubert::shutdown::Watch` and `drain::Watch` have similar names, but are actually distinct types
note: `kubert::shutdown::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.1.2/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
note: `drain::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.2.1/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `drain` are being used?
note: function defined here
--> policy-controller/runtime/src/args.rs:416:10
|
416 | async fn grpc(
| ^^^^
...
423 | drain: drain::Watch,
| -------------------
|
test
Process completed with exit code 101.
|
clippy
Process completed with exit code 1.
|
clippy:
policy-controller/runtime/src/args.rs#L365
error[E0308]: mismatched types
--> policy-controller/runtime/src/args.rs:372:13
|
365 | tokio::spawn(grpc(
| ---- arguments to this function are incorrect
...
372 | runtime.shutdown_handle(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `drain::Watch`, found `kubert::shutdown::Watch`
|
= note: `kubert::shutdown::Watch` and `drain::Watch` have similar names, but are actually distinct types
note: `kubert::shutdown::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.1.2/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
note: `drain::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.2.1/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `drain` are being used?
note: function defined here
--> policy-controller/runtime/src/args.rs:416:10
|
416 | async fn grpc(
| ^^^^
...
423 | drain: drain::Watch,
| -------------------
|
clippy:
policy-controller/runtime/src/args.rs#L372
error[E0308]: mismatched types
--> policy-controller/runtime/src/args.rs:372:13
|
365 | tokio::spawn(grpc(
| ---- arguments to this function are incorrect
...
372 | runtime.shutdown_handle(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `drain::Watch`, found `kubert::shutdown::Watch`
|
= note: `kubert::shutdown::Watch` and `drain::Watch` have similar names, but are actually distinct types
note: `kubert::shutdown::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.1.2/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
note: `drain::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.2.1/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `drain` are being used?
note: function defined here
--> policy-controller/runtime/src/args.rs:416:10
|
416 | async fn grpc(
| ^^^^
...
423 | drain: drain::Watch,
| -------------------
|
clippy:
policy-controller/runtime/src/args.rs#L365
error[E0308]: mismatched types
--> policy-controller/runtime/src/args.rs:372:13
|
365 | tokio::spawn(grpc(
| ---- arguments to this function are incorrect
...
372 | runtime.shutdown_handle(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `drain::Watch`, found `kubert::shutdown::Watch`
|
= note: `kubert::shutdown::Watch` and `drain::Watch` have similar names, but are actually distinct types
note: `kubert::shutdown::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.1.2/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
note: `drain::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.2.1/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `drain` are being used?
note: function defined here
--> policy-controller/runtime/src/args.rs:416:10
|
416 | async fn grpc(
| ^^^^
...
423 | drain: drain::Watch,
| -------------------
|
clippy:
policy-controller/runtime/src/args.rs#L372
error[E0308]: mismatched types
--> policy-controller/runtime/src/args.rs:372:13
|
365 | tokio::spawn(grpc(
| ---- arguments to this function are incorrect
...
372 | runtime.shutdown_handle(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `drain::Watch`, found `kubert::shutdown::Watch`
|
= note: `kubert::shutdown::Watch` and `drain::Watch` have similar names, but are actually distinct types
note: `kubert::shutdown::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.1.2/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
note: `drain::Watch` is defined in crate `drain`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/drain-0.2.1/src/lib.rs:44:1
|
44 | pub struct Watch {
| ^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `drain` are being used?
note: function defined here
--> policy-controller/runtime/src/args.rs:416:10
|
416 | async fn grpc(
| ^^^^
...
423 | drain: drain::Watch,
| -------------------
|