Skip to content

runtime: rename references from Flatten to Filter where necessary #3262

runtime: rename references from Flatten to Filter where necessary

runtime: rename references from Flatten to Filter where necessary #3262

Triggered via pull request June 15, 2024 22:06
@cluxclux
synchronize #1520
flatten-rename
Status Success
Total duration 59s
Artifacts

clippy.yml

on: pull_request
clippy_nightly
49s
clippy_nightly
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
unused import: `stream::Stream`: kube-client/src/client/body.rs#L9
warning: unused import: `stream::Stream` --> kube-client/src/client/body.rs:9:15 | 9 | use futures::{stream::Stream, TryStreamExt}; | ^^^^^^^^^^^^^^
unused import: `TryStreamExt`: kube-client/src/client/body.rs#L9
warning: unused import: `TryStreamExt` --> kube-client/src/client/body.rs:9:31 | 9 | use futures::{stream::Stream, TryStreamExt}; | ^^^^^^^^^^^^
use of deprecated method `hyper_rustls::HttpsConnectorBuilder::<hyper_rustls::builderstates::WantsProtocols1>::with_server_name`: use Self::with_server_name_resolver with FixedServerNameResolver instead: kube-client/src/client/config_ext.rs#L236
warning: use of deprecated method `hyper_rustls::HttpsConnectorBuilder::<hyper_rustls::builderstates::WantsProtocols1>::with_server_name`: use Self::with_server_name_resolver with FixedServerNameResolver instead --> kube-client/src/client/config_ext.rs:236:31 | 236 | builder = builder.with_server_name(tsn.clone()); | ^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
unused import: `BodyStream`: kube-client/src/client/body.rs#L11
warning: unused import: `BodyStream` --> kube-client/src/client/body.rs:11:59 | 11 | use http_body_util::{combinators::UnsyncBoxBody, BodyExt, BodyStream}; | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
doc list item missing indentation: kube-derive/src/lib.rs#L219
warning: doc list item missing indentation --> kube-derive/src/lib.rs:219:5 | 219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs)) | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[warn(clippy::doc_lazy_continuation)]` on by default help: indent this line | 219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs)) | ++
if let can be simplified with `.unwrap_or_default()`: kube-derive/src/custom_resource.rs#L33
warning: if let can be simplified with `.unwrap_or_default()` --> kube-derive/src/custom_resource.rs:33:15 | 33 | #[darling(default)] | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default help: replace it with | 33 ~ #[darling(default)] 34 ~ crates.unwrap_or_default())] |
if let can be simplified with `.unwrap_or_default()`: kube-derive/src/custom_resource.rs#L20
warning: if let can be simplified with `.unwrap_or_default()` --> kube-derive/src/custom_resource.rs:20:15 | 20 | #[darling(default)] | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default help: replace it with | 20 ~ #[darling(default)] 21 ~ namespaced.unwrap_or_default())] |
doc list item missing indentation: kube-derive/src/lib.rs#L219
warning: doc list item missing indentation --> kube-derive/src/lib.rs:219:5 | 219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs)) | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[warn(clippy::doc_lazy_continuation)]` on by default help: indent this line | 219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs)) | ++
if let can be simplified with `.unwrap_or_default()`: kube-derive/src/custom_resource.rs#L33
warning: if let can be simplified with `.unwrap_or_default()` --> kube-derive/src/custom_resource.rs:33:15 | 33 | #[darling(default)] | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default help: replace it with | 33 ~ #[darling(default)] 34 ~ crates.unwrap_or_default())] |
if let can be simplified with `.unwrap_or_default()`: kube-derive/src/custom_resource.rs#L20
warning: if let can be simplified with `.unwrap_or_default()` --> kube-derive/src/custom_resource.rs:20:15 | 20 | #[darling(default)] | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default help: replace it with | 20 ~ #[darling(default)] 21 ~ namespaced.unwrap_or_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/