Thanks. That was my default (and the only) strategy. I got a different compiler error, which looked similar enough, so I didn’t report that. Here we go:
$ build/stage3/bin/zig build --zig-lib-dir $PWD/lib
thread 49 panic: attempt to use null value
Analyzing /x/zig/lib/std/log.zig: log.zig:scoped
%430 = enum_literal("EnumLiteral")
> %431 = extended(reify(%430))
%432 = break_inline(%433, %431)
For full context, use the command
zig ast-check -t /x/zig/lib/std/log.zig
in /x/zig/lib/std/log.zig: log.zig:scoped
> %433 = param_comptime("scope", {%430..%432})
in /x/zig/lib/std/log.zig: log.zig:default
> %548 = decl_val("scoped")
in /x/zig/lib/std/log.zig: log.zig:warn
> %559 = decl_val("default")
in /x/zig/lib/std/build.zig: build.zig:Builder.addUserInputOption
> %5774 = field_call_bind(%5772, "warn")
in /x/zig/lib/std/build.zig: build.zig:Builder.addUserInputOption
> %5769 = block({%5770..%5786})
in /x/zig/lib/std/build.zig: build.zig:Builder.addUserInputOption
> %5616 = switch_block(%5613,
%5619 => {%5617..%5706},
%5709 => {%5707..%5765},
%5767 => {%5768..%5789})
in /x/zig/lib/std/build.zig: build.zig:Builder.addUserInputOption
> %5526 = block({%5527..%5796})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %496 = try(%493, {%497..%502})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %505 = block({%490..%504})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %476 = block({%477..%528})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %471 = condbr(%470, {%473..%573}, {%530..%574})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %472 = block({%461..%471})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %410 = block({%411..%578})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %407 = condbr(%406, {%409..%2286}, {%580..%2287})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %408 = block({%397..%407})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %394 = block({%395..%2291})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %388 = block({%393..%2292})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %385 = condbr(%384, {%390..%2293}, {%2294})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %386 = block({%377..%385})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %376 = loop({%386, %389})
in /x/zig/lib/build_runner.zig: build_runner.zig:main
> %41 = block({%42..%2434})
in /x/zig/lib/std/start.zig: start.zig:callMain
> %3051 = is_non_err(%3050)
in /x/zig/lib/std/start.zig: start.zig:callMain
> %3053 = block({%3046..%3052})
in /x/zig/lib/std/start.zig: start.zig:callMain
> %3043 = block({%3044..%3184})
in /x/zig/lib/std/start.zig: start.zig:callMain
> %2953 = switch_block(%2950,
else => {%3187..%3190},
%2955 => {%2956..%2969},
%2971 => {%2972..%2989},
%2992 => {%2990..%3039},
%3041 => {%3042..%3186})
in /x/zig/lib/std/start.zig: start.zig:callMain
> %2937 = block({%2938..%3195})
in /x/zig/lib/std/start.zig: start.zig:initEventLoopAndCallMain
> %2657 = builtin_call(%2655, %2656, @Zir.Inst.Ref.empty_struct)
in /x/zig/lib/std/start.zig: start.zig:initEventLoopAndCallMain
> %2501 = block({%2502..%2662})
in /x/zig/lib/std/start.zig: start.zig:callMainWithArgs
> %2288 = call(.auto, %2286, [])
in /x/zig/lib/std/start.zig: start.zig:callMainWithArgs
> %2257 = block({%2258..%2293})
in /x/zig/lib/std/start.zig: start.zig:posixCallMainAndExit
> %2122 = builtin_call(%2119, %2120, %2121)
in /x/zig/lib/std/start.zig: start.zig:posixCallMainAndExit
> %2114 = call(nodiscard .auto, %2112, [
{%2115..%2123},
])
in /x/zig/lib/std/start.zig: start.zig:posixCallMainAndExit
> %1750 = block({%1751..%2126})
/x/zig/src/Sema.zig:17957:65: 0xf6ca46 in zirReify (zig)
const child_ty = child_val.toType(&buffer);
^
/x/zig/src/Sema.zig:1147:64: 0xca021b in analyzeBodyInner (zig)
.reify => try sema.zirReify( block, extended, inst),
^
/x/zig/src/Sema.zig:815:45: 0xaceaa1 in analyzeBodyBreak (zig)
const break_inst = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:765:50: 0x12f1f73 in resolveBody (zig)
const break_data = (try sema.analyzeBodyBreak(block, body)) orelse
^
/x/zig/src/Sema.zig:8778:33: 0xf84061 in zirParam (zig)
if (sema.resolveBody(block, body, inst)) |param_ty_inst| {
^
/x/zig/src/Sema.zig:1321:34: 0xca274a in analyzeBodyInner (zig)
try sema.zirParam(block, inst, true);
^
/x/zig/src/Sema.zig:815:45: 0xaceaa1 in analyzeBodyBreak (zig)
const break_inst = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Module.zig:4635:50: 0xacabaf in semaDecl (zig)
const result_ref = (try sema.analyzeBodyBreak(&block_scope, body)).?.operand;
^
/x/zig/src/Module.zig:4256:38: 0x948079 in ensureDeclAnalyzed (zig)
const type_changed = mod.semaDecl(decl_index) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:27544:32: 0x133c832 in ensureDeclAnalyzed (zig)
} else {
^
/x/zig/src/Sema.zig:27586:32: 0xfac831 in analyzeDeclRef (zig)
return sema.addConstant(
^
/x/zig/src/Sema.zig:27514:45: 0x1305404 in analyzeDeclVal (zig)
decl_index: Decl.Index,
^
/x/zig/src/Sema.zig:5729:31: 0xecb146 in zirDeclVal (zig)
return sema.analyzeDeclVal(block, src, decl);
^
/x/zig/src/Sema.zig:926:65: 0xc95551 in analyzeBodyInner (zig)
.decl_val => try sema.zirDeclVal(block, inst),
^
/x/zig/src/Sema.zig:815:45: 0xaceaa1 in analyzeBodyBreak (zig)
const break_inst = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Module.zig:4635:50: 0xacabaf in semaDecl (zig)
const result_ref = (try sema.analyzeBodyBreak(&block_scope, body)).?.operand;
^
/x/zig/src/Module.zig:4256:38: 0x948079 in ensureDeclAnalyzed (zig)
const type_changed = mod.semaDecl(decl_index) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:27544:32: 0x133c832 in ensureDeclAnalyzed (zig)
} else {
^
/x/zig/src/Sema.zig:27586:32: 0xfac831 in analyzeDeclRef (zig)
return sema.addConstant(
^
/x/zig/src/Sema.zig:27514:45: 0x1305404 in analyzeDeclVal (zig)
decl_index: Decl.Index,
^
/x/zig/src/Sema.zig:5729:31: 0xecb146 in zirDeclVal (zig)
return sema.analyzeDeclVal(block, src, decl);
^
/x/zig/src/Sema.zig:926:65: 0xc95551 in analyzeBodyInner (zig)
.decl_val => try sema.zirDeclVal(block, inst),
^
/x/zig/src/Sema.zig:815:45: 0xaceaa1 in analyzeBodyBreak (zig)
const break_inst = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Module.zig:4635:50: 0xacabaf in semaDecl (zig)
const result_ref = (try sema.analyzeBodyBreak(&block_scope, body)).?.operand;
^
/x/zig/src/Module.zig:4256:38: 0x948079 in ensureDeclAnalyzed (zig)
const type_changed = mod.semaDecl(decl_index) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:27544:32: 0x133c832 in ensureDeclAnalyzed (zig)
} else {
^
/x/zig/src/Sema.zig:27586:32: 0xfac831 in analyzeDeclRef (zig)
return sema.addConstant(
^
/x/zig/src/Sema.zig:27514:45: 0x1305404 in analyzeDeclVal (zig)
decl_index: Decl.Index,
^
/x/zig/src/Sema.zig:23164:35: 0x165753a in namespaceLookupVal (zig)
^
/x/zig/src/Sema.zig:22678:56: 0x1308e6f in fieldVal (zig)
return sema.failWithOwnedErrorMsg(msg);
^
/x/zig/src/Sema.zig:22997:37: 0x130aa55 in fieldCallBind (zig)
decl_type.fnParamLen() >= 1)
^
/x/zig/src/Sema.zig:9007:30: 0xed1517 in zirFieldCallBind (zig)
return sema.fieldCallBind(block, src, object_ptr, field_name, field_name_src);
^
/x/zig/src/Sema.zig:948:71: 0xc9686e in analyzeBodyInner (zig)
.field_call_bind => try sema.zirFieldCallBind(block, inst),
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:779:30: 0x1331e4b in analyzeBodyRuntimeBreak (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:10567:45: 0xeea8fc in zirSwitchBlock (zig)
^
/x/zig/src/Sema.zig:981:69: 0xc9852b in analyzeBodyInner (zig)
.switch_block => try sema.zirSwitchBlock(block, inst),
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:798:30: 0xe7ade8 in analyzeBody (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Module.zig:5659:43: 0xc76eca in analyzeFnBody (zig)
sema.analyzeBody(&inner_block, fn_info.body) catch |err| switch (err) {
^
/x/zig/src/Module.zig:4342:40: 0xaae07d in ensureFuncBodyAnalyzed (zig)
var air = mod.analyzeFnBody(func, sema_arena) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:27555:36: 0x13c4827 in ensureFuncBodyAnalyzed (zig)
try ty.copy(anon_decl.arena()),
^
/x/zig/src/Sema.zig:29908:44: 0xfc1fa9 in resolveInferredErrorSet (zig)
}
^
/x/zig/src/Sema.zig:27834:49: 0xf8dc11 in analyzeIsNonErrComptimeOnly (zig)
} else {
^
/x/zig/src/Sema.zig:16392:60: 0xf8cc0d in zirTry (zig)
// no breaks from the body possible, and that the body is noreturn.
^
/x/zig/src/Sema.zig:1603:67: 0xca6b43 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirTry(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:779:30: 0x1331e4b in analyzeBodyRuntimeBreak (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:16341:37: 0xf8bb31 in zirCondbr (zig)
^
/x/zig/src/Sema.zig:1557:61: 0xca5577 in analyzeBodyInner (zig)
if (!block.is_comptime) break sema.zirCondbr(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:779:30: 0x1331e4b in analyzeBodyRuntimeBreak (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:16341:37: 0xf8bb31 in zirCondbr (zig)
^
/x/zig/src/Sema.zig:1557:61: 0xca5577 in analyzeBodyInner (zig)
if (!block.is_comptime) break sema.zirCondbr(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:779:30: 0x1331e4b in analyzeBodyRuntimeBreak (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:16341:37: 0xf8bb31 in zirCondbr (zig)
^
/x/zig/src/Sema.zig:1557:61: 0xca5577 in analyzeBodyInner (zig)
if (!block.is_comptime) break sema.zirCondbr(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:798:30: 0xe7ade8 in analyzeBody (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:5065:25: 0xf88908 in zirLoop (zig)
try sema.analyzeBody(&loop_block, body);
^
/x/zig/src/Sema.zig:1435:68: 0xca3b60 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirLoop(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:798:30: 0xe7ade8 in analyzeBody (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Module.zig:5659:43: 0xc76eca in analyzeFnBody (zig)
sema.analyzeBody(&inner_block, fn_info.body) catch |err| switch (err) {
^
/x/zig/src/Module.zig:4342:40: 0xaae07d in ensureFuncBodyAnalyzed (zig)
var air = mod.analyzeFnBody(func, sema_arena) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:27555:36: 0x13c4827 in ensureFuncBodyAnalyzed (zig)
try ty.copy(anon_decl.arena()),
^
/x/zig/src/Sema.zig:29908:44: 0xfc1fa9 in resolveInferredErrorSet (zig)
}
^
/x/zig/src/Sema.zig:27834:49: 0xf8dc11 in analyzeIsNonErrComptimeOnly (zig)
} else {
^
/x/zig/src/Sema.zig:27861:56: 0x13123bc in analyzeIsNonErr (zig)
) CompileError!Air.Inst.Ref {
^
/x/zig/src/Sema.zig:16290:53: 0xed6e5b in zirIsNonErr (zig)
const inst_data = sema.code.instructions.items(.data)[inst].un_node;
^
/x/zig/src/Sema.zig:959:66: 0xc97201 in analyzeBodyInner (zig)
.is_non_err => try sema.zirIsNonErr(block, inst),
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:10434:49: 0xee769a in zirSwitchBlock (zig)
{
^
/x/zig/src/Sema.zig:981:69: 0xc9852b in analyzeBodyInner (zig)
.switch_block => try sema.zirSwitchBlock(block, inst),
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:798:30: 0xe7ade8 in analyzeBody (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:6597:55: 0x12fb37f in analyzeCall (zig)
sema.analyzeBody(&child_block, fn_info.body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:20881:28: 0xf292b1 in zirBuiltinCall (zig)
const name_src: LazySrcLoc = .{ .node_offset_builtin_call_arg1 = inst_data.src_node };
^
/x/zig/src/Sema.zig:1038:69: 0xc9b6fc in analyzeBodyInner (zig)
.builtin_call => try sema.zirBuiltinCall(block, inst),
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:798:30: 0xe7ade8 in analyzeBody (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:6597:55: 0x12fb37f in analyzeCall (zig)
sema.analyzeBody(&child_block, fn_info.body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:6145:32: 0xec6817 in zirCall (zig)
return sema.analyzeCall(block, func, func_src, call_src, modifier, ensure_result_used, resolved_args, bound_arg_src);
^
/x/zig/src/Sema.zig:916:62: 0xc94c28 in analyzeBodyInner (zig)
.call => try sema.zirCall(block, inst),
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:798:30: 0xe7ade8 in analyzeBody (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:6597:55: 0x12fb37f in analyzeCall (zig)
sema.analyzeBody(&child_block, fn_info.body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:20881:28: 0xf292b1 in zirBuiltinCall (zig)
const name_src: LazySrcLoc = .{ .node_offset_builtin_call_arg1 = inst_data.src_node };
^
/x/zig/src/Sema.zig:1038:69: 0xc9b6fc in analyzeBodyInner (zig)
.builtin_call => try sema.zirBuiltinCall(block, inst),
^
/x/zig/src/Sema.zig:815:45: 0xaceaa1 in analyzeBodyBreak (zig)
const break_inst = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Sema.zig:765:50: 0x12f1f73 in resolveBody (zig)
const break_data = (try sema.analyzeBodyBreak(block, body)) orelse
^
/x/zig/src/Sema.zig:6094:63: 0xec6332 in zirCall (zig)
const resolved = try sema.resolveBody(block, args_body[arg_start..arg_end], inst);
^
/x/zig/src/Sema.zig:916:62: 0xc94c28 in analyzeBodyInner (zig)
.call => try sema.zirCall(block, inst),
^
/x/zig/src/Sema.zig:5240:34: 0x1336a09 in resolveBlockBody (zig)
if (sema.analyzeBodyInner(child_block, body)) |_| {
^
/x/zig/src/Sema.zig:5223:85: 0xf894cc in zirBlock (zig)
return sema.resolveBlockBody(parent_block, src, &child_block, body, inst, &label.merges);
^
/x/zig/src/Sema.zig:1449:69: 0xca40e1 in analyzeBodyInner (zig)
if (!block.is_comptime) break :blk try sema.zirBlock(block, inst);
^
/x/zig/src/Sema.zig:798:30: 0xe7ade8 in analyzeBody (zig)
_ = sema.analyzeBodyInner(block, body) catch |err| switch (err) {
^
/x/zig/src/Module.zig:5659:43: 0xc76eca in analyzeFnBody (zig)
sema.analyzeBody(&inner_block, fn_info.body) catch |err| switch (err) {
^
/x/zig/src/Module.zig:4342:40: 0xaae07d in ensureFuncBodyAnalyzed (zig)
var air = mod.analyzeFnBody(func, sema_arena) catch |err| switch (err) {
^
/x/zig/src/Compilation.zig:3098:42: 0xaabbfc in processOneJob (zig)
module.ensureFuncBodyAnalyzed(func) catch |err| switch (err) {
^
/x/zig/src/Compilation.zig:3036:30: 0x98c3a4 in performAllTheWork (zig)
try processOneJob(comp, work_item);
^
/x/zig/src/Compilation.zig:2360:31: 0x987e63 in update (zig)
try comp.performAllTheWork(main_progress_node);
^
/x/zig/src/main.zig:3423:20: 0x9b661d in updateModule (zig)
try comp.update();
^
/x/zig/src/main.zig:4027:21: 0x8a0869 in cmdBuild (zig)
updateModule(gpa, comp, .none) catch |err| switch (err) {
^
/x/zig/src/main.zig:286:24: 0x87253d in mainArgs (zig)
return cmdBuild(gpa, arena, cmd_args);
^
/x/zig/src/main.zig:199:20: 0x871135 in main (zig)
return mainArgs(gpa, arena, args);
^
/x/zig/lib/std/start.zig:614:37: 0x873767 in main (zig)
const result = root.main() catch |err| {
^
Stack trace seems to point here, but the reason/remedy are far from obvious.