diff --git a/core/container/src/runtime.rs b/core/container/src/runtime.rs index 964f0c19..46b2719b 100644 --- a/core/container/src/runtime.rs +++ b/core/container/src/runtime.rs @@ -38,6 +38,10 @@ pub fn stop_grace_secs_for(container_name: &str) -> u64 { } } +// Rust 1.99 treats the boxed Future generated by async-trait as must-use and +// also sees the macro's own must-use marker. Keep the compatibility allowance +// scoped to this generated trait surface; callers still cannot ignore Result. +#[allow(clippy::double_must_use)] #[async_trait] pub trait ContainerRuntime: Send + Sync { /// CLI used for offline app provisioning in this runtime's storage scope.