Bump secrecy
to 0.10
#1541
Annotations
3 errors and 6 warnings
no method named `as_str` found for reference `&str` in the current scope:
kube-client/src/client/auth/oidc.rs#L398
error[E0599]: no method named `as_str` found for reference `&str` in the current scope
--> kube-client/src/client/auth/oidc.rs:398:74
|
398 | ("client_secret", self.client_secret.expose_secret().as_str()),
| ^^^^^^
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:3777:12
|
3777 | fn as_str(&self) -> &str;
| ------ the method is available for `&str` here
|
= help: items from traits can only be used if the trait is in scope
help: trait `Sealed` which provides `as_str` is implemented but not in scope; perhaps you want to import it
|
1 + use http::header::map::as_header_name::Sealed;
|
help: remove this method call
|
398 - ("client_secret", self.client_secret.expose_secret().as_str()),
398 + ("client_secret", self.client_secret.expose_secret()),
|
|
no method named `as_str` found for reference `&str` in the current scope:
kube-client/src/client/auth/oidc.rs#L397
error[E0599]: no method named `as_str` found for reference `&str` in the current scope
--> kube-client/src/client/auth/oidc.rs:397:66
|
397 | ("client_id", self.client_id.expose_secret().as_str()),
| ^^^^^^
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:3777:12
|
3777 | fn as_str(&self) -> &str;
| ------ the method is available for `&str` here
|
= help: items from traits can only be used if the trait is in scope
help: trait `Sealed` which provides `as_str` is implemented but not in scope; perhaps you want to import it
|
1 + use http::header::map::as_header_name::Sealed;
|
help: remove this method call
|
397 - ("client_id", self.client_id.expose_secret().as_str()),
397 + ("client_id", self.client_id.expose_secret()),
|
|
mismatched types:
kube-client/src/client/auth/oidc.rs#L190
error[E0308]: mismatched types
--> kube-client/src/client/auth/oidc.rs:190:23
|
190 | return Ok(self.id_token.expose_secret().clone());
| -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^
| | | |
| | | help: try using a conversion method: `to_string`
| | expected `String`, found `&str`
| arguments to this enum variant are incorrect
|
help: the type constructed contains `&str` due to the type of the argument passed
--> kube-client/src/client/auth/oidc.rs:190:20
|
190 | return Ok(self.id_token.expose_secret().clone());
| ^^^-------------------------------------^
| |
| this argument influences the type of `Ok`
note: tuple variant defined here
--> /rustc/6c6d210089e4589afee37271862b9f88ba1d7755/library/core/src/result.rs:531:5
|
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1.0.7. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
rustfmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1.0.7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|