From 48c13adaca99ff63106726ffcfe553dff230efbe Mon Sep 17 00:00:00 2001 From: archipelago Date: Fri, 9 Oct 2026 08:32:57 -0400 Subject: [PATCH] fix: allow async-trait must-use compatibility lint --- core/container/src/runtime.rs | 4 ++++ 1 file changed, 4 insertions(+) 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.