D095 fiber_retired
Task.join was called on a fiber that Task.cancel had already used up (join on a cancelled fiber): a cancelled fiber has no result.
A runtime defect: the running program stops with it; no compile phase reports it, and try cannot catch it. sakura explain D095 prints this explanation offline.
Task.join was called on a fiber that Task.cancel had already used up (join on a cancelled fiber): a cancelled fiber has no result. Cancel or join a fiber, never both. On the WASM runtime
the code also reports a join of a retired fiber, which a program that passes the escape check
cannot reach; that is a runtime or compiler bug, please report it (runtime/rt/ABI.md §13).
Runtime defects come from running programs, so compiler/tests/ui has no fixture for them; the explanation above names the repair.
Last updated