Skip to content

Add proxy Body::collect_bytes for easier unit tests #1230

Add proxy Body::collect_bytes for easier unit tests

Add proxy Body::collect_bytes for easier unit tests #1230

Triggered via pull request April 2, 2024 18:01
Status Success
Total duration 41s
Artifacts

lint.yml

on: pull_request
Matrix: cargo deny
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. 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 `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/
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())] |
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())] |