You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: this async expression only awaits a single future [314](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:315) --> server/src/connection.rs:69:26 [315](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:316) | [316](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:317) 69 | tokio::spawn(async move { write_message(cancel_token, rx, self.writer).await }); [317](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:318) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: write_message(cancel_token, rx, self.writer)[318](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:319) | [319](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:320) = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_async_block [320](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:321) = note:-D clippy::redundant-async-blockimplied by-D warnings` 321
322
error: this async expression only awaits a single future 323
--> server/src/api/server.rs:65:41 324
| 325
65 | .with_graceful_shutdown(async move { cancel_token.cancelled().await }); 326
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: cancel_token.cancelled() 327
| 328
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_async_block 329
330
error: could not compile stratum-server (lib) due to 2 previous errors`
The text was updated successfully, but these errors were encountered:
error: this async expression only awaits a single future [314](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:315) --> server/src/connection.rs:69:26 [315](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:316) | [316](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:317) 69 | tokio::spawn(async move { write_message(cancel_token, rx, self.writer).await }); [317](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:318) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to:
write_message(cancel_token, rx, self.writer)[318](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:319) | [319](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:320) = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_async_block [320](https://github.com/OpenPoolProject/stratum/actions/runs/4404426106/jobs/7714018855#step:9:321) = note:
-D clippy::redundant-async-blockimplied by
-D warnings`321
322
error: this async expression only awaits a single future
323
--> server/src/api/server.rs:65:41
324
|
325
65 | .with_graceful_shutdown(async move { cancel_token.cancelled().await });
326
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to:
cancel_token.cancelled()
327
|
328
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_async_block
329
330
error: could not compile
stratum-server
(lib) due to 2 previous errors`The text was updated successfully, but these errors were encountered: