Skip to content

auth-server: server: Build Server type as dependency container #205

auth-server: server: Build Server type as dependency container

auth-server: server: Build Server type as dependency container #205

Triggered via push October 21, 2024 22:00
Status Success
Total duration 42s
Artifacts

rustfmt.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
unused `async` for function with no await statements: price-reporter/src/main.rs#L94
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`
type alias `DbConn` is never used: auth-server/src/server/mod.rs#L21
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)]`
format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/