build(deps): bump prost-types from 0.12.6 to 0.13.0 #399
Annotations
6 errors
|
linkerd/service-profiles/src/proto.rs#L52
error[E0271]: type mismatch resolving `<Duration as TryFrom<Duration>>::Error == DurationError`
--> linkerd/service-profiles/src/proto.rs:52:47
|
52 | set_route_timeout(&mut route, timeout.try_into());
| ^^^^^^^^ expected `DurationError`, found a different `DurationError`
|
= note: `DurationError` and `DurationError` have similar names, but are actually distinct types
note: `DurationError` is defined in crate `prost_types`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-types-0.13.0/src/duration.rs:133:1
|
133 | pub enum DurationError {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `DurationError` is defined in crate `prost_types`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-types-0.12.6/src/duration.rs:133:1
|
133 | pub enum DurationError {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `prost_types` are being used?
|
linkerd/service-profiles/src/proto.rs#L52
error[E0271]: type mismatch resolving `<Duration as TryFrom<Duration>>::Error == DurationError`
--> linkerd/service-profiles/src/proto.rs:52:47
|
52 | set_route_timeout(&mut route, timeout.try_into());
| ^^^^^^^^ expected `DurationError`, found a different `DurationError`
|
= note: `DurationError` and `DurationError` have similar names, but are actually distinct types
note: `DurationError` is defined in crate `prost_types`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-types-0.13.0/src/duration.rs:133:1
|
133 | pub enum DurationError {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `DurationError` is defined in crate `prost_types`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-types-0.12.6/src/duration.rs:133:1
|
133 | pub enum DurationError {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `prost_types` are being used?
|
linkerd/service-profiles/src/proto.rs#L238
error[E0308]: mismatched types
--> linkerd/service-profiles/src/proto.rs:238:27
|
238 | ttl: Some(prost_types::Duration {
| ______________________----_^
| | |
| | arguments to this enum variant are incorrect
239 | | seconds,
240 | | nanos,
241 | | }),
| |_________________^ expected `prost_types::protobuf::Duration`, found `prost_types::Duration`
|
= note: `prost_types::Duration` and `prost_types::protobuf::Duration` have similar names, but are actually distinct types
note: `prost_types::Duration` is defined in crate `prost_types`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-types-0.13.0/src/protobuf.rs:1857:1
|
1857 | pub struct Duration {
| ^^^^^^^^^^^^^^^^^^^
note: `prost_types::protobuf::Duration` is defined in crate `prost_types`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-types-0.12.6/src/protobuf.rs:1857:1
|
1857 | pub struct Duration {
| ^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `prost_types` are being used?
help: the type constructed contains `prost_types::Duration` due to the type of the argument passed
--> linkerd/service-profiles/src/proto.rs:238:22
|
238 | ttl: Some(prost_types::Duration {
| _______________________^____-
| | ______________________|
| ||
239 | || seconds,
240 | || nanos,
241 | || }),
| ||_________________-^
| |__________________|
| this argument influences the type of `Some`
note: tuple variant defined here
--> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/option.rs:578:5
|
linkerd/service-profiles/src/proto.rs#L238
error[E0308]: mismatched types
--> linkerd/service-profiles/src/proto.rs:238:27
|
238 | ttl: Some(prost_types::Duration {
| ______________________----_^
| | |
| | arguments to this enum variant are incorrect
239 | | seconds,
240 | | nanos,
241 | | }),
| |_________________^ expected `prost_types::protobuf::Duration`, found `prost_types::Duration`
|
= note: `prost_types::Duration` and `prost_types::protobuf::Duration` have similar names, but are actually distinct types
note: `prost_types::Duration` is defined in crate `prost_types`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-types-0.13.0/src/protobuf.rs:1857:1
|
1857 | pub struct Duration {
| ^^^^^^^^^^^^^^^^^^^
note: `prost_types::protobuf::Duration` is defined in crate `prost_types`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-types-0.12.6/src/protobuf.rs:1857:1
|
1857 | pub struct Duration {
| ^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `prost_types` are being used?
help: the type constructed contains `prost_types::Duration` due to the type of the argument passed
--> linkerd/service-profiles/src/proto.rs:238:22
|
238 | ttl: Some(prost_types::Duration {
| _______________________^____-
| | ______________________|
| ||
239 | || seconds,
240 | || nanos,
241 | || }),
| ||_________________-^
| |__________________|
| this argument influences the type of `Some`
note: tuple variant defined here
--> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/option.rs:578:5
|
|
This job was cancelled
Loading