Skip to content

new ci

new ci #1

Triggered via pull request June 9, 2024 10:23
Status Failure
Total duration 40s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
lint: contracts/prudent-pots/src/execute.rs#L24
this function has too many arguments (14/7)
lint: contracts/prudent-pots/src/helpers/game_end.rs#L105
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
lint: contracts/prudent-pots/src/helpers/game_end.rs#L125
`if` chain can be rewritten with `match`
lint: contracts/prudent-pots/src/helpers/game_end.rs#L169
very complex type used. Consider factoring parts into `type` definitions
lint: contracts/prudent-pots/src/helpers/game_end.rs#L194
this expression creates a reference which is immediately dereferenced by the compiler
lint: contracts/prudent-pots/src/helpers/pot.rs#L45
use of `unwrap_or_else` to construct default value
lint: contracts/prudent-pots/src/helpers/pot.rs#L211
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
lint: contracts/prudent-pots/src/helpers/pot.rs#L248
this `.filter_map` can be written more simply using `.filter`
lint: contracts/prudent-pots/src/helpers/validate.rs#L197
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
lint
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
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/
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/
lint
`/home/runner/work/prudent-pots/prudent-pots/.cargo/config` is deprecated in favor of `config.toml`
lint
`/home/runner/work/prudent-pots/prudent-pots/.cargo/config` is deprecated in favor of `config.toml`
lint
profiles for the non root package will be ignored, specify profiles at the workspace root: