Skip to content

wip action

wip action #3978

Triggered via push January 14, 2024 01:04
Status Success
Total duration 9m 46s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified: bin/nanocld/src/objects/generic/mod.rs#L22
warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified --> bin/nanocld/src/objects/generic/mod.rs:22:3 | 22 | async fn fn_action( | ^^^^^ | = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` = note: `#[warn(async_fn_in_trait)]` on by default help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change | 22 ~ fn fn_action( 23 | &self, 24 | state: &SystemState, 25 ~ ) -> impl std::future::Future<Output = HttpResult<Self::StateActionOut>> + Send; |
use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified: bin/nanocld/src/objects/generic/mod.rs#L22
warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified --> bin/nanocld/src/objects/generic/mod.rs:22:3 | 22 | async fn fn_action( | ^^^^^ | = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` = note: `#[warn(async_fn_in_trait)]` on by default help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change | 22 ~ fn fn_action( 23 | &self, 24 | state: &SystemState, 25 ~ ) -> impl std::future::Future<Output = HttpResult<Self::StateActionOut>> + Send; |