Revamp all CI jobs #495
Annotations
7 errors and 8 warnings
check
Process completed with exit code 101.
|
using `map_err` over `inspect_err`:
pallets/communities/src/lib.rs#L155
error: using `map_err` over `inspect_err`
--> pallets/communities/src/lib.rs:155:12
|
155 | #[pallet::pallet]
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
= note: `-D clippy::manual-inspect` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_inspect)]`
help: try
|
155 - #[pallet::pallet]
155 + #[pallet::&inspect_err]
|
|
very complex type used. Consider factoring parts into `type` definitions:
pallets/communities/src/benchmarking.rs#L98
error: very complex type used. Consider factoring parts into `type` definitions
--> pallets/communities/src/benchmarking.rs:98:6
|
98 | ) -> Result<Vec<(AccountIdOf<T>, MembershipIdOf<T>)>, BenchmarkError>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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 warnings`
= help: to override `-D warnings` add `#[allow(clippy::type_complexity)]`
|
duplicated attribute:
pallets/communities/src/benchmarking.rs#L2
error: duplicated attribute
--> pallets/communities/src/benchmarking.rs:2:8
|
2 | #![cfg(feature = "runtime-benchmarks")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first defined here
--> pallets/communities/src/lib.rs:116:7
|
116 | #[cfg(feature = "runtime-benchmarks")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: remove this attribute
--> pallets/communities/src/benchmarking.rs:2:8
|
2 | #![cfg(feature = "runtime-benchmarks")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
= note: `-D clippy::duplicated-attributes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::duplicated_attributes)]`
|
bound is defined in more than one place:
pallets/communities/src/benchmarking.rs#L136
error: bound is defined in more than one place
--> pallets/communities/src/benchmarking.rs:136:1
|
136 | / #[benchmarks(
137 | | where
138 | | T: frame_system::Config + crate::Config,
| | ^
139 | | OriginFor<T>: From<Origin<T>> + From<frame_system::Origin<T>>,
... |
144 | | BlockNumberFor<T>: From<u32>
145 | | )]
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `-D clippy::multiple-bound-locations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::multiple_bound_locations)]`
= note: this error originates in the attribute macro `benchmarks` (in Nightly builds, run with -Z macro-backtrace for more info)
|
clippy
Clippy had exited with the 101 exit code
|
test
Process completed with exit code 101.
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
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/
|
lint
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/
|
lint
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/
|
lint
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/
|
check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|