Bump dependencies and update versions in Cargo.toml files #167
GitHub Actions / clippy
failed
Aug 18, 2024 in 0s
clippy
3 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 3 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.82.0-nightly (feeba198f 2024-08-17)
- cargo 1.82.0-nightly (ba8b39413 2024-08-16)
- clippy 0.1.82 (feeba19 2024-08-17)
Annotations
Check failure on line 365 in azure-kusto-data/src/connection_string.rs
github-actions / clippy
arguments to this function are incorrect
error[E0308]: arguments to this function are incorrect
--> azure-kusto-data/src/connection_string.rs:365:27
|
365 | } => Arc::new(ClientSecretCredential::new(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
366 | azure_core::new_http_client(),
367 | client_authority,
| ---------------- argument #2 of type `azure_core::Url` is missing
...
370 | TokenCredentialOptions::default(),
| --------------------------------- unexpected argument #5 of type `azure_identity::TokenCredentialOptions`
|
note: associated function defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_identity-0.20.0/src/token_credentials/client_secret_credentials.rs:43:12
|
43 | pub fn new(
| ^^^
help: did you mean
|
365 | } => Arc::new(ClientSecretCredential::new(azure_core::new_http_client(), /* azure_core::Url */, client_id, client_secret, client_authority)),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Check failure on line 351 in azure-kusto-data/src/connection_string.rs
github-actions / clippy
no function or associated item named `default` found for struct `azure_identity::DefaultAzureCredential` in the current scope
error[E0599]: no function or associated item named `default` found for struct `azure_identity::DefaultAzureCredential` in the current scope
--> azure-kusto-data/src/connection_string.rs:351:79
|
351 | ConnectionStringAuth::Default => Arc::new(DefaultAzureCredential::default()),
| ^^^^^^^ function or associated item not found in `DefaultAzureCredential`
|
note: if you're trying to build a new `azure_identity::DefaultAzureCredential`, consider using `azure_identity::DefaultAzureCredential::create` which returns `std::result::Result<azure_identity::DefaultAzureCredential, azure_core::Error>`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_identity-0.20.0/src/token_credentials/default_credentials.rs:256:5
|
256 | pub fn create(options: TokenCredentialOptions) -> azure_core::Result<DefaultAzureCredential> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 14 in azure-kusto-data/src/connection_string.rs
github-actions / clippy
struct `ImdsManagedIdentityCredential` is private
error[E0603]: struct `ImdsManagedIdentityCredential` is private
--> azure-kusto-data/src/connection_string.rs:14:5
|
14 | ImdsManagedIdentityCredential, TokenCredentialOptions,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private struct
|
note: the struct `ImdsManagedIdentityCredential` is defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_identity-0.20.0/src/lib.rs:55:9
|
55 | pub use crate::token_credentials::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^
Loading