diff --git a/crates/cuddle-ci/src/rust_service/cargo_clean.rs b/crates/cuddle-ci/src/rust_service/cargo_clean.rs index ee62689..7b25dd0 100644 --- a/crates/cuddle-ci/src/rust_service/cargo_clean.rs +++ b/crates/cuddle-ci/src/rust_service/cargo_clean.rs @@ -1,3 +1,4 @@ +use async_trait::async_trait; use dagger_sdk::Container; use crate::dagger_middleware::DaggerMiddleware; @@ -12,6 +13,7 @@ impl CargoClean { } } +#[async_trait] impl DaggerMiddleware for CargoClean { async fn handle(&self, container: Container) -> eyre::Result { Ok(container.with_exec(vec!["cargo", "clean"]))