fix(deps): update rust crate azure_storage to 0.21.0 - autoclosed #5251
Annotations
10 errors and 3 warnings
crates/config/src/lib.rs#L88
error[E0308]: mismatched types
--> crates/config/src/storage.rs:88:22
|
87 | match (&me.location, &other.location) {
| ------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)`
88 | (CloudLocation::Public { account: acc1 }, CloudLocation::Public { account: acc2 })
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CloudLocation`, found `azure_storage::CloudLocation`
|
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
crates/config/src/lib.rs#L88
error[E0308]: mismatched types
--> crates/config/src/storage.rs:88:63
|
87 | match (&me.location, &other.location) {
| ------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)`
88 | (CloudLocation::Public { account: acc1 }, CloudLocation::Public { account: acc2 })
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CloudLocation`, found `azure_storage::CloudLocation`
|
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
crates/config/src/lib.rs#L94
error[E0308]: mismatched types
--> crates/config/src/storage.rs:94:22
|
87 | match (&me.location, &other.location) {
| ------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)`
...
94 | (CloudLocation::China { account: acc1 }, CloudLocation::China { account: acc2 })
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CloudLocation`, found `azure_storage::CloudLocation`
|
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
crates/config/src/lib.rs#L94
error[E0308]: mismatched types
--> crates/config/src/storage.rs:94:62
|
87 | match (&me.location, &other.location) {
| ------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)`
...
94 | (CloudLocation::China { account: acc1 }, CloudLocation::China { account: acc2 })
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CloudLocation`, found `azure_storage::CloudLocation`
|
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
crates/config/src/lib.rs#L101
error[E0308]: mismatched types
--> crates/config/src/storage.rs:101:25
|
87 | match (&me.location, &other.location) {
| ------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)`
...
101 | / CloudLocation::Emulator {
102 | | address: addr1,
103 | | port: port1,
104 | | },
| |_________________________^ expected `CloudLocation`, found `azure_storage::CloudLocation`
|
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
crates/config/src/lib.rs#L105
error[E0308]: mismatched types
--> crates/config/src/storage.rs:105:25
|
87 | match (&me.location, &other.location) {
| ------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)`
...
105 | / CloudLocation::Emulator {
106 | | address: addr2,
107 | | port: port2,
108 | | },
| |_________________________^ expected `CloudLocation`, found `azure_storage::CloudLocation`
|
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
crates/config/src/lib.rs#L91
error[E0308]: mismatched types
--> crates/config/src/storage.rs:91:39
|
91 | me.location = CloudLocation::Public { account: acc2.clone() };
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CloudLocation`, found `azure_storage::CloudLocation`
| |
| expected due to the type of this binding
|
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
crates/config/src/lib.rs#L97
error[E0308]: mismatched types
--> crates/config/src/storage.rs:97:39
|
97 | me.location = CloudLocation::China { account: acc2.clone() };
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CloudLocation`, found `azure_storage::CloudLocation`
| |
| expected due to the type of this binding
|
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
crates/config/src/lib.rs#L110
error[E0308]: mismatched types
--> crates/config/src/storage.rs:110:39
|
110 | me.location = CloudLocation::Emulator {
| _________________________-----------___^
| | |
| | expected due to the type of this binding
111 | | address: addr2.clone(),
112 | | port: *port2,
113 | | };
| |_________________________^ expected `CloudLocation`, found `azure_storage::CloudLocation`
|
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
crates/config/src/lib.rs#L204
error[E0308]: `?` operator has incompatible types
--> crates/config/src/storage.rs:204:31
|
204 | location: to_env_location()?,
| ^^^^^^^^^^^^^^^^^^ expected `CloudLocation`, found `azure_storage::CloudLocation`
|
= note: `?` operator cannot convert from `azure_storage::CloudLocation` to `azure_storage::cloud_location::CloudLocation`
= note: `azure_storage::CloudLocation` and `CloudLocation` have similar names, but are actually distinct types
note: `azure_storage::CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.21.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `CloudLocation` is defined in crate `azure_storage`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_storage-0.20.0/src/cloud_location.rs:7:1
|
7 | pub enum CloudLocation {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `azure_storage` are being used?
|
|
crates/core/src/lib.rs#L87
warning: the following explicit lifetimes could be elided: 'de
--> crates/core/src/serde/duration.rs:87:14
|
87 | impl<'de> serde::de::Visitor<'de> for Visitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
87 - impl<'de> serde::de::Visitor<'de> for Visitor {
87 + impl serde::de::Visitor<'_> for Visitor {
|
|
|
The logs for this run have expired and are no longer available.
Loading