Direct node2 #2289
Annotations
17 errors and 11 warnings
unit (ubuntu-latest)
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
unit (windows-latest)
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
in-cluster (openssl)
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
integration (v1.24)
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
integration (v1.24)
A task was canceled.
|
integration (latest)
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
integration (latest)
A task was canceled.
|
doc
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
doc
The operation was canceled.
|
msrv
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
msrv
A task was canceled.
|
unit (macos-latest)
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
unit (macos-latest)
The operation was canceled.
|
mk8sv
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
mk8sv
A task was canceled.
|
in-cluster (rustls)
Canceling since a higher priority waiting request for 'test-direct-node2' exists
|
in-cluster (rustls)
The operation was canceled.
|
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
|