From 6d457aa5e9a025c1f7f26eb2ca0bebfba2bc67de Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Fri, 27 Nov 2026 23:00:30 -0800 Subject: [PATCH] Tests: the Scripts menu tests import Duration again main does not compile its ui-egui tests: crates/ui-egui/src/tests/scripts_menu.rs uses Duration at lines 37, 320 and 324 without importing it (error E0433, "cannot find type `Duration`"). #9816 removed the `use std::time::Duration;` line when its own uses went away, and a354d09af4, merged at about the same time, added new uses of Duration in the same file. Each passed CI on its own head; the two together do not build. --- crates/ui-egui/src/tests/scripts_menu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ui-egui/src/tests/scripts_menu.rs b/crates/ui-egui/src/tests/scripts_menu.rs index 4ff41ffb29..8eb920044e 100644 --- a/crates/ui-egui/src/tests/scripts_menu.rs +++ b/crates/ui-egui/src/tests/scripts_menu.rs @@ -3,6 +3,7 @@ //! is gone, the notes and the reads of the folder. use std::sync::Arc; +use std::time::Duration; use craft::host::{AppInfo, Host, ManualJobs, ThreadJobs}; use craft::menu::Node;