handle reachout #301
Annotations
1 error and 6 warnings
coverage
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
|
variables can be used directly in the `format!` string:
bin/bot/src/discord/slash/surveys.rs#L152
warning: variables can be used directly in the `format!` string
--> bin/bot/src/discord/slash/surveys.rs:152:21
|
152 | format!("survey_submit:{}", id),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
|
152 - format!("survey_submit:{}", id),
152 + format!("survey_submit:{id}"),
|
|
unused import: `futures::StreamExt`:
bin/bot/src/discord/handler/mod.rs#L10
warning: unused import: `futures::StreamExt`
--> bin/bot/src/discord/handler/mod.rs:10:5
|
10 | futures::StreamExt,
| ^^^^^^^^^^^^^^^^^^
|
unused import: `GUILD`:
bin/bot/src/discord/handler/mod.rs#L17
warning: unused import: `GUILD`
--> bin/bot/src/discord/handler/mod.rs:17:5
|
17 | GUILD,
| ^^^^^
|
unused imports: `CreateActionRow`, `CreateButton`, `CreateMessage`:
bin/bot/src/discord/handler/mod.rs#L6
warning: unused imports: `CreateActionRow`, `CreateButton`, `CreateMessage`
--> bin/bot/src/discord/handler/mod.rs:6:9
|
6 | CreateActionRow, CreateButton, CreateInteractionResponse, CreateInteractionResponseMessage,
| ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^
7 | CreateMessage,
| ^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/cargo@v1, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|