Update unit-tests.yml with cargo clippy #122
Annotations
16 warnings
Test Suite
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, arduino/setup-protoc@v2, 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/.
|
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
Test Suite
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/
|
Test Suite
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/
|
Test Suite
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/
|
Test Suite
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/
|
Test Suite:
exchanges/src/types/direct.rs#L86
useless conversion to the same type: `std::string::String`
|
Test Suite:
exchanges/src/exchanges.rs#L113
literal with an empty format string
|
Test Suite:
exchanges/src/exchanges.rs#L114
literal with an empty format string
|
Test Suite:
exchanges/src/exchanges.rs#L172
unneeded `return` statement
|
Test Suite:
exchanges/src/exchanges.rs#L175
unneeded `return` statement
|
Test Suite
`exchanges` (lib) generated 5 warnings (run `cargo clippy --fix --lib -p exchanges` to apply 5 suggestions)
|
Test Suite:
queues/src/queues.rs#L338
this let-binding has unit value
|
Test Suite:
queues/src/queues.rs#L376
useless use of `format!`
|
Test Suite
`queues` (lib) generated 2 warnings (run `cargo clippy --fix --lib -p queues` to apply 2 suggestions)
|
Test Suite:
ruuster_grpc/src/ruuster_grpc.rs#L16
you should consider adding a `Default` implementation for `RuusterQueuesGrpc`
|