From 37e34dad5629bcf7aaf02c93be66a35628a3211d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralph=20K=C3=BCpper?= Date: Mon, 17 Aug 2026 20:00:08 +0200 Subject: [PATCH] fix(runtime): drop the duplicated `use super::*` in release_tests `warnings` is red on main, and it fails the sweep tier's `main-gate`: warning: unused import: `super::*` --> crates/perry-runtime/src/box/release_tests.rs:6:5 The file opens with `use super::*;` twice, four lines apart. #8303 split these tests out of `box.rs` to stay under the 2000-line cap and the import came along in both halves of the move. The second one is redundant, and the job runs with `RUSTFLAGS: -D warnings`, so a redundant import is a build failure. Delete the duplicate. Verified with the job's own condition: `RUSTFLAGS="-D warnings" cargo test -p perry-runtime --lib --no-run` builds clean, where before it emitted the unused-import warning. --- crates/perry-runtime/src/box/release_tests.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/perry-runtime/src/box/release_tests.rs b/crates/perry-runtime/src/box/release_tests.rs index ba8d4c28cd..fc098a96df 100644 --- a/crates/perry-runtime/src/box/release_tests.rs +++ b/crates/perry-runtime/src/box/release_tests.rs @@ -3,8 +3,6 @@ use super::*; -use super::*; - fn install_test_activation(activation: *mut AsyncBoxActivation) -> crate::promise::InlineTrap { crate::promise::INLINE_TRAP.with(|trap| { trap.replace(crate::promise::InlineTrap {