Skip to content

deps: Update Rust Dependencies #348

deps: Update Rust Dependencies

deps: Update Rust Dependencies #348

GitHub Actions / prod clippy succeeded Aug 15, 2024 in 0s

prod clippy

4 warnings

Details

Results

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

Versions

  • rustc 1.81.0-nightly (59e2c01c2 2024-06-17)
  • cargo 1.81.0-nightly (a1f47ec3f 2024-06-15)
  • clippy 0.1.81 (59e2c01 2024-06-17)

Annotations

Check warning on line 384 in src/client/discord.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

field `name` is never read

warning: field `name` is never read
   --> src/client/discord.rs:384:5
    |
382 | struct DiscordAuthor<'a> {
    |        ------------- field in this struct
383 |     id: u64,
384 |     name: String,
    |     ^^^^

Check warning on line 33 in src/bot/mod.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

method `name` is never used

warning: method `name` is never used
  --> src/bot/mod.rs:33:8
   |
31 | pub(crate) trait User: Send + Sync {
   |                  ---- method in this trait
32 |     fn id(&self) -> u64;
33 |     fn name(&self) -> &str;
   |        ^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 269 in src/bot/alias/command.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader

warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader
   --> src/bot/alias/command.rs:269:21
    |
269 |     let src_image = ImageReader::new(Cursor::new(data))
    |                     ^^^^^^^^^^^

Check warning on line 11 in src/bot/alias/command.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader

warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader
  --> src/bot/alias/command.rs:11:16
   |
11 |     image::io::Reader as ImageReader,
   |                ^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default