Skip to content

fix(deps): update rust crate azure_storage to 0.21.0 - autoclosed #738

fix(deps): update rust crate azure_storage to 0.21.0 - autoclosed

fix(deps): update rust crate azure_storage to 0.21.0 - autoclosed #738

Triggered via pull request July 16, 2024 22:46
Status Failure
Total duration 2m 6s
Artifacts

CI.yaml

on: pull_request
`cargo deny`
18s
`cargo deny`
Report Missing Dependencies
12s
Report Missing Dependencies
Nix Build
0s
Nix Build
Clippy
21s
Clippy
Matrix: rust
Fit to window
Zoom out
Zoom in

Annotations

21 errors
`?` operator has incompatible types: src/lib.rs#L66
error[E0308]: `?` operator has incompatible types --> src/config/storage.rs:66:31 | 66 | 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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
mismatched types: src/lib.rs#L165
error[E0308]: mismatched types --> src/config/storage.rs:165:10 | 164 | match (&config.location, &right.location) { | ----------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)` 165 | (CloudLocation::Public { account: acc1 }, CloudLocation::Public { account: acc2 }) if acc1 != 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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
mismatched types: src/lib.rs#L165
error[E0308]: mismatched types --> src/config/storage.rs:165:51 | 164 | match (&config.location, &right.location) { | ----------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)` 165 | (CloudLocation::Public { account: acc1 }, CloudLocation::Public { account: acc2 }) if acc1 != 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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
mismatched types: src/lib.rs#L169
error[E0308]: mismatched types --> src/config/storage.rs:169:10 | 164 | match (&config.location, &right.location) { | ----------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)` ... 169 | (CloudLocation::China { account: acc1 }, CloudLocation::China { account: acc2 }) if acc1 != 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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
mismatched types: src/lib.rs#L169
error[E0308]: mismatched types --> src/config/storage.rs:169:50 | 164 | match (&config.location, &right.location) { | ----------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)` ... 169 | (CloudLocation::China { account: acc1 }, CloudLocation::China { account: acc2 }) if acc1 != 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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
mismatched types: src/lib.rs#L174
error[E0308]: mismatched types --> src/config/storage.rs:174:13 | 164 | match (&config.location, &right.location) { | ----------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)` ... 174 | / CloudLocation::Emulator { 175 | | address: addr1, 176 | | port: port1, 177 | | }, | |_____________^ 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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
mismatched types: src/lib.rs#L178
error[E0308]: mismatched types --> src/config/storage.rs:178:13 | 164 | match (&config.location, &right.location) { | ----------------------------------- this expression has type `(&azure_storage::cloud_location::CloudLocation, &azure_storage::cloud_location::CloudLocation)` ... 178 | / CloudLocation::Emulator { 179 | | address: addr2, 180 | | port: port2, 181 | | }, | |_____________^ 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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
mismatched types: src/lib.rs#L166
error[E0308]: mismatched types --> src/config/storage.rs:166:31 | 166 | config.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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
mismatched types: src/lib.rs#L170
error[E0308]: mismatched types --> src/config/storage.rs:170:31 | 170 | config.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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
mismatched types: src/lib.rs#L183
error[E0308]: mismatched types --> src/config/storage.rs:183:31 | 183 | config.location = CloudLocation::Emulator { | _____________---------------___^ | | | | | expected due to the type of this binding 184 | | address: addr2.clone(), 185 | | port: *port2, 186 | | }; | |_____________^ 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.20.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.19.0/src/cloud_location.rs:8:1 | 8 | pub enum CloudLocation { | ^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `azure_storage` are being used?
Rust CI (macOS (x86_64), Rust stable)
Process completed with exit code 101.
Rust CI (Linux (x86_64), Rust stable)
The job was canceled because "macos-latest_stable" failed.
Rust CI (Linux (x86_64), Rust stable)
The operation was canceled.
Rust CI (Windows, Rust nightly)
The job was canceled because "macos-latest_stable" failed.
Rust CI (Windows, Rust nightly)
The operation was canceled.
Rust CI (macOS (x86_64), Rust nightly)
The job was canceled because "macos-latest_stable" failed.
Rust CI (macOS (x86_64), Rust nightly)
The operation was canceled.
Rust CI (Linux (x86_64), Rust nightly)
The job was canceled because "macos-latest_stable" failed.
Rust CI (Linux (x86_64), Rust nightly)
The operation was canceled.
Rust CI (Windows, Rust stable)
The job was canceled because "macos-latest_stable" failed.
Rust CI (Windows, Rust stable)
The operation was canceled.