Issue #1725: a pausing catch handler that READS the error in the box channel is still…

Open and answer this issue on GitHub.

decision, bugs · opened 2026-11-15 · updated 2026-11-15 · 0 comments

Filed by the driver from the Found: of the run of issue-1715 (#1715) (owner, 2026-11-06).

Found

a pausing catch handler that READS the error in the box channel is still NK1343 at user-parallelism yes: rustc keeps a box binding live across the await once it is borrowed directly (error.message() autorefs &error), even after it is moved or dropped (rustc 1.97). Probe: fn w(s: Step, n: i64) -> String throws { let v = s.run(n) catch { let m = error.message(); time::sleep(1.millis()); return m }; return “ok” }, spawned at yes. Fixing it needs the box channel to be Box<dyn Error + Send + Sync> at yes (a decision on the channel type, ADR-351 / ADR-326), or every direct borrow of the error written through &*error with the binding moved before the pause

Needs

supervisor decision on the box channel’s Send bound at user-parallelism yes (the Found)

To build

Done when

The probe gives the specified result and its test is green.


Generated by Claude Code

Back to Open Issues