Various Cli-ng fixes #1726
Annotations
7 errors and 24 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 {}
|
|
clippy (true, nightly, -A clippy::uninlined-format-args -A clippy::derivable-impls)
Clippy had exited with the 101 exit code
|
rustfmt (nightly)
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/
|
rustfmt (nightly)
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/
|
rustfmt (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/
|
rustfmt (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/
|
rustfmt (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/
|
rustfmt (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/
|
rustfmt (stable)
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/
|
rustfmt (stable)
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/
|
rustfmt (stable)
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 (stable)
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 (stable)
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 (stable)
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 (true, nightly, -A clippy::uninlined-format-args -A clippy::derivable-impls)
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 (true, nightly, -A clippy::uninlined-format-args -A clippy::derivable-impls)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
clippy (true, nightly, -A clippy::uninlined-format-args -A clippy::derivable-impls)
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 (true, nightly, -A clippy::uninlined-format-args -A clippy::derivable-impls)
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 (true, nightly, -A clippy::uninlined-format-args -A clippy::derivable-impls)
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 (true, nightly, -A clippy::uninlined-format-args -A clippy::derivable-impls)
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 (false)
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 (false)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
clippy (false)
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 (false)
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 (false)
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 (false)
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/
|