Skip to content

feat: openapiv3 cli-ng codegen #1704

feat: openapiv3 cli-ng codegen

feat: openapiv3 cli-ng codegen #1704

Triggered via pull request October 21, 2024 00:06
Status Success
Total duration 5m 22s
Artifacts

cicd.yml

on: pull_request
Matrix: build_and_test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 12 warnings
the following explicit lifetimes could be elided: 'a: core/src/v2/schema.rs#L531
error: the following explicit lifetimes could be elided: 'a --> core/src/v2/schema.rs:531:6 | 531 | impl<'a, T: Apiv2Schema> Apiv2Schema for &'a [T] { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 531 - impl<'a, T: Apiv2Schema> Apiv2Schema for &'a [T] { 531 + impl<T: Apiv2Schema> Apiv2Schema for &[T] { |
the following explicit lifetimes could be elided: 'a: core/src/v2/schema.rs#L185
error: the following explicit lifetimes could be elided: 'a --> core/src/v2/schema.rs:185:6 | 185 | impl<'a, T: TypedData> TypedData for &'a T { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 185 - impl<'a, T: TypedData> TypedData for &'a T { 185 + impl<T: TypedData> TypedData for &T { |
the following explicit lifetimes could be elided: 'a: core/src/v2/schema.rs#L179
error: the following explicit lifetimes could be elided: 'a --> core/src/v2/schema.rs:179:6 | 179 | impl<'a> TypedData for &'a str { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 179 - impl<'a> TypedData for &'a str { 179 + impl TypedData for &str { |
the following explicit lifetimes could be elided: 'de: core/src/v2/extensions.rs#L160
error: the following explicit lifetimes could be elided: 'de --> core/src/v2/extensions.rs:160:14 | 160 | impl<'de> serde::de::Visitor<'de> for Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 160 - impl<'de> serde::de::Visitor<'de> for Visitor { 160 + impl serde::de::Visitor<'_> for Visitor { |
the following explicit lifetimes could be elided: 'a: core/src/v2/actix.rs#L258
error: the following explicit lifetimes could be elided: 'a --> core/src/v2/actix.rs:258:10 | 258 | impl<'a, T: OperationModifier> OperationModifier for &'a [T] {} | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 258 - impl<'a, T: OperationModifier> OperationModifier for &'a [T] {} 258 + impl<T: OperationModifier> OperationModifier for &[T] {} |
the following explicit lifetimes could be elided: 'a: core/src/v2/actix.rs#L257
error: the following explicit lifetimes could be elided: 'a --> core/src/v2/actix.rs:257:10 | 257 | impl<'a> OperationModifier for &'a str {} | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-D clippy::needless-lifetimes` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 257 - impl<'a> OperationModifier for &'a str {} 257 + impl OperationModifier for &str {} |
very complex type used. Consider factoring parts into `type` definitions: cli-ng/src/v3/templates/mod.rs#L209
error: very complex type used. Consider factoring parts into `type` definitions --> cli-ng/src/v3/templates/mod.rs:209:6 | 209 | ) -> Result< | ______^ 210 | | ( 211 | | Vec<ApiTemplateFile>, 212 | | Vec<ModelTemplateFile>, ... | 215 | | std::io::Error, 216 | | > { | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `-D clippy::type-complexity` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::type_complexity)]`
very complex type used. Consider factoring parts into `type` definitions: cli-ng/src/v3/templates/mod.rs#L209
error: very complex type used. Consider factoring parts into `type` definitions --> cli-ng/src/v3/templates/mod.rs:209:6 | 209 | ) -> Result< | ______^ 210 | | ( 211 | | Vec<ApiTemplateFile>, 212 | | Vec<ModelTemplateFile>, ... | 215 | | std::io::Error, 216 | | > { | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `-D clippy::type-complexity` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::type_complexity)]`
nightly - x86_64-unknown-linux-gnu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
nightly - x86_64-unknown-linux-gnu
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
nightly - x86_64-unknown-linux-gnu
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/
nightly - x86_64-unknown-linux-gnu
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/
nightly - x86_64-unknown-linux-gnu
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/
nightly - x86_64-unknown-linux-gnu
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/
stable - x86_64-unknown-linux-gnu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
stable - x86_64-unknown-linux-gnu
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
stable - x86_64-unknown-linux-gnu
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/
stable - x86_64-unknown-linux-gnu
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/
stable - x86_64-unknown-linux-gnu
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/
stable - x86_64-unknown-linux-gnu
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/