{ "version": 1, "cases": { "buffers/empty_free_leak.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md \u00a726", "rule": "The buffer returned on buffer.free failure is left live at return, regardless of runtime reachability of that outcome.", "required_ops": { "buffer.free": 1 } }, "buffers/view_mutation.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md \u00a726", "rule": "buffer.reserve mutates a buffer with a live buffer.view child; the view is used afterwards." }, "generics/recursive_array.air": { "kind": "same_code", "site": "declaration", "spec": "docs/spec/15-source-language.md \u00a715", "rule": "The non-generic Node recursively contains an array of itself by value, retaining E1003 before source lowering.", "lowering": "rejected" }, "linear/field.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md \u00a725", "rule": "struct.get projects a linear owning field instead of whole unpacking or borrowed exchange." }, "linear/leak.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md \u00a725", "rule": "Whole struct.unpack discards an owning field that remains live at return.", "required_ops": { "struct.unpack": 1 } }, "nominal_queries/cycle.air": { "kind": "same_code", "site": "declaration", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "The N0 through N40 by-value cycle is rejected as E1003 at N0 before source lowering. Pure by-value cycles retain E1003 (Q-043/Q-044; AIR type rules in spec 07).", "lowering": "rejected" }, "phase0/reject/block_argument_type.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "Explicit block arguments are generated mechanics. A wrong generated argument type is a compiler defect, not authorable source." }, "phase0/reject/branch_arity.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "Explicit target argument arity is generated mechanics; malformed lowered targets are compiler defects." }, "phase0/reject/call_argument_type.air": { "kind": "source_error", "spec": "docs/spec/15-source-language.md \u00a710", "rule": "The source type/signature rule rejects before AIR verification, using its prescribed E7xxx code; this does not satisfy the same-code criterion.", "analogues": [ { "source": "source/typecheck/call_argument.aji", "codes": [ "E7005" ], "fields": { "expected": "u64", "found": "bool" } } ] }, "phase0/reject/double_definition.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "SSA definition identity is generated; source shadowing is a different name rule." }, "phase0/reject/duplicate_feature.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "Source does not declare an AIR features header; lowering generates its closure." }, "phase0/reject/lossy_widen.air": { "kind": "source_error", "spec": "docs/spec/15-source-language.md \u00a710", "rule": "The source type/signature rule rejects before AIR verification, using its prescribed E7xxx code; this does not satisfy the same-code criterion.", "analogues": [ { "source": "source/typecheck/lossy_widen.aji", "codes": [ "E7005" ], "fields": {} } ] }, "phase0/reject/missing_dependency.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "Source does not declare an AIR features header; lowering generates its closure." }, "phase0/reject/missing_terminator.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "Block terminators are generated, and malformed lowered CFG is a compiler defect." }, "phase0/reject/operand_type_mismatch.air": { "kind": "source_error", "spec": "docs/spec/15-source-language.md \u00a710", "rule": "The source type/signature rule rejects before AIR verification, using its prescribed E7xxx code; this does not satisfy the same-code criterion.", "analogues": [ { "source": "source/typecheck/binary_mixed_widths.aji", "codes": [ "E7005" ], "fields": { "expected": "u64", "found": "u8" } } ] }, "phase0/reject/recursive_type.air": { "kind": "same_code", "site": "declaration", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "Node contains itself by value; source declaration validation retains E1003 (Q-043/Q-044).", "lowering": "rejected" }, "phase0/reject/reserved_feature.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "This legacy heap header now rejects missing_dependency (capabilities), not a reserved feature. Source generates the full dependency closure and cannot spell the faulty header." }, "phase0/reject/terminator_mid_block.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "Instruction placement after an AIR terminator is generated CFG structure." }, "phase0/reject/too_many_params.air": { "kind": "same_code", "site": "function", "spec": "docs/spec/08-verifier.md", "rule": "The same deterministic budget is exceeded, with identical limit/max/found/type facts." }, "phase0/reject/unknown_block.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "Source has no named AIR block targets; generated resolution failure is a compiler defect." }, "phase0/reject/unknown_feature.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "Source does not declare an AIR features header; lowering generates its closure." }, "phase0/reject/unsupported_version.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "Source has no AIR format-version header." }, "phase0/reject/use_not_dominated.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "Source has no explicit SSA dominance edges; malformed generated uses are compiler defects." }, "phase1/reject/alloc_outside_entry.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a71", "rule": "local.alloc placement is chosen by lowering; source has no instruction-placement operation." }, "phase1/reject/borrow_block_parameter.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a75/\u00a719", "rule": "Borrow-typed branch block arguments require reserved borrow_joins. Source binds borrows only with ref/mut, never in an assignable var, and forbids yielding them from blocks/if/match; branches may return directly. Region allocation outcome parameters do not request borrow_joins." }, "phase1/reject/borrow_not_ended.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "Source ends every non-returned lexical borrow on a normal return; it has no operation to omit that generated end." }, "phase1/reject/borrow_return_without_from.air": { "kind": "source_error", "spec": "docs/spec/15-source-language.md \u00a719", "rule": "The source type/signature rule rejects before AIR verification, using its prescribed E7xxx code; this does not satisfy the same-code criterion.", "analogues": [ { "source": "source/borrow_returns/missing_from.aji", "codes": [ "E7006" ], "fields": { "reason": "invalid_borrow_return" } } ] }, "phase1/reject/borrow_use_after_end.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "A borrow binding is no longer visible after its lexical end; source cannot use an explicitly ended borrow." }, "phase1/reject/end_lent_parameter.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "Source does not explicitly end a lent borrow parameter; generated cleanup ends owned lexical bindings instead." }, "phase1/reject/end_parent_first.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "Source generates lexical ends in reverse creation order and transfers returned ancestors; it cannot request parent-before-child cleanup. Task-loan conflicts with such cleanup use E4302 instead; they are covered by separate twins." }, "phase1/reject/feature_not_declared.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "Source does not declare an AIR features header; lowering generates its closure." }, "phase1/reject/frame_escape.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/08-verifier.md \u00a711.3", "rule": "A returned borrow points into local frame storage, despite the declared parameter origin." }, "phase1/reject/frame_too_large.air": { "kind": "same_code", "site": "function", "spec": "docs/spec/08-verifier.md", "rule": "The same deterministic budget is exceeded, with identical limit/max/found/type facts." }, "phase1/reject/join_mismatch.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "Source lexical cleanup ends a borrow on every normal exit from its scope; explicit unmatched borrow.end edges are generated mechanics." }, "phase1/reject/le_is_not_a_fact.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a75", "rule": "A source <= condition uses checked indexing; only the specified strict < bounds form requests proven indexing." }, "phase1/reject/mut_and_shared.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/08-verifier.md \u00a711.2", "rule": "A shared whole-place borrow is created while an exclusive whole-place borrow is live." }, "phase1/reject/read_uninitialized.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a74", "rule": "Source local declarations require an initializer; there is no uninitialized frame-local declaration." }, "phase1/reject/related_borrow_live.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/08-verifier.md \u00a711.2", "rule": "local.store writes a local with a live shared borrow, retaining that borrow as the related conflict." }, "phase1/reject/size_overflow.air": { "kind": "same_code", "site": "function", "spec": "docs/spec/08-verifier.md", "rule": "The same deterministic budget is exceeded, with identical limit/max/found/type facts." }, "phase1/reject/value_too_large.air": { "kind": "same_code", "site": "function", "spec": "docs/spec/08-verifier.md", "rule": "The same deterministic budget is exceeded, with identical limit/max/found/type facts." }, "phase2/reject/alloc_without_effect.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/05-effects-and-capabilities.md", "rule": "own.new lacks mem.alloc; the missing effect and complete suggested list agree." }, "phase2/reject/intrinsic_effect.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/05-effects-and-capabilities.md \u00a79.3", "rule": "fs.open_read lacks the explicit fs.read effect; intrinsic, effect and complete suggested_effects agree." }, "phase2/reject/own_free_while_borrowed.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md", "rule": "The same owning-resource consumption or whole-place borrow conflicts with a live borrow." }, "phase2/reject/own_leak.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/06-resources-and-errors.md \u00a76.3", "rule": "An allocated owner reaches return without consumption." }, "phase2/reject/own_use_after_free.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md", "rule": "A closed/freed resource is borrowed again." }, "phase2/reject/own_use_after_move.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/06-resources-and-errors.md \u00a76.2", "rule": "An owner transferred to a consuming call is subsequently borrowed." }, "phase2/reject/region_destroy_with_live_reference.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md", "rule": "The same region operation would invalidate a live allocation reference." }, "phase2/reject/region_leak.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/06-resources-and-errors.md \u00a76.3", "rule": "An owned region reaches return without region.destroy." }, "phase2/reject/region_reset_with_live_reference.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md", "rule": "The same region operation would invalidate a live allocation reference." }, "phase2/reject/resource_close_twice_after_error.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/06-resources-and-errors.md", "rule": "The same resource is consumed twice." }, "phase2/reject/resource_close_while_borrowed.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/06-resources-and-errors.md", "rule": "The same owning-resource consumption or whole-place borrow conflicts with a live borrow." }, "phase2/reject/resource_join_mismatch.air": { "kind": "same_code", "site": "block", "spec": "docs/spec/08-verifier.md \u00a711.4", "rule": "The same file is closed on one incoming edge and still live on another." }, "phase2/reject/resource_leak.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/06-resources-and-errors.md \u00a76.3", "rule": "An opened file reaches return without close." }, "phase2/reject/resource_use_after_close.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/06-resources-and-errors.md", "rule": "A closed/freed resource is borrowed again." }, "phase2/reject/unsafe_call_from_safe.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/13-contracts-and-unsafe.md \u00a76", "rule": "A safe function calls an effects [unsafe] function without an unsafe or trusted boundary." }, "phase2/reject/unsafe_outside_boundary.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/13-contracts-and-unsafe.md \u00a76", "rule": "borrow.index.unchecked occurs outside an unsafe or trusted function." }, "phase2/reject/wrong_capability_kind.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/05-effects-and-capabilities.md \u00a710.5", "rule": "fs.create receives cap instead of required cap; expected/found authority facts agree." }, "phase3/reject/cancel_join_keeps_loans.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md", "rule": "The lent borrow is ended while its task remains unjoined; the creating spawn is retained.", "required_ops": { "task.join.cancel": 1 } }, "phase3/reject/cancel_join_twice_keeps_spawn.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md", "rule": "The lent borrow is ended while its task remains unjoined; the creating spawn is retained.", "required_ops": { "task.join.cancel": 2 } }, "phase3/reject/channels_receiver_leak.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/06-resources-and-errors.md \u00a76.3", "rule": "A channel receiver remains unclosed at return after its sender is closed. The source success arm passes through a single-predecessor match join; the allocation failure arm traps." }, "phase3/reject/channels_recv_without_effect.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a737.4/\u00a738", "rule": "channel.recv lacks task.wait on a borrowed receiver parameter; no allocation adds another missing effect." }, "phase3/reject/sync_call_waiting_function.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a741", "rule": "A function declaring task.wait is called while a mutex guard is held." }, "phase3/reject/sync_lock_twice.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a741", "rule": "A second mutex.lock may wait while the first guard is held." }, "phase3/reject/sync_take_while_borrowed.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a740", "rule": "mutex.take consumes a mutex with a live shared borrow, retaining that borrow as the related conflict." }, "phase3/reject/sync_wait_while_locked.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a741", "rule": "channel.recv may wait while a mutex guard is held." }, "phase3/reject/tasks_access_lent.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a734", "rule": "The parent indexes an exclusive slice lent to an unjoined task; raw borrow.index/load errors share one source location." }, "phase3/reject/tasks_end_lent_borrow.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md", "rule": "The lent borrow is ended while its task remains unjoined; the creating spawn is retained." }, "phase3/reject/tasks_same_mut_twice.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a734", "rule": "The same exclusive borrow is lent to a second task while the first task remains live." }, "phase3/reject/tasks_scope_end_unjoined.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a733", "rule": "A task scope ends while a child task remains unjoined." }, "phase3/reject/tasks_spawn_without_effect.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a733", "rule": "task.spawn lacks the explicit task.spawn effect; the selected missing effect and complete suggested list agree." }, "phase4/reject/arc_content_mutex.air": { "kind": "same_code", "site": "block", "spec": "docs/spec/03-memory-model.md \u00a724", "rule": "An arc result contains mutex, which is Share but not ArcSafe." }, "phase4/reject/arc_release_twice.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md", "rule": "The same resource is consumed twice." }, "phase4/reject/frozen_borrow_mut.air": { "kind": "source_error", "spec": "docs/spec/15-source-language.md \u00a78", "rule": "A frozen graph provides immutable access only; source rejects mut frozen.at with E7005 before a store is generated.", "analogues": [ { "source": "source/layer9/reject/frozen_mut.aji", "codes": [ "E7005" ], "fields": {} } ] }, "phase4/reject/frozen_leak.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md \u00a723", "rule": "An owned frozen graph reaches return without frozen.release." }, "phase4/reject/island_content_owner.air": { "kind": "same_code", "site": "block", "spec": "docs/spec/03-memory-model.md \u00a722", "rule": "An island result contains own, a foreign mutable edge forbidden by IslandSafe." }, "phase4/reject/island_destroy_while_borrowed.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md \u00a722", "rule": "island.destroy invalidates a live container borrow and its child object borrow; the child is used afterwards.", "required_ops": { "island.borrow": 1, "load": 1 } }, "phase4/reject/island_two_mut.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md \u00a722", "rule": "A second mutable object borrow is created through the same island, using a different iref." }, "phase4/reject/island_use_after_freeze.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md", "rule": "An island is borrowed after freezing transferred its ownership." }, "phase4/reject/island_use_after_send.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/03-memory-model.md \u00a722", "rule": "An island is borrowed after successful channel.send transferred its ownership." }, "phase4/reject/islands_not_declared.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "The missing AIR feature header cannot be authored in source, whose lowering generates the full dependency closure." }, "phase5/reject/cmpxchg_failure_release.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md", "rule": "The same atomic operation rejects the same ordering and allowed set." }, "phase5/reject/cmpxchg_failure_stronger.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a724.1", "rule": "atomic.cmpxchg.relaxed.acquire uses failure ordering acquire, stronger than the success ordering relaxed." }, "phase5/reject/fence_relaxed.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md", "rule": "The same atomic operation rejects the same ordering and allowed set." }, "phase5/reject/island_content.air": { "kind": "same_code", "site": "block", "spec": "docs/spec/03-memory-model.md \u00a722", "rule": "An island result contains atomic, a foreign mutable edge forbidden by IslandSafe." }, "phase5/reject/leak.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a723", "rule": "An atomic cell reaches return without being taken, moved or returned." }, "phase5/reject/load_release.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md", "rule": "The same atomic operation rejects the same ordering and allowed set." }, "phase5/reject/missing_atomic_effect.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/05-effects-and-capabilities.md \u00a713", "rule": "atomic.load.seq_cst lacks atomic; atomic.new and atomic.take require no effect." }, "phase5/reject/missing_weak_effect.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/05-effects-and-capabilities.md \u00a713", "rule": "atomic.load.acquire lacks atomic.weak; the complete suggested effects are [atomic, atomic.weak]." }, "phase5/reject/mut_operand.air": { "kind": "source_error", "spec": "docs/spec/15-source-language.md \u00a712", "rule": "Atomic cells require shared ref access; spelling a mutable cell borrow is E7005 in source.", "analogues": [ { "source": "source/layer10/reject/mut_borrow.aji", "codes": [ "E7005" ], "fields": { "name": "c" } } ] }, "phase5/reject/not_declared.air": { "kind": "air_only", "spec": "docs/spec/15-source-language.md \u00a79", "rule": "The missing AIR feature header cannot be authored in source, whose lowering generates the full dependency closure." }, "phase5/reject/store_acquire.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md", "rule": "The same atomic operation rejects the same ordering and allowed set." }, "phase5/reject/take_while_borrowed.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md", "rule": "The same owning-resource consumption or whole-place borrow conflicts with a live borrow." }, "phase5/reject/take_while_lent.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/04-concurrency-and-atomics.md \u00a728", "rule": "atomic.take consumes a cell while a borrow of it is lent to a live task." }, "phase5/reject/u128_cell.air": { "kind": "source_error", "spec": "docs/spec/15-source-language.md \u00a710", "rule": "A 128-bit integer cannot be atomic cell content; this source-decided type error uses E7005.", "analogues": [ { "source": "source/layer10/reject/wide_cell.aji", "codes": [ "E7005" ], "fields": { "found": "u128" } } ] }, "static_functions/missing_effect.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/05-effects-and-capabilities.md \u00a79.3", "rule": "A call to selected lacks io.write; source supplies that same function through an explicit static parameter with its declared contract." }, "static_functions/owner_leak.air": { "kind": "same_code", "site": "instruction", "spec": "docs/spec/06-resources-and-errors.md \u00a76.3", "rule": "selected returns without consuming its owning parameter; source also invokes it through explicit specialization." } } }