refac(pallets/subspace): making code more robust #134
Annotations
10 errors and 4 warnings
check
Unable to create clippy annotations! Reason: HttpError: Resource not accessible by integration
|
check:
pallets/subspace/src/profit_share.rs#L30
returning the result of a `let` binding from a block
|
check:
pallets/subspace/src/profit_share.rs#L47
explicit call to `.into_iter()` in function argument accepting `IntoIterator`
|
check:
pallets/subspace/src/step.rs#L146
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
|
check:
pallets/subspace/src/step.rs#L147
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
|
check:
pallets/subspace/src/step.rs#L168
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
|
check:
pallets/subspace/src/step.rs#L169
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
|
check:
pallets/subspace/src/step.rs#L173
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
|
check:
pallets/subspace/src/step.rs#L287
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
|
check:
pallets/subspace/src/step.rs#L288
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
|
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/cargo@v1, arduino/setup-protoc@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@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/
|
check
It seems that this Action is executed from the forked repository.
|
check
GitHub Actions are not allowed to create Check annotations, when executed for a forked repos. See https://github.com/actions-rs/clippy-check/issues/2 for details.
|