WIP #46
GitHub Actions / clippy
failed
Oct 18, 2023 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c 2023-09-13)
Annotations
Check failure on line 42 in src/app/transfer_action.rs
github-actions / clippy
functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
--> src/app/transfer_action.rs:34:5
|
34 | async fn into_data_processor(
| ^----
| |
| _____`async` because of this
| |
35 | | self,
36 | | items: usize,
37 | | written_sender: watch::Sender<u64>,
... |
41 | | BoxFuture<'static, anyhow::Result<()>>,
42 | | )> {
| |______^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
Check failure on line 262 in src/api/streaming_data_service.rs
github-actions / clippy
functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
--> src/api/streaming_data_service.rs:254:5
|
254 | async fn into_data_processor(
| ^----
| |
| _____`async` because of this
| |
255 | | self,
256 | | items: usize,
257 | | watcher: watch::Sender<u64>,
... |
261 | | BoxFuture<'static, anyhow::Result<()>>,
262 | | )>;
| |_______^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
Loading