Zig Version
0.16.0-dev.1519+bfe331705
Other tickets
Possibly relevant? But seems to be about one specific test and windows.
Steps to Reproduce and Observed Behavior
My native host environment is x86-64 linux.
Tried building zig from source and running its tests for the first time. It seems like test-incremental tests are flaky for me; sometimes only a few fail, sometimes many more. I'm not sure whether there's a pattern.
I built zig follwing the readme, ie.
- build llvm in release mode according to readme instructions
cmake -B build -GNinja -DCMAKE_PREFIX_PATH=$HOME/local/llvm21-assert -DCMAKE_BUILD_TYPE=Release -DZIG_NO_LIB=ON
ninja install
stage3/bin/zig build -p stage4 -Denable-llvm -Dno-lib
stage4/bin/zig build test -Dskip-release -Dskip-non-native
I've tried running the incremental tests manually with stage4/bin/zig build --summary all -Dskip-release=true -Dskip-non-native=true -Denable-llvm=true test-incremental. Also tried with -Duse-llvm=true, seems to make no difference.
Removing .zig-cache in the root zig directory and rebuilding/rerunning the tests causing a different set of tests to fail.
example output of failing tests:
zig/build$ stage4/bin/zig build --summary all -Dskip-release=true -Dskip-non-native=true -Denable-llvm=true test-incremental
test-incremental
└─ incr-check 'make_decl_pub' failure
error: update 'make hello pub': generated executable '.local-cache/o/db3e702eb3e6f2f21348193ea4e46aa0/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/make_decl_pub --zig-lib-dir /home/user
/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_zon_file' failure
error: update 'initial version': generated executable '.local-cache/o/c0cd75582926748279468b03bb3fd7ec/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_zon_file --zig-lib-dir /home/mini
on/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'recursive_function_becomes_non_recursive' failure
error: update 'initial version': generated executable '.local-cache/o/32a132f9e52f6e61ed92f25fc213ef7f/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/recursive_function_becomes_non_recursive
--zig-lib-dir /home/user/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_panic_handler' failure
error: update 'initial version': generated executable '.local-cache/o/65c892dfe0eb10d8473afb0393b6969d/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_panic_handler --zig-lib-dir /home
/user/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_struct_same_fields' failure
error: update 'initial version': generated executable '.local-cache/o/45a419b065ddc0a8b5815674a8383afa/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_struct_same_fields --zig-lib-dir
/home/user/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'bad_import' failure
error: update 'remove import of 'foo.zig'': generated executable '.local-cache/o/6488f2e15ea4dafa3e005018631a4c84/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/bad_import --zig-lib-dir /home/user/pr
ojects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_line_number' failure
error: update 'initial version': generated executable '.local-cache/o/fa3500fb0d3919048e97b56df8a9a00a/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_line_number --zig-lib-dir /home/m
inion/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'temporary_parse_error' failure
error: update 'initial version': generated executable '.local-cache/o/e544c6ebbb5e8b1b75e1a28f506c5f58/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/temporary_parse_error --zig-lib-dir /hom
e/user/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'add_decl' failure
error: update 'initial version': generated executable '.local-cache/o/bdfbed1490c544a79cbe2d54ab9e4bee/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/add_decl --zig-lib-dir /home/user/proj
ects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_fn_type' failure
error: update 'initial version': generated executable '.local-cache/o/ebe0f9b9b5978cc30a949382278171ea/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_fn_type --zig-lib-dir /home/minio
n/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'type_becomes_comptime_only' failure
error: update 'initial version': generated executable '.local-cache/o/42e30aab412791b81d2569587c328336/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/type_becomes_comptime_only --zig-lib-dir
/home/user/projects/upstream/zig/lib/
Build Summary: 24/36 steps succeeded (11 failed)
test-incremental transitive failure
├─ incr-check 'fix_astgen_failure' success 1m
│ └─ compile exe incr-check Debug native success 10s MaxRSS:305M
├─ incr-check 'remove_enum_field' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_generic_line_number' success 59s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_panic_handler' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'no_change_preserves_tag_names' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_panic_handler_explicit' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'remove_invalid_union_backing_enum' success 44s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_line_number' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_shift_op' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_module' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'function_becomes_inline' success 54s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'add_decl' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_exports' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_zon_file' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'recursive_function_becomes_non_recursive' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'bad_import' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_zon_file_no_result_type' success 48s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'compile_error_then_log' success 57s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'compile_log' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_fn_type' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'add_decl_namespaced' success 56s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'delete_comptime_decls' success 57s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_struct_same_fields' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'temporary_parse_error' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_enum_tag_type' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'hello' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'type_becomes_comptime_only' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'unreferenced_error' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'move_src' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_embed_file' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'dependency_on_type_of_inferred_global' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'analysis_error_and_syntax_error' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'modify_inline_fn' success 1m
│ └─ compile exe incr-check Debug native (reused)
└─ incr-check 'make_decl_pub' failure
└─ compile exe incr-check Debug native (reused)
error: the following build command failed with exit code 1:
/home/user/projects/upstream/zig/.zig-cache/o/ab1eea2efebed93e771246a9c365c91d/build /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/lib /home/user/projects/upstream/zig /home/user/projects/upstream/zig/.zig
-cache /home/user/.cache/zig --seed 0xf25a3dbe -Z941b897b9bb7cd08 --summary all -Dskip-release=true -Dskip-non-native=true -Denable-llvm=true test-incremental
Running one of the failed incr-check commands manually with --preserve-tmp and then running the root executable manually I get a segfault.
$ /home/user/projects/upstream/zig/build/tmp_fe0d643e950ad8b7/.local-cache/o/a67ca6fdfe8aea2fef8b71a1f3717f74/root
Segmentation fault (core dumped) /home/user/projects/upstream/zig/build/tmp_fe0d643e950ad8b7/.local-cache/o/a67ca6fdfe8aea2fef8b71a1f3717f74/root
Running it gdb doesn't give me much
Program received signal SIGSEGV, Segmentation fault.
0x00000000005df6c0 in _start ()
(gdb) bt
#0 0x00000000005df6c0 in _start ()
(gdb)
Expected Behavior
I expected the tests to succeed or not be run by default if they're considered flaky.
### Zig Version
0.16.0-dev.1519+bfe331705
### Other tickets
Possibly relevant? But seems to be about one specific test and windows.
- https://github.com/ziglang/zig/issues/22510
### Steps to Reproduce and Observed Behavior
My native host environment is x86-64 linux.
Tried building zig from source and running its tests for the first time. It seems like `test-incremental` tests are flaky for me; sometimes only a few fail, sometimes many more. I'm not sure whether there's a pattern.
I built zig follwing the readme, ie.
- build llvm in release mode according to readme instructions
- `cmake -B build -GNinja -DCMAKE_PREFIX_PATH=$HOME/local/llvm21-assert -DCMAKE_BUILD_TYPE=Release -DZIG_NO_LIB=ON`
- `ninja install`
- `stage3/bin/zig build -p stage4 -Denable-llvm -Dno-lib`
- `stage4/bin/zig build test -Dskip-release -Dskip-non-native`
I've tried running the incremental tests manually with `stage4/bin/zig build --summary all -Dskip-release=true -Dskip-non-native=true -Denable-llvm=true test-incremental`. Also tried with `-Duse-llvm=true`, seems to make no difference.
Removing `.zig-cache` in the root zig directory and rebuilding/rerunning the tests causing a different set of tests to fail.
example output of failing tests:
<details>
```
zig/build$ stage4/bin/zig build --summary all -Dskip-release=true -Dskip-non-native=true -Denable-llvm=true test-incremental
test-incremental
└─ incr-check 'make_decl_pub' failure
error: update 'make hello pub': generated executable '.local-cache/o/db3e702eb3e6f2f21348193ea4e46aa0/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/make_decl_pub --zig-lib-dir /home/user
/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_zon_file' failure
error: update 'initial version': generated executable '.local-cache/o/c0cd75582926748279468b03bb3fd7ec/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_zon_file --zig-lib-dir /home/mini
on/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'recursive_function_becomes_non_recursive' failure
error: update 'initial version': generated executable '.local-cache/o/32a132f9e52f6e61ed92f25fc213ef7f/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/recursive_function_becomes_non_recursive
--zig-lib-dir /home/user/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_panic_handler' failure
error: update 'initial version': generated executable '.local-cache/o/65c892dfe0eb10d8473afb0393b6969d/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_panic_handler --zig-lib-dir /home
/user/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_struct_same_fields' failure
error: update 'initial version': generated executable '.local-cache/o/45a419b065ddc0a8b5815674a8383afa/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_struct_same_fields --zig-lib-dir
/home/user/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'bad_import' failure
error: update 'remove import of 'foo.zig'': generated executable '.local-cache/o/6488f2e15ea4dafa3e005018631a4c84/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/bad_import --zig-lib-dir /home/user/pr
ojects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_line_number' failure
error: update 'initial version': generated executable '.local-cache/o/fa3500fb0d3919048e97b56df8a9a00a/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_line_number --zig-lib-dir /home/m
inion/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'temporary_parse_error' failure
error: update 'initial version': generated executable '.local-cache/o/e544c6ebbb5e8b1b75e1a28f506c5f58/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/temporary_parse_error --zig-lib-dir /hom
e/user/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'add_decl' failure
error: update 'initial version': generated executable '.local-cache/o/bdfbed1490c544a79cbe2d54ab9e4bee/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/add_decl --zig-lib-dir /home/user/proj
ects/upstream/zig/lib/
test-incremental
└─ incr-check 'change_fn_type' failure
error: update 'initial version': generated executable '.local-cache/o/ebe0f9b9b5978cc30a949382278171ea/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/change_fn_type --zig-lib-dir /home/minio
n/projects/upstream/zig/lib/
test-incremental
└─ incr-check 'type_becomes_comptime_only' failure
error: update 'initial version': generated executable '.local-cache/o/42e30aab412791b81d2569587c328336/root' terminated unexpectedly
error: process exited with code 1 (expected exited with code 0)
failed command: /home/user/projects/upstream/zig/.zig-cache/o/138d5dbb6107de391a92f96ead589e19/incr-check /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/test/incremental/type_becomes_comptime_only --zig-lib-dir
/home/user/projects/upstream/zig/lib/
Build Summary: 24/36 steps succeeded (11 failed)
test-incremental transitive failure
├─ incr-check 'fix_astgen_failure' success 1m
│ └─ compile exe incr-check Debug native success 10s MaxRSS:305M
├─ incr-check 'remove_enum_field' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_generic_line_number' success 59s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_panic_handler' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'no_change_preserves_tag_names' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_panic_handler_explicit' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'remove_invalid_union_backing_enum' success 44s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_line_number' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_shift_op' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_module' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'function_becomes_inline' success 54s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'add_decl' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_exports' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_zon_file' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'recursive_function_becomes_non_recursive' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'bad_import' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_zon_file_no_result_type' success 48s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'compile_error_then_log' success 57s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'compile_log' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_fn_type' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'add_decl_namespaced' success 56s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'delete_comptime_decls' success 57s
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_struct_same_fields' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'temporary_parse_error' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_enum_tag_type' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'hello' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'type_becomes_comptime_only' failure
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'unreferenced_error' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'move_src' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'change_embed_file' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'dependency_on_type_of_inferred_global' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'analysis_error_and_syntax_error' success 1m
│ └─ compile exe incr-check Debug native (reused)
├─ incr-check 'modify_inline_fn' success 1m
│ └─ compile exe incr-check Debug native (reused)
└─ incr-check 'make_decl_pub' failure
└─ compile exe incr-check Debug native (reused)
error: the following build command failed with exit code 1:
/home/user/projects/upstream/zig/.zig-cache/o/ab1eea2efebed93e771246a9c365c91d/build /home/user/projects/upstream/zig/build/stage4/bin/zig /home/user/projects/upstream/zig/lib /home/user/projects/upstream/zig /home/user/projects/upstream/zig/.zig
-cache /home/user/.cache/zig --seed 0xf25a3dbe -Z941b897b9bb7cd08 --summary all -Dskip-release=true -Dskip-non-native=true -Denable-llvm=true test-incremental
```
</details>
Running one of the failed `incr-check` commands manually with `--preserve-tmp` and then running the `root` executable manually I get a segfault.
```
$ /home/user/projects/upstream/zig/build/tmp_fe0d643e950ad8b7/.local-cache/o/a67ca6fdfe8aea2fef8b71a1f3717f74/root
Segmentation fault (core dumped) /home/user/projects/upstream/zig/build/tmp_fe0d643e950ad8b7/.local-cache/o/a67ca6fdfe8aea2fef8b71a1f3717f74/root
```
Running it gdb doesn't give me much
```
Program received signal SIGSEGV, Segmentation fault.
0x00000000005df6c0 in _start ()
(gdb) bt
#0 0x00000000005df6c0 in _start ()
(gdb)
```
### Expected Behavior
I expected the tests to succeed or not be run by default if they're considered flaky.