Workspacify deps #3072
Annotations
17 warnings
unused import: `ObjectMeta`:
kube-runtime/src/reflector/object_ref.rs#L5
warning: unused import: `ObjectMeta`
--> kube-runtime/src/reflector/object_ref.rs:5:44
|
5 | core::{api_version_from_group_version, ObjectMeta},
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
item has both inner and outer attributes:
kube-runtime/src/events.rs#L248
warning: item has both inner and outer attributes
--> kube-runtime/src/events.rs:248:1
|
248 | / #[cfg(test)]
249 | | mod test {
250 | | #![allow(unused_imports)]
| |_____________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
= note: `#[warn(clippy::mixed_attributes_style)]` on by default
|
assigning the result of `Clone::clone()` may be inefficient:
kube-client/src/api/entry.rs#L230
warning: assigning the result of `Clone::clone()` may be inefficient
--> kube-client/src/api/entry.rs:230:26
|
230 | ns @ None => *ns = self.api.namespace.clone(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `ns.clone_from(&self.api.namespace)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
= note: `#[warn(clippy::assigning_clones)]` on by default
|
use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead:
kube-client/src/client/auth/mod.rs#L413
warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead
--> kube-client/src/client/auth/mod.rs:413:39
|
413 | if Utc::now() + Duration::seconds(60) < expiry_date {
| ^^^^^^^
|
use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead:
kube-client/src/client/auth/mod.rs#L156
warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead
--> kube-client/src/client/auth/mod.rs:156:54
|
156 | self.expires_at = Utc::now() + Duration::seconds(60);
| ^^^^^^^
|
use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead:
kube-client/src/client/auth/mod.rs#L138
warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead
--> kube-client/src/client/auth/mod.rs:138:32
|
138 | Utc::now() + Duration::seconds(10) > self.expires_at
| ^^^^^^^
|
use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead:
kube-client/src/client/auth/mod.rs#L133
warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead
--> kube-client/src/client/auth/mod.rs:133:48
|
133 | expires_at: Utc::now() + Duration::seconds(60),
| ^^^^^^^
|
use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead:
kube-client/src/client/auth/oidc.rs#L169
warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead
--> kube-client/src/client/auth/oidc.rs:169:44
|
169 | let valid = Utc::now() + Duration::seconds(Self::EXPIRY_DELTA_SECONDS) < timestamp;
| ^^^^^^^
|
use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead:
kube-client/src/client/auth/mod.rs#L208
warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead
--> kube-client/src/client/auth/mod.rs:208:43
|
208 | if Utc::now() + Duration::seconds(60) >= locked_data.1 {
| ^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unused import: `StatusCode`:
kube-client/src/client/mod.rs#L12
warning: unused import: `StatusCode`
--> kube-client/src/client/mod.rs:12:37
|
12 | use http::{self, Request, Response, StatusCode};
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
item has both inner and outer attributes:
kube-client/src/lib.rs#L130
warning: item has both inner and outer attributes
--> kube-client/src/lib.rs:130:1
|
130 | / #[cfg(all(feature = "client", feature = "config"))]
131 | | #[cfg(test)]
132 | | mod test {
133 | | #![allow(unused_imports)]
| |_____________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
= note: `#[warn(clippy::mixed_attributes_style)]` on by default
|
clippy_nightly
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy_nightly
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_nightly
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/
|
clippy_nightly
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/
|
clippy_nightly
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/
|
clippy_nightly
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/
|