Skip to content

price-reporter: Make misc reliability improvements #178

price-reporter: Make misc reliability improvements

price-reporter: Make misc reliability improvements #178

Triggered via push September 4, 2024 01:12
Status Success
Total duration 26s
Artifacts

rustfmt.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 6 warnings
unused `async` for function with no await statements: price-reporter/src/main.rs#L127
error: unused `async` for function with no await statements --> price-reporter/src/main.rs:127:1 | 127 | / async fn init_price_stream( 128 | | base_token: Token, 129 | | quote_token: Token, 130 | | exchange: Exchange, ... | 144 | | Ok(()) 145 | | } | |_^ | = help: consider removing the `async` from this function note: `await` used in an async block, which does not require the enclosing function to be `async` --> price-reporter/src/main.rs:137:95 | 137 | if let Err(e) = streams.get_or_create_price_stream(pair_info.clone(), config.clone()).await | ^^^^^ = 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`
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/