mac02: building lzw92lx1b5mzs01rmwxsn9kh6rdqz4fk-codex-auth-0.4.0.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/7mp1ismigmxxjp9ni6jg8jh399di4pn2-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase zig build flags: -j10 -Doptimize=ReleaseSafe -Dcpu=baseline --release=safe info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig build-exe --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig --name configurer -fsingle-threaded --dep @build --dep @dependencies -Mroot=/nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/compiler/configurer.zig -M@dependencies=.zig-cache/o/2d3f57a9d945a2a4a21fd5408a2e6c7c/dependencies.zig -M@build=build.zig --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig translate-c -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache -target aarch64-native -Osafe src/c_time.h --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig build-exe -fstrip -Osafe -target aarch64-native -mcpu baseline --dep codex_auth -Mroot=src/main.zig -fstrip -Osafe -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Osafe -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/ff51d0072f0659fea87ea5123b26e009/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name codex-auth --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): install -C .zig-cache/o/2f402c2a4a5437048b8db5100521bfac/codex-auth zig-out/bin/codex-auth buildPhase completed in 3 minutes 25 seconds Running phase: checkPhase zig check flags: -j10 -Doptimize=Debug -Dcpu=baseline --release=safe info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig build-exe --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig --name configurer -fsingle-threaded --dep @build --dep @dependencies -Mroot=/nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/compiler/configurer.zig -M@dependencies=.zig-cache/o/2d3f57a9d945a2a4a21fd5408a2e6c7c/dependencies.zig -M@build=build.zig --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig translate-c -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache -target aarch64-native src/c_time.h --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig build-exe -Odebug -target aarch64-native -mcpu baseline -Mroot=tests/fake_curl.zig --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name curl --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig build-exe -Odebug -target aarch64-native -mcpu baseline -Mroot=tests/fake_curl_fail.zig --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name curl-fail --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig build-exe -Odebug -target aarch64-native -mcpu baseline -Mroot=tests/fake_codex.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name fake-codex --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/registry_import_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name registry_import_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/table_layout_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name table_layout_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/cli_integration_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name cli_integration_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/tui_session_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name tui_session_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/api_me_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name api_me_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig build-exe -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep codex_auth -Mroot=src/main.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name codex-auth --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/registry_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name registry_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/cli_behavior_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name cli_behavior_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/compat_fs_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name compat_fs_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/auth_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name auth_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/tui_conhost_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name tui_conhost_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/time_relative_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name time_relative_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/api_usage_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name api_usage_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/api_http_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name api_http_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): install -C .zig-cache/o/dbce064a20bd4d4bba32ac9d35ea2a0a/codex-auth zig-out/bin/codex-auth info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/d1593aedb16e417cfcf7e1560c2bbda7/time_relative_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/a2bded7255cff7c471ec01c512722b4a/registry_import_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/6938088525682d21b2c1aaa32d748300/tui_session_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/ce4626f2c3ead30d3919d137781ff8f1/registry_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/4aa180ff5e827f85370f6df2aad0d93b/table_layout_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/1cb6517818f505165bfacab680b89b01/cli_integration_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/6e8748237bd7a7874389d6f70dea1473/api_me_test All 5 tests passed. info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/dbdccb4daa93ec905f93bd840876d48d/auth_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/ca9eb905b2b2b995e328178c89521712/api_usage_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/ff6fab92ce2f388d94b1ce2173d9534f/compat_fs_test All 7 tests passed. info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/tui_display_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name tui_display_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/time_timestamp_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name time_timestamp_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- All 21 tests passed. All 11 tests passed. All 61 tests passed. All 2 tests passed. All 17 tests passed. info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/ca694c3828ccd188a6e4db0485a5cc58/api_http_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/789de4c6f1a9c01e81f6d8e2260bf7b3/tui_conhost_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/68d86a3888e1d971168639cbd3efd4b8/cli_behavior_test All 14 tests passed. All 3 tests passed. info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/api_account_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name api_account_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/session_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name session_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/workflows_core_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name workflows_core_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/lib_compile_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name lib_compile_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/20f1b9773b7388cd768f1af274699033/time_timestamp_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/cdade37c9abb3cd47e997132d9c951c4/tui_display_test All 8 tests passed. All 161 tests passed. info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/api_proxy_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name api_proxy_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/e2a5703bcc2aa58c751d138da4b1cc18/api_account_test info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/tui_pty_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name tui_pty_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/9aa793e3ef07f8b45590e533772d55dd/session_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/df2e6107f69022db785dd6334ae99736/workflows_core_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/e1af687214a4381501a2b34997f28bd1/tui_pty_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/aeb90d359ce47074882d28fe5aad23ab/api_proxy_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/b29e7b6247fb6f7def36e6c51403d4dd/lib_compile_test 9/102 cli_integration_test.test.Scenario: Given npm-style Windows codex wrappers when running login then the bare script is ignored and codex.cmd is launched...SKIP 10/102 cli_integration_test.test.Scenario: Given only a Windows batch codex wrapper when running login then codex.bat is launched...SKIP 11/102 cli_integration_test.test.Scenario: Given only a PowerShell Windows codex wrapper when running login then codex.ps1 is launched...SKIP 12/102 cli_integration_test.test.Scenario: Given a winget-style Windows codex launcher when running login then codex.exe is launched...SKIP 13/102 cli_integration_test.test.Scenario: Given an earlier PowerShell launcher and a later exe launcher when running login then ps1 stays a global fallback...SKIP 87/102 cli_integration_test.test.Scenario: Given unsupported native host when launching app then command fails before launch plan...SKIP 88/102 cli_integration_test.test.Scenario: Given unsupported native host when launching app then managed CLI is not downloaded...SKIP 89/102 cli_integration_test.test.Scenario: Given unsupported native host with missing explicit codex CLI path then host rejection happens first...SKIP 94 passed; 8 skipped; 0 failed. All 11 tests passed. 1/4 tui_conhost_test.test.console: live list renders on a real console and q exits...SKIP 2/4 tui_conhost_test.test.console: injected MOUSE_WHEELED records scroll the live list...SKIP 3/4 tui_conhost_test.test.console: ctrl-c, resize, and dead-key records follow real console semantics...SKIP 4/4 tui_conhost_test.test.console: live list under powershell renders and q exits...SKIP 0 passed; 4 skipped; 0 failed. All 14 tests passed. All 7 tests passed. All 3 tests passed. All 24 tests passed. All 3 tests passed. 1/4 tui_pty_test.test.pty: live TUI emits mouse modes and withholds kitty under WT_SESSION...SKIP 2/4 tui_pty_test.test.pty: live TUI pushes and pops kitty flags on kitty-capable terminals...SKIP 3/4 tui_pty_test.test.pty: kitty ACK turns bare arrows into wheel scrolls...SKIP 4/4 tui_pty_test.test.pty: injected SGR and X10 mouse reports are consumed without echo...SKIP 0 passed; 4 skipped; 0 failed. info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/tui_table_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name tui_table_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/workflows_live_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name workflows_live_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/cli_picker_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name cli_picker_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/api_reset_credits_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name api_reset_credits_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig test -Odebug -target aarch64-native -mcpu baseline --dep codex_auth --dep test_options -Mroot=tests/workflows_daemon_test.zig -fno-strip -Odebug -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Mtest_options=.zig-cache/o/301a841f23549a50f761aa6cda4af2ee/options.zig -Odebug -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/c725a7593b5a3fbb749a442af6280de2/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name workflows_daemon_test --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- codext release archive did not contain the expected package layout (codex-package.json is missing). codext release archive did not contain the expected package layout (codex-package.json is missing). All 52 tests passed. info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/eeb8cca16729f3e86f8123f6cb938acc/tui_table_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/3480de962340fbe03f7e0e2121b44b99/workflows_daemon_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/44f6b39cb2763eb228de99b9ba918bd7/api_reset_credits_test All 18 tests passed. info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/c24b9cba7bf7286c232ffa03289c11ed/cli_picker_test info(verbose): CODEX_AUTH_CLI_INTEGRATION_PROJECT_ROOT=/nix/var/nix/builds/nix-22623-1357893009/source ./.zig-cache/o/76e277101220ab607caa4cb47b00058e/workflows_live_test All 16 tests passed. All 6 tests passed. All 20 tests passed. All 92 tests passed. checkPhase completed in 1 minutes 20 seconds Running phase: installPhase zig install flags: -j10 -Doptimize=ReleaseSafe -Dcpu=baseline --release=safe --prefix /nix/store/fj12prb5qjca7mgj8skghskzwaqc3pk2-codex-auth-0.4.0 info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig translate-c -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache -target aarch64-native -Osafe src/c_time.h --listen=- info(verbose): /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/bin/zig build-exe -fstrip -Osafe -target aarch64-native -mcpu baseline --dep codex_auth -Mroot=src/main.zig -fstrip -Osafe -target aarch64-native -mcpu baseline --dep c_time -Mcodex_auth=src/root.zig -Osafe -target aarch64-native -mcpu baseline -Mc_time=.zig-cache/o/ff51d0072f0659fea87ea5123b26e009/c_time.zig -lc --cache-dir .zig-cache --global-cache-dir /nix/var/nix/builds/nix-22623-1357893009/.zig-global-cache --build-root . --name codex-auth --zig-lib-dir /nix/store/caba8n4f12927y2zz3nyzxdxwi41py4b-zig-0.17.1/lib/zig/ --listen=- info(verbose): install -C .zig-cache/o/2f402c2a4a5437048b8db5100521bfac/codex-auth /nix/store/fj12prb5qjca7mgj8skghskzwaqc3pk2-codex-auth-0.4.0/bin/codex-auth Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-22623-1357893009/ in /nix/store/fj12prb5qjca7mgj8skghskzwaqc3pk2-codex-auth-0.4.0... /nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh: line 39: 45844 Done find "$dir" -type f -not -path '*/.build-id/*' -print0 45845 Segmentation fault: 11 | while IFS= read -r -d '' file; do if isELF "$file"; then printf '%s\0' "$file" 1>&3; else if isScript "$file"; then filename=${file##*/}; dir=${file%/*}; if [ -e "$dir/.$filename-wrapped" ]; then printf '%s\0' "$file" 1>&4; fi; fi; fi; done patching script interpreter paths in /nix/store/fj12prb5qjca7mgj8skghskzwaqc3pk2-codex-auth-0.4.0 stripping (with command strip and flags -S) in /nix/store/fj12prb5qjca7mgj8skghskzwaqc3pk2-codex-auth-0.4.0/bin Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 0.4.0 in the output of the command /nix/store/fj12prb5qjca7mgj8skghskzwaqc3pk2-codex-auth-0.4.0/bin/codex-auth --version codex-auth 0.4.0 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing