Skip to content

ci: Enable ci builds #20

ci: Enable ci builds

ci: Enable ci builds #20

GitHub Actions / clippy succeeded Mar 25, 2024 in 1s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.78.0-beta.2 (277d06bc9 2024-03-23)
  • cargo 1.78.0-beta.2 (2fe739fcf 2024-03-15)
  • clippy 0.1.78 (277d06b 2024-03-23)

Annotations

Check warning on line 10 in src/store/s3_store.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you should consider adding a `Default` implementation for `S3Store`

warning: you should consider adding a `Default` implementation for `S3Store`
  --> src/store/s3_store.rs:8:5
   |
8  | /     pub fn new() -> Self {
9  | |         Self {}
10 | |     }
   | |_____^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
   = note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
   |
7  + impl Default for S3Store {
8  +     fn default() -> Self {
9  +         Self::new()
10 +     }
11 + }
   |

Check warning on line 8 in src/core/server.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `store` is never read

warning: field `store` is never read
 --> src/core/server.rs:8:5
  |
7 | pub struct Server {
  |            ------ field in this struct
8 |     store: Arc<dyn StoreService>,
  |     ^^^^^
  |
  = note: `#[warn(dead_code)]` on by default