Skip to content

Merge pull request #18 from wilt00/update-sqlx #21

Merge pull request #18 from wilt00/update-sqlx

Merge pull request #18 from wilt00/update-sqlx #21

GitHub Actions / Clippy Output succeeded Dec 2, 2023 in 0s

Clippy Output

6 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 6
Note 0
Help 0

Versions

  • rustc 1.76.0-nightly (8c2b57721 2023-12-01)
  • cargo 1.76.0-nightly (26333c732 2023-11-28)
  • clippy 0.1.76 (8c2b577 2023-12-01)

Annotations

Check warning on line 9 in scripty_commands/src/cmds/admin/shutdown.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

unused variable: `guild_id`

warning: unused variable: `guild_id`
 --> scripty_commands/src/cmds/admin/shutdown.rs:9:7
  |
9 |     for (guild_id, call) in songbird.iter() {
  |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id`

Check warning on line 5 in scripty_commands/src/cmds/admin/shutdown.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

unused variable: `msg`

warning: unused variable: `msg`
 --> scripty_commands/src/cmds/admin/shutdown.rs:5:6
  |
5 |     let msg = ctx.say("shutting down").await?;
  |         ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
  |
  = note: `#[warn(unused_variables)]` on by default

Check warning on line 42 in scripty_audio_handler/src/events/voice_tick.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

this function has too many arguments (11/7)

warning: this function has too many arguments (11/7)
  --> scripty_audio_handler/src/events/voice_tick.rs:30:1
   |
30 | / pub async fn voice_tick(
31 | |     voice_data: VoiceTick,
32 | |     ssrc_state: Arc<SsrcMaps>,
33 | |     guild_id: GuildId,
...  |
41 | |     auto_detect_lang: Arc<AtomicBool>,
42 | | ) {
   | |_^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

Check warning on line 27 in scripty_audio_handler/src/events/driver_disconnect.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

this function has too many arguments (9/7)

warning: this function has too many arguments (9/7)
  --> scripty_audio_handler/src/events/driver_disconnect.rs:17:1
   |
17 | / pub async fn driver_disconnect(
18 | |     guild_id: GuildId,
19 | |     reason: Option<DisconnectReason>,
20 | |     ctx: Context,
...  |
26 | |     seen_users: SeenUsers,
27 | | ) {
   | |_^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

Check warning on line 78 in scripty_audio_handler/src/audio_handler.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

this function has too many arguments (8/7)

warning: this function has too many arguments (8/7)
  --> scripty_audio_handler/src/audio_handler.rs:69:2
   |
69 | /     pub async fn new(
70 | |         guild_id: GuildId,
71 | |         webhook: Webhook,
72 | |         context: Context,
...  |
77 | |         automod_server_cfg: AutomodServerConfig,
78 | |     ) -> Result<Self, sqlx::Error> {
   | |__________________________________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
   = note: `#[warn(clippy::too_many_arguments)]` on by default

Check warning on line 82 in scripty_automod/src/types.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

this function has too many arguments (8/7)

warning: this function has too many arguments (8/7)
  --> scripty_automod/src/types.rs:73:2
   |
73 | /     pub fn new(
74 | |         guild_id: u64,
75 | |         internal_id: i32,
76 | |         enabled: bool,
...  |
81 | |         auto_join_voice: bool,
82 | |     ) -> Self {
   | |_____________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
   = note: `#[warn(clippy::too_many_arguments)]` on by default