auth-server: server: Build Server
type as dependency container
#49
GitHub Actions / clippy
failed
Oct 21, 2024 in 1s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0-nightly (3cbb93223 2024-03-13)
- cargo 1.78.0-nightly (7065f0ef4 2024-03-12)
- clippy 0.1.78 (3cbb932 2024-03-13)
Annotations
Check failure on line 123 in price-reporter/src/main.rs
github-actions / clippy
unused `async` for function with no await statements
error: unused `async` for function with no await statements
--> price-reporter/src/main.rs:94:1
|
94 | / async fn init_default_price_streams(
95 | | global_price_streams: &GlobalPriceStreams,
96 | | config: ExchangeConnectionsConfig,
97 | | ) -> Result<(), ServerError> {
... |
122 | | Ok(())
123 | | }
| |_^
|
= help: consider removing the `async` from this function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async
= note: requested on the command line with `-D clippy::unused-async`
Check failure on line 21 in auth-server/src/server/mod.rs
github-actions / clippy
type alias `DbConn` is never used
error: type alias `DbConn` is never used
--> auth-server/src/server/mod.rs:21:10
|
21 | pub type DbConn<'a> = PooledConnection<'a, AsyncDieselConnectionManager<AsyncPgConnection>>;
| ^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Loading