Skip to main content
SIFR-ASYNC-0006 belongs to the Async effect and awaitability diagnostic family. It means: synchronous workload annotation applied to async function.

Why It Happens

Sifr tracks suspension and blocking effects statically. This diagnostic fires when async code either does not really suspend, awaits work that cannot suspend, or calls blocking/CPU-heavy work without an explicit offload boundary.
Use sifr --explain SIFR-ASYNC-0006 locally to see the renderer’s exact message template and any machine-applicable suggestions for the compiler version you are running.

Erroneous Code

How To Fix It

Apply synchronous workload annotations to synchronous functions, not async functions.

Fixed Code

Details

See the Error Codes index for the complete catalog.