Skip to content

typo

typo #308

Triggered via push June 20, 2024 08:29
Status Failure
Total duration 2m 47s
Artifacts

coverage.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 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}"), |
methods `desc`, `args`, and `to_openai` are never used: bin/bot/src/discord/handler/brain/functions/mod.rs#L10
warning: methods `desc`, `args`, and `to_openai` are never used --> bin/bot/src/discord/handler/brain/functions/mod.rs:10:8 | 8 | pub trait BrainFunction: 'static + Send + Sync { | ------------- methods in this trait 9 | fn name(&self) -> &'static str; 10 | fn desc(&self) -> &'static str; | ^^^^ 11 | fn args(&self) -> serde_json::Value; | ^^^^ ... 14 | fn to_openai(&self) -> ChatCompletionFunctions { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
unused import: `futures::StreamExt`: bin/bot/src/discord/handler/mod.rs#L11
warning: unused import: `futures::StreamExt` --> bin/bot/src/discord/handler/mod.rs:11:5 | 11 | futures::StreamExt, | ^^^^^^^^^^^^^^^^^^
unused import: `GUILD`: bin/bot/src/discord/handler/mod.rs#L18
warning: unused import: `GUILD` --> bin/bot/src/discord/handler/mod.rs:18:5 | 18 | GUILD, | ^^^^^
unused imports: `CreateActionRow`, `CreateButton`, `CreateMessage`: bin/bot/src/discord/handler/mod.rs#L7
warning: unused imports: `CreateActionRow`, `CreateButton`, `CreateMessage` --> bin/bot/src/discord/handler/mod.rs:7:9 | 7 | CreateActionRow, CreateButton, CreateInteractionResponse, CreateInteractionResponseMessage, | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ 8 | CreateMessage, | ^^^^^^^^^^^^^
unused import: `bootstrap::format`: bin/bot/src/discord/handler/mod.rs#L3
warning: unused import: `bootstrap::format` --> bin/bot/src/discord/handler/mod.rs:3:5 | 3 | use bootstrap::format; | ^^^^^^^^^^^^^^^^^ | = 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/