@@ -201,10 +201,6 @@ impl<'a> Session<'a> {
201201 ///
202202 /// Returns an error if the task graph cannot be loaded from the workspace configuration.
203203 #[ tracing:: instrument( level = "debug" , skip_all) ]
204- #[ expect(
205- clippy:: future_not_send,
206- reason = "session is single-threaded, futures do not need to be Send"
207- ) ]
208204 pub async fn ensure_task_graph_loaded (
209205 & mut self ,
210206 ) -> Result < & IndexedTaskGraph , TaskGraphLoadError > {
@@ -251,10 +247,6 @@ impl<'a> Session<'a> {
251247 ///
252248 /// Returns an error if planning or execution fails.
253249 #[ tracing:: instrument( level = "debug" , skip_all) ]
254- #[ expect(
255- clippy:: future_not_send,
256- reason = "session is single-threaded, futures do not need to be Send"
257- ) ]
258250 pub async fn main ( mut self , command : Command ) -> anyhow:: Result < ExitStatus > {
259251 match self . main_inner ( command) . await {
260252 Ok ( ( ) ) => Ok ( ExitStatus :: SUCCESS ) ,
@@ -266,10 +258,6 @@ impl<'a> Session<'a> {
266258 /// # Panics
267259 ///
268260 /// Panics if parsing a hardcoded bare `RunCommand` fails (should never happen).
269- #[ expect(
270- clippy:: future_not_send,
271- reason = "session is single-threaded, futures do not need to be Send"
272- ) ]
273261 async fn main_inner ( & mut self , command : Command ) -> Result < ( ) , SessionError > {
274262 match command. into_resolved ( ) {
275263 ResolvedCommand :: Cache { ref subcmd } => self . handle_cache_command ( subcmd) ,
@@ -343,10 +331,6 @@ impl<'a> Session<'a> {
343331 ///
344332 /// In non-interactive mode, prints the task list (or "did you mean" suggestions)
345333 /// and returns `Err(SessionError::EarlyExit(_))` — no further execution needed.
346- #[ expect(
347- clippy:: future_not_send,
348- reason = "session is single-threaded, futures do not need to be Send"
349- ) ]
350334 #[ expect(
351335 clippy:: too_many_lines,
352336 reason = "builds interactive/non-interactive select items and handles selection"
@@ -594,10 +578,6 @@ impl<'a> Session<'a> {
594578 ///
595579 /// Returns an error if planning or execution of the synthetic command fails.
596580 #[ tracing:: instrument( level = "debug" , skip_all) ]
597- #[ expect(
598- clippy:: future_not_send,
599- reason = "session is single-threaded, futures do not need to be Send"
600- ) ]
601581 #[ expect(
602582 clippy:: large_futures,
603583 reason = "execution plan future is large but only awaited once"
@@ -657,10 +637,6 @@ impl<'a> Session<'a> {
657637 ///
658638 /// Returns an error if the plan request cannot be parsed or if planning fails.
659639 #[ tracing:: instrument( level = "debug" , skip_all) ]
660- #[ expect(
661- clippy:: future_not_send,
662- reason = "session is single-threaded, futures do not need to be Send"
663- ) ]
664640 pub async fn plan_from_cli_run (
665641 & mut self ,
666642 cwd : Arc < AbsolutePath > ,
@@ -672,10 +648,6 @@ impl<'a> Session<'a> {
672648
673649 /// Internal: plans execution from a resolved run command.
674650 #[ tracing:: instrument( level = "debug" , skip_all) ]
675- #[ expect(
676- clippy:: future_not_send,
677- reason = "session is single-threaded, futures do not need to be Send"
678- ) ]
679651 async fn plan_from_cli_run_resolved (
680652 & mut self ,
681653 cwd : Arc < AbsolutePath > ,
@@ -711,10 +683,6 @@ impl<'a> Session<'a> {
711683 ///
712684 /// Used by the interactive task selector, which constructs the request
713685 /// directly (bypassing CLI specifier parsing).
714- #[ expect(
715- clippy:: future_not_send,
716- reason = "session is single-threaded, futures do not need to be Send"
717- ) ]
718686 async fn plan_from_query (
719687 & mut self ,
720688 request : QueryPlanRequest ,
0 commit comments