Skip to content

Implement derive(ValidateSchema) macro for generating cel validation on CRDs #3575

Implement derive(ValidateSchema) macro for generating cel validation on CRDs

Implement derive(ValidateSchema) macro for generating cel validation on CRDs #3575

Triggered via pull request December 1, 2024 15:37
Status Success
Total duration 1m 1s
Artifacts

clippy.yml

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

Annotations

6 warnings
unused imports: `FromAttributes`, `IdentString`, `NestedMeta`, `path_to_string`, `self`, and `self`: kube-derive/src/custom_resource.rs#L4
warning: unused imports: `FromAttributes`, `IdentString`, `NestedMeta`, `path_to_string`, `self`, and `self` --> kube-derive/src/custom_resource.rs:4:11 | 4 | ast::{self, NestedMeta}, | ^^^^ ^^^^^^^^^^ 5 | util::{self, path_to_string, IdentString}, | ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ 6 | FromAttributes, FromDeriveInput, FromField, FromMeta, | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused imports: `Attribute`, `DataStruct`, `FieldsNamed`, `Type`, and `parse::Parser as _`: kube-derive/src/custom_resource.rs#L11
warning: unused imports: `Attribute`, `DataStruct`, `FieldsNamed`, `Type`, and `parse::Parser as _` --> kube-derive/src/custom_resource.rs:11:5 | 11 | parse::Parser as _, parse_quote, spanned::Spanned, Attribute, Data, DataStruct, DeriveInput, Expr, | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ 12 | FieldsNamed, Path, Type, Visibility, | ^^^^^^^^^^^ ^^^^
unused import: `spanned::Spanned`: kube-derive/src/custom_resource.rs#L11
warning: unused import: `spanned::Spanned` --> kube-derive/src/custom_resource.rs:11:38 | 11 | parse::Parser as _, parse_quote, spanned::Spanned, Attribute, Data, DataStruct, DeriveInput, Expr, | ^^^^^^^^^^^^^^^^
unused imports: `FromAttributes`, `IdentString`, `NestedMeta`, `path_to_string`, `self`, and `self`: kube-derive/src/custom_resource.rs#L4
warning: unused imports: `FromAttributes`, `IdentString`, `NestedMeta`, `path_to_string`, `self`, and `self` --> kube-derive/src/custom_resource.rs:4:11 | 4 | ast::{self, NestedMeta}, | ^^^^ ^^^^^^^^^^ 5 | util::{self, path_to_string, IdentString}, | ^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ 6 | FromAttributes, FromDeriveInput, FromField, FromMeta, | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused imports: `Attribute`, `DataStruct`, `FieldsNamed`, `Type`, and `parse::Parser as _`: kube-derive/src/custom_resource.rs#L11
warning: unused imports: `Attribute`, `DataStruct`, `FieldsNamed`, `Type`, and `parse::Parser as _` --> kube-derive/src/custom_resource.rs:11:5 | 11 | parse::Parser as _, parse_quote, spanned::Spanned, Attribute, Data, DataStruct, DeriveInput, Expr, | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ 12 | FieldsNamed, Path, Type, Visibility, | ^^^^^^^^^^^ ^^^^
unused import: `spanned::Spanned`: kube-derive/src/custom_resource.rs#L11
warning: unused import: `spanned::Spanned` --> kube-derive/src/custom_resource.rs:11:38 | 11 | parse::Parser as _, parse_quote, spanned::Spanned, Attribute, Data, DataStruct, DeriveInput, Expr, | ^^^^^^^^^^^^^^^^