Skip to content

Bump clap from 4.5.15 to 4.5.16 #814

Bump clap from 4.5.15 to 4.5.16

Bump clap from 4.5.15 to 4.5.16 #814

GitHub Actions / clippy succeeded Aug 20, 2024 in 0s

clippy

4 warnings

Details

Results

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

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check warning on line 10 in src/database.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

warning: useless use of `vec!`
  --> src/database.rs:10:49
   |
10 |         let cfds: Vec<ColumnFamilyDescriptor> = vec!["timeline", "state"]
   |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `["timeline", "state"]`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
   = note: `-W clippy::useless-vec` implied by `-W clippy::all`
   = help: to override `-W clippy::all` add `#[allow(clippy::useless_vec)]`

Check warning on line 26 in src/twitter/users.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

multiple fields are never read

warning: multiple fields are never read
  --> src/twitter/users.rs:26:5
   |
25 | struct Error {
   |        ----- fields in this struct
26 |     value: String,
   |     ^^^^^
27 |     detail: String,
   |     ^^^^^^
28 |     title: String,
   |     ^^^^^
29 |     resource_type: String,
   |     ^^^^^^^^^^^^^
30 |     parameter: String,
   |     ^^^^^^^^^
31 |     resource_id: String,
   |     ^^^^^^^^^^^
32 |     #[serde(rename(deserialize = "type"))]
33 |     typ: String,
   |     ^^^
   |
   = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

Check warning on line 20 in src/twitter/users.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `name` is never read

warning: field `name` is never read
  --> src/twitter/users.rs:20:5
   |
18 | struct Data {
   |        ---- field in this struct
19 |     id: String,
20 |     name: String,
   |     ^^^^
   |
   = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

Check warning on line 146 in src/twitter/timeline.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

fields `oldest_id`, `newest_id`, and `result_count` are never read

warning: fields `oldest_id`, `newest_id`, and `result_count` are never read
   --> src/twitter/timeline.rs:146:5
    |
145 | struct Meta {
    |        ---- fields in this struct
146 |     oldest_id: Option<String>,
    |     ^^^^^^^^^
147 |     newest_id: Option<String>,
    |     ^^^^^^^^^
148 |     result_count: Option<u8>,
    |     ^^^^^^^^^^^^
    |
    = note: `Meta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
    = note: `#[warn(dead_code)]` on by default