tribuchet: building on jamie Running phase: unpackPhase unpacking source archive /nix/store/bc8mmqaf00dwxa7dzg9kyi7yyirapsjq-source source root is source/./tests/functional Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase /build/source/tests/functional mesonConfigurePhase flags: --prefix=/nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b --libdir=/nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/lib --libexecdir=/nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/libexec --bindir=/nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/bin --sbindir=/nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/sbin --includedir=/nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/include --mandir=/nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/share/man --infodir=/nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/share/info --localedir=/nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=release -Dplugin-c-api=true -Dunity=on -Dunity_size=8192 -Db_pch=false -Db_lto=true The Meson build system Version: 1.10.2 Source dir: /build/source/tests/functional Build dir: /build/source/tests/functional/build Build type: native build Project name: nix-functional-tests Project version: 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b Host machine cpu family: x86_64 Host machine cpu: x86_64 Program nix found: YES (/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin/nix) Program bash found: YES (/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash) Program busybox found: YES (/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox) Program ls found: YES (/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin/ls) Program dot found: NO Configuring subst-vars.sh using configuration common/meson.build:1: WARNING: The variable(s) 'variable' in the input file 'common/subst-vars.sh.in' are not present in the given configuration data. Configuring config.nix using configuration Found pkg-config: YES (/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency nix-store found: YES 2.36.0pre meson.build:194: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build. C++ compiler for the host machine: g++ (gcc 15.2.0 "g++ (GCC) 15.2.0") C++ linker for the host machine: g++ ld.bfd 2.46 Dependency nix-store found: YES 2.36.0pre (cached) Run-time dependency nix-expr found: YES 2.36.0pre meson.build:212: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build. Library dl found: YES Dependency nix-expr found: YES 2.36.0pre (cached) Build targets in project: 3 nix-functional-tests 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b User defined options auto_features: enabled b_lto : true b_pch : false bindir : /nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/bin buildtype : release includedir : /nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/include infodir : /nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/share/info libdir : /nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/lib libexecdir : /nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/libexec localedir : /nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/share/locale mandir : /nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/share/man plugin-c-api : true prefix : /nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b sbindir : /nix/store/pw5bwl6s9aqzil4jjnxvvr28ir1w1b1l-nix-daemon-compat-tests-2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b/sbin unity : on unity_size : 8192 wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin/ninja Running phase: buildPhase build flags: -j24 ninja: no work to do. Running phase: checkPhase [1/6] Compiling C++ object plugins/libplugintest_dlsym.so.p/meson-generated_plugintest_dlsym-unity0.cpp.o [2/6] Linking target plugins/libplugintest_dlsym.so [3/6] Compiling C++ object plugins/libplugintest.so.p/meson-generated_plugintest-unity0.cpp.o [4/6] Linking target plugins/libplugintest.so [5/6] Compiling C++ object test-libstoreconsumer/test-libstoreconsumer.p/meson-generated_test-libstoreconsumer-unity0.cpp.o [6/6] Linking target test-libstoreconsumer/test-libstoreconsumer mesonCheckPhase flags: --print-errorlogs --print-errorlogs --timeout-multiplier=0 1/221 main - nix-functional-tests:absolute-path-literals OK 3.88s 2/221 main - nix-functional-tests:add OK 3.88s 3/221 main - nix-functional-tests:add-scanning OK 3.87s 4/221 main - nix-functional-tests:bash-profile OK 3.87s 5/221 main - nix-functional-tests:binary-cache SKIP 3.84s exit status 77 6/221 main - nix-functional-tests:build-cores OK 3.84s 7/221 main - nix-functional-tests:build-dry OK 3.83s 8/221 main - nix-functional-tests:build-remote-with-mounted-ssh-ng OK 3.74s 9/221 main - nix-functional-tests:ca-old-daemon OK 3.72s 10/221 main - nix-functional-tests:characterisation-test-infra OK 3.72s 11/221 main - nix-functional-tests:check SKIP 3.69s exit status 77 12/221 main - nix-functional-tests:completions OK 3.67s 13/221 main - nix-functional-tests:compression-levels OK 3.65s 14/221 main - nix-functional-tests:config OK 3.64s 15/221 main - nix-functional-tests:db-migration OK 3.63s 16/221 main - nix-functional-tests:delete-no-keep OK 3.63s 17/221 main - nix-functional-tests:derivation-advanced-attributes OK 3.61s 18/221 main - nix-functional-tests:derivation-json OK 3.60s 19/221 main - nix-functional-tests:dump-db SKIP 3.59s exit status 77 20/221 main - nix-functional-tests:eval-store SKIP 3.59s exit status 77 21/221 main - nix-functional-tests:experimental-features OK 3.56s 22/221 main - nix-functional-tests:export OK 3.54s 23/221 main - nix-functional-tests:external-builders SKIP 3.53s exit status 77 24/221 main - nix-functional-tests:extra-sandbox-profile SKIP 3.52s exit status 77 25/221 main - nix-functional-tests:fetchGitShallow OK 3.46s 26/221 main - nix-functional-tests:fetchGitVerification SKIP 3.44s exit status 77 27/221 main - nix-functional-tests:fetchPath OK 3.41s 28/221 main - nix-functional-tests:fetchTree-file OK 3.40s 29/221 main - nix-functional-tests:filter-source OK 3.38s 30/221 main - nix-functional-tests:flamegraph-profiler OK 3.33s 31/221 main - nix-functional-tests:function-trace OK 3.31s 32/221 main - nix-functional-tests:gc-auto SKIP 3.30s exit status 77 33/221 main - nix-functional-tests:gc-non-blocking SKIP 3.26s exit status 77 34/221 main - nix-functional-tests:impure-eval OK 3.15s 35/221 main - nix-functional-tests:json OK 3.14s 36/221 main - nix-functional-tests:lang-gc SKIP 3.12s exit status 77 37/221 main - nix-functional-tests:legacy-ssh-store OK 3.09s 38/221 main - nix-functional-tests:linux-sandbox SKIP 3.08s exit status 77 39/221 main - nix-functional-tests:misc OK 3.04s 40/221 main - nix-functional-tests:multiple-outputs-substitute-failure SKIP 3.03s exit status 77 41/221 main - nix-functional-tests:nix-copy-ssh OK 2.90s 42/221 main - nix-functional-tests:no-url-literals OK 2.84s 43/221 main - nix-functional-tests:pass-as-file OK 2.78s 44/221 main - nix-functional-tests:path-from-hash-part OK 2.77s 45/221 main - nix-functional-tests:path-info OK 2.76s 46/221 main - nix-functional-tests:placeholders OK 2.74s 47/221 main - nix-functional-tests:read-only-store SKIP 2.68s exit status 77 48/221 main - nix-functional-tests:referrers SKIP 2.63s exit status 77 49/221 main - nix-functional-tests:repair SKIP 2.60s exit status 77 50/221 main - nix-functional-tests:secure-drv-outputs OK 2.53s 51/221 main - nix-functional-tests:short-path-literals OK 2.49s 52/221 main - nix-functional-tests:ssh-relay OK 2.45s 53/221 main - nix-functional-tests:store-info OK 2.43s 54/221 main - nix-functional-tests:store-print-env OK 2.42s 55/221 main - nix-functional-tests:substitute-with-invalid-ca OK 2.38s 56/221 main - nix-functional-tests:suggestions OK 2.37s 57/221 main - nix-functional-tests:supplementary-groups SKIP 2.35s exit status 77 58/221 main - nix-functional-tests:symlinks OK 2.33s 59/221 main - nix-functional-tests:test-infra OK 2.30s 60/221 main - nix-functional-tests:timeout SKIP 2.28s exit status 77 61/221 main - nix-functional-tests:toString-path OK 2.27s 62/221 main - nix-functional-tests:user-envs-migration SKIP 2.25s exit status 77 63/221 libstoreconsumer - nix-functional-tests:test-libstoreconsumer OK 2.18s 64/221 plugins - nix-functional-tests:plugins OK 2.16s 65/221 ca - nix-functional-tests:build-trace-delete SKIP 2.10s exit status 77 66/221 ca - nix-functional-tests:concurrent-builds SKIP 2.05s exit status 77 67/221 ca - nix-functional-tests:derivation-advanced-attributes OK 2.04s 68/221 ca - nix-functional-tests:eval-store SKIP 1.99s exit status 77 69/221 ca - nix-functional-tests:substitute SKIP 1.70s exit status 77 70/221 dyn-drv - nix-functional-tests:old-daemon-error-hack SKIP 1.52s exit status 77 71/221 main - nix-functional-tests:chroot-store OK 3.85s 72/221 main - nix-functional-tests:selfref-gc OK 2.57s 73/221 main - nix-functional-tests:readfile-context OK 2.72s 74/221 flakes - nix-functional-tests:prefetch OK 1.11s 75/221 main - nix-functional-tests:formatter OK 3.44s 76/221 main - nix-functional-tests:eval OK 3.73s 77/221 main - nix-functional-tests:fixed-slow-vs-bad OK 3.49s 78/221 main - nix-functional-tests:nix_path OK 2.95s 79/221 main - nix-functional-tests:fetchClosure OK 3.66s 80/221 ca - nix-functional-tests:derivation-json OK 2.06s 81/221 main - nix-functional-tests:search OK 2.64s 82/221 main - nix-functional-tests:pure-eval OK 2.80s 83/221 flakes - nix-functional-tests:absolute-paths OK 1.22s 84/221 main - nix-functional-tests:nar-access OK 3.14s 85/221 flakes - nix-functional-tests:debugger OK 0.98s 86/221 flakes - nix-functional-tests:edit OK 1.52s 87/221 flakes - nix-functional-tests:absolute-attr-paths OK 1.27s 88/221 main - nix-functional-tests:nix-copy-ssh-ng OK 3.23s 89/221 flakes - nix-functional-tests:type-error-fallback OK 1.09s 90/221 flakes - nix-functional-tests:circular OK 1.77s 91/221 main - nix-functional-tests:simple OK 2.92s 92/221 flakes - nix-functional-tests:old-lockfiles OK 1.29s 93/221 main - nix-functional-tests:fetchMercurial FAIL 3.98s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TEST_SUITE_NAME=main MESON_TEST_ITERATION=1 TEST_NAME=fetchMercurial NIX_REMOTE='' ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional MALLOC_PERTURB_=120 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail fetchMercurial.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: +(fetchMercurial.sh:3) source common.sh ++(common.sh:3) set -eu -o pipefail ++(common.sh:5) [[ -z '' ]] ++(common.sh:7) COMMON_SH_SOURCED=1 ++++(common.sh:9) dirname common.sh +++(common.sh:9) readlink -f . ++(common.sh:9) functionalTestsDir=/build/source/tests/functional ++(common.sh:11) source /build/source/tests/functional/common/vars.sh +++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] +++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional +++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build +++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build +++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh ++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] ++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= ++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox ++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b ++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux +++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' +++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system +++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat +++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat +++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh ++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh +++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR ++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] ++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] ++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh ++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=main/fetchMercurial +++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test ++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/main/fetchMercurial ++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT +++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/main/fetchMercurial/etc +++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/main/fetchMercurial/etc/nix.conf +++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/main/fetchMercurial/test-home +++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/main/fetchMercurial/test-home +++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR ++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/main/fetchMercurial/store +++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= +++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/main/fetchMercurial/store +++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/main/fetchMercurial/var +++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/main/fetchMercurial/var +++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/main/fetchMercurial/var/log/nix +++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/main/fetchMercurial/var/log/nix +++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/main/fetchMercurial/var/nix +++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/main/fetchMercurial/var/nix +++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/main/fetchMercurial/etc +++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/main/fetchMercurial/etc +++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/fetchMercurial/dSocket +++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/fetchMercurial/dSocket +++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES +++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/main/fetchMercurial/shared +++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/main/fetchMercurial/shared +++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] +++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/main/fetchMercurial/shared +++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/main/fetchMercurial/shared +++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH +++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/main/fetchMercurial/test-home +++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/main/fetchMercurial/test-home +++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME +++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME +++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME +++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS +++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME +++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR +++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/main/fetchMercurial/binary-cache ++++(/build/source/tests/functional/common/vars.sh:78) uname +++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] +++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] +++(/build/source/tests/functional/common/vars.sh:78) unshare --user true +++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 +++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/main/fetchMercurial/config.nix ++(common.sh:12) source /build/source/tests/functional/common/functions.sh +++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] ++(common.sh:13) source /build/source/tests/functional/common/init.sh +++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/main/fetchMercurial/etc /build/nix-test/main/fetchMercurial/etc/nix.conf /build/nix-test/main/fetchMercurial/config.nix +++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/main/fetchMercurial +++(/build/source/tests/functional/common/init.sh:31) killDaemon +++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] +++(/build/source/tests/functional/common/functions.sh:106) return +++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/main/fetchMercurial ]] +++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/main/fetchMercurial +++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/main/fetchMercurial/test-home +++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/main/fetchMercurial/store +++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/main/fetchMercurial/var +++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/main/fetchMercurial/var/log/nix/drvs +++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/main/fetchMercurial/var/nix +++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/main/fetchMercurial/etc +++(/build/source/tests/functional/common/init.sh:46) cat ++++(/build/source/tests/functional/common/init.sh:46) whoami +++(/build/source/tests/functional/common/init.sh:59) cat +++(/build/source/tests/functional/common/init.sh:67) nix-store --init +++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/main/fetchMercurial/var/nix/db/db.sqlite +++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test main / fetchMercurial' +++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix ++(common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++(common.sh:16) startDaemon ++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS ++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] ++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/main/fetchMercurial/dSocket ++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=5684 ++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID ++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/fetchMercurial/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:84) kill -0 5684 ++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 ++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features ++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/fetchMercurial/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 ++(/build/source/tests/functional/common/functions.sh:82) break ++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] ++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT ++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= ++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon ++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon ++(fetchMercurial.sh:5) type -p hg +(fetchMercurial.sh:5) [[ -n /nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin/hg ]] +(fetchMercurial.sh:7) TODO_NixOS +(/build/source/tests/functional/common/functions.sh:148) isTestOnNixOS +(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +(fetchMercurial.sh:11) repo=/build/nix-test/main/fetchMercurial/./hg +(fetchMercurial.sh:13) hg init /build/nix-test/main/fetchMercurial/./hg +(fetchMercurial.sh:15) echo '[ui]' +(fetchMercurial.sh:16) echo 'username = Foobar ' +(fetchMercurial.sh:18) echo 'tweakdefaults = True' +(fetchMercurial.sh:21) echo utrecht +(fetchMercurial.sh:22) touch /build/nix-test/main/fetchMercurial/./hg/.hgignore +(fetchMercurial.sh:23) hg add --cwd /build/nix-test/main/fetchMercurial/./hg hello .hgignore +(fetchMercurial.sh:24) hg commit --cwd /build/nix-test/main/fetchMercurial/./hg -m Bla1 ++(fetchMercurial.sh:25) hg log --cwd /build/nix-test/main/fetchMercurial/./hg -r tip --template '{node}' +(fetchMercurial.sh:25) rev1=a2ee17cf5607034cfec192b3c903ca4e0f7dbd2e +(fetchMercurial.sh:27) echo world +(fetchMercurial.sh:28) hg commit --cwd /build/nix-test/main/fetchMercurial/./hg -m Bla2 ++(fetchMercurial.sh:29) hg log --cwd /build/nix-test/main/fetchMercurial/./hg -r tip --template '{node}' +(fetchMercurial.sh:29) rev2=1aab73b2c3ec15e7e287eae1a0cf1a559c97327f +(fetchMercurial.sh:32) echo unclean ++(fetchMercurial.sh:33) nix eval --impure --raw --expr '(builtins.fetchMercurial "file:///build/nix-test/main/fetchMercurial/./hg").outPath' warning: you don't have Internet access; disabling some network-dependent features thread '' (43789) panicked at /build/mercurial-7.1.2-vendor/source-registry-0/rayon-core-1.12.1/src/registry.rs:168:10: The global thread pool has not been initialized.: ThreadPoolBuildError { kind: GlobalPoolAlreadyInitialized } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ** unknown exception encountered, please report by visiting ** https://foss.heptapod.net/mercurial/mercurial-devel/-/issues ** Python 3.13.13 (main, Apr 7 2026, 18:19:01) [GCC 15.2.0] ** Mercurial Distributed SCM (version 7.1.2) ** Extensions loaded: Traceback (most recent call last): File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin/..hg-wrapped-wrapped", line 52, in dispatch.run() ~~~~~~~~~~~~^^ File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 144, in run status = dispatch(req) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 233, in dispatch status = _rundispatch(req) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 278, in _rundispatch ret = _runcatch(req) or 0 ~~~~~~~~~^^^^^ File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 468, in _runcatch return _callcatch(ui, _runcatchfunc) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 478, in _callcatch return scmutil.callcatch(ui, func) ~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/scmutil.py", line 182, in callcatch return func() File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 458, in _runcatchfunc return _dispatch(req) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 1106, in _dispatch return _dispatch_post_cwd(req) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 1362, in _dispatch_post_cwd return runcommand( lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions ) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 975, in runcommand ret = _runcommand(ui, options, cmd, d) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 1374, in _runcommand return cmdfunc() File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dispatch.py", line 1360, in d = lambda: util.checksignature(func)(ui, *args, **strcmdopt) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/util.py", line 1979, in check return func(*args, **kwargs) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/commands.py", line 6758, in status stat = repo.status( ctx1.node(), ...<5 lines>... opts.get(b'subrepos'), ) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/localrepo.py", line 3576, in status return self[node1].status( ~~~~~~~~~~~~~~~~~~^ node2, match, ignored, clean, unknown, listsubrepos ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/context.py", line 471, in status r = ctx2._buildstatus( ctx1, r, match, listignored, listclean, listunknown ) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/context.py", line 2095, in _buildstatus s = self._dirstatestatus(match, listignored, listclean, listunknown) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/context.py", line 1994, in _dirstatestatus cmp, s, mtime_boundary = dirstate.status( ~~~~~~~~~~~~~~~^ match, subrepos, ignored=ignored, clean=clean, unknown=unknown ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dirstate.py", line 1681, in status res = self._rust_status( match, listclean, listignored, listunknown ) File "/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/lib/python3.13/site-packages/mercurial/dirstate.py", line 1592, in _rust_status ) = rustmod.status( ~~~~~~~~~~~~~~^ self._map._map, ^^^^^^^^^^^^^^^ ...<7 lines>... bool(matcher.traversedir), ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ pyo3_runtime.PanicException: The global thread pool has not been initialized.: ThreadPoolBuildError { kind: GlobalPoolAlreadyInitialized } error: … while calling the 'fetchMercurial' builtin at «string»:1:2: 1| (builtins.fetchMercurial "file:///build/nix-test/main/fetchMercurial/./hg").outPath | ^ … while fetching the input 'hg+file:///build/nix-test/main/fetchMercurial/./hg' error: hg failed with exit code 1 +(fetchMercurial.sh:33) path= ++(fetchMercurial.sh:33) onError ++(/build/source/tests/functional/common/functions.sh:242) [[ ehuxB == *e* ]] ++(/build/source/tests/functional/common/functions.sh:243) set +x fetchMercurial.sh: test failed at: main in fetchMercurial.sh:33 shutting down ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 94/221 main - nix-functional-tests:recursive OK 3.16s 95/221 flakes - nix-functional-tests:unlocked-override OK 1.69s 96/221 main - nix-functional-tests:dependencies OK 4.26s 97/221 flakes - nix-functional-tests:get-flake OK 1.29s 98/221 main - nix-functional-tests:nars OK 3.58s 99/221 dyn-drv - nix-functional-tests:eval-outputOf OK 2.15s 100/221 flakes - nix-functional-tests:commit-lock-file-summary OK 1.53s 101/221 main - nix-functional-tests:help FAIL 3.90s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TEST_SUITE_NAME=main MESON_TEST_ITERATION=1 TEST_NAME=help NIX_REMOTE='' ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=101 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail help.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: │ Warning │ This program is experimental and its interface is │ subject to change. Name nix build - build a derivation or fetch a store path Synopsis nix build [option...] installables... Examples · Build the default package from the flake in the current directory: │ # nix build · Build and run GNU Hello from the nixpkgs flake: │ # nix build nixpkgs#hello │ # ./result/bin/hello │ Hello, world! · Build GNU Hello and Cowsay, leaving two result symlinks: │ # nix build nixpkgs#hello nixpkgs#cowsay │ # ls -l result* │ lrwxrwxrwx 1 … result -> /nix/store/10l19qifk7hjjq47px8m2prqk1gv4isy-hello-2.10 │ lrwxrwxrwx 1 … result-1 -> /nix/store/frzgk3v1ycnarpfc2rkynravng27a86d-cowsay-3.03+dfsg2 · Build GNU Hello and print the resulting store path. │ # nix build nixpkgs#hello --print-out-paths │ /nix/store/10l19qifk7hjjq47px8m2prqk1gv4isy-hello-2.10 · Build a specific output: │ # nix build nixpkgs#glibc.dev │ # ls -ld ./result-dev │ lrwxrwxrwx 1 … ./result-dev -> /nix/store/hb4lb9n3gv855llky72hrs4pglpxq70m-glibc-2.32-dev · Build all outputs: │ # nix build "nixpkgs#openssl^*" --print-out-paths │ /nix/store/ah1slww3lfsj02w563wjf1xcz5fayj36-openssl-3.0.13-bin │ /nix/store/vswlynn75s0bpba3vl6bi3wyzjym95yi-openssl-3.0.13-debug │ /nix/store/z71nwwni9dcxdmd3v3a7j24v70c7v7z3-openssl-3.0.13-dev │ /nix/store/iabzsa5c73p4f10zfmf5r2qsrn0hl4lk-openssl-3.0.13-doc │ /nix/store/zqmfrpxvcll69a2lyawnpvp15zh421v2-openssl-3.0.13-man │ /nix/store/l3nlzki957anyy7yb25qvwk6cqrnvb67-openssl-3.0.13 · Build attribute build.x86_64-linux from (non-flake) Nix expression release.nix: │ # nix build --file release.nix build.x86_64-linux · Build a NixOS system configuration from a flake, and make a profile point to the result: │ # nix build --profile /nix/var/nix/profiles/system \ │ ~/my-configurations#nixosConfigurations.machine.config.system.build.toplevel (This is essentially what nixos-rebuild does.) · Build an expression specified on the command line: │ # nix build --impure --expr \ │ 'with import {}; │ runCommand "foo" { │ buildInputs = [ hello ]; │ } │ "hello > $out"' │ # cat ./result │ Hello, world! Note that --impure is needed because we're using , which relies on the $NIX_PATH environment variable. · Fetch a store path from the configured substituters, if it doesn't already exist: │ # nix build /nix/store/frzgk3v1ycnarpfc2rkynravng27a86d-cowsay-3.03+dfsg2 Description nix build builds the specified installables. Installables that resolve to derivations are built (or substituted if possible). Store path installables are substituted. Unless --no-link is specified, after a successful build, it creates symlinks to the store paths of the installables. These symlinks have the prefix ./result by default; this can be overridden using the --out-link option. Each symlink has a suffix --, where N is the index of the installable (with the left-most installable having index 0), and outname is the symbolic derivation output name (e.g. bin, dev or lib). - is omitted if N = 0, and - is omitted if outname = out (denoting the default output). Options · --dry-run Show what this command would do without doing it. · --json Produce output in JSON format, suitable for consumption by another program. · --no-link Do not create symlinks to the build results. · --no-pretty Print compact JSON output on a single line, even when the output is a terminal. Some commands may print multiple JSON objects on separate lines. │ See `--pretty`. · --out-link / -o path Use path as prefix for the symlinks to the build results. It defaults to result. · --pretty Print multi-line, indented JSON output for readability. │ Default: indent if output is to a terminal. │ │ This option is only effective when `--json` is also specified. · --print-out-paths Print the resulting output paths · --profile path The profile to operate on. · --rebuild Rebuild an already built package and compare the result to the existing store paths. · --stdin Read installables from the standard input. No default installable applied. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. ## Options that change the interpretation of installables · --expr expr Interpret installables as attribute paths relative to the Nix expression expr. · --file / -f file Interpret installables as attribute paths relative to the Nix expression stored in file. If file is the character -, then a Nix expression is read from standard input. Implies --impure. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix bundle - bundle an application so that it works outside of the Nix store Synopsis nix bundle [option...] installable Examples · Bundle Hello: │ # nix bundle nixpkgs#hello │ # ./hello │ Hello, world! · Bundle a specific version of Nix: │ # nix bundle github:NixOS/nix/e3ddffb27e5fc37a209cfd843c6f7f6a9460a8ec │ # ./nix --version │ nix (Nix) 2.4pre20201215_e3ddffb · Bundle a Hello using a specific bundler: │ # nix bundle --bundler github:NixOS/bundlers#toDockerImage nixpkgs#hello │ # docker load < hello-2.10.tar.gz │ # docker run hello-2.10:latest hello │ Hello, world! Description nix bundle, by default, packs the closure of the installable into a single self-extracting executable. See the bundlers homepage https://github.com/NixOS/bundlers for more details. │ Note │ │ This command only works on Linux. Flake output attributes If no flake output attribute is given, nix bundle tries the following flake output attributes: · bundlers..default If an attribute name is given, nix bundle tries the following flake output attributes: · bundlers.. Bundlers A bundler is specified by a flake output attribute named bundlers... It looks like this: │ bundlers.x86_64-linux = rec { │ identity = drv: drv; │ │ blender_2_79 = drv: self.packages.x86_64-linux.blender_2_79; │ │ default = identity; │ }; A bundler must be a function that accepts an arbitrary value (typically a derivation or app definition) and returns a derivation. Options · --bundler / -B flake-url Use a custom bundler instead of the default (github:NixOS/bundlers). · --out-link / -o path Override the name of the symlink to the build result. It defaults to the base name of the app. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. ## Options that change the interpretation of installables · --expr expr Interpret installables as attribute paths relative to the Nix expression expr. · --file / -f file Interpret installables as attribute paths relative to the Nix expression stored in file. If file is the character -, then a Nix expression is read from standard input. Implies --impure. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix config - manipulate the Nix configuration Synopsis nix config [option...] subcommand where subcommand is one of the following: : · nix config show - show the Nix configuration or the value of a specific setting : · nix config check - check your system for potential problems and print a PASS or FAIL for each check Options ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix config check - check your system for potential problems and print a PASS or FAIL for each check Synopsis nix config check [option...] Options ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix config show - show the Nix configuration or the value of a specific setting Synopsis nix config show [option...] name Options · --json Produce output in JSON format, suitable for consumption by another program. · --no-pretty Print compact JSON output on a single line, even when the output is a terminal. Some commands may print multiple JSON objects on separate lines. │ See `--pretty`. · --pretty Print multi-line, indented JSON output for readability. │ Default: indent if output is to a terminal. │ │ This option is only effective when `--json` is also specified. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix copy - copy paths between Nix stores Synopsis nix copy [option...] installables... Examples · Copy Firefox from the local store to a binary cache in /tmp/cache: │ # nix copy --to file:///tmp/cache $(type -p firefox) Note the file:// - without this, the destination is a chroot store, not a binary cache. · Copy all store paths from a local binary cache in /tmp/cache to the local store: │ # nix copy --all --from file:///tmp/cache · Copy the entire current NixOS system closure to another machine via SSH: │ # nix copy --substitute-on-destination --to ssh://server /run/current-system The -s flag causes the remote machine to try to substitute missing store paths, which may be faster if the link between the local and remote machines is slower than the link between the remote machine and its substituters (e.g. https://cache.nixos.org). · Copy a closure from another machine via SSH: │ # nix copy --from ssh://server /nix/store/a6cnl93nk1wxnq84brbbwr6hxw9gp2w9-blender-2.79-rc2 · Copy Hello to a binary cache in an Amazon S3 bucket: │ # nix copy --to s3://my-bucket?region=eu-west-1 nixpkgs#hello or to an S3-compatible storage system: │ # nix copy --to s3://my-bucket?region=eu-west-1&endpoint=example.com nixpkgs#hello Note that this only works if Nix is built with AWS support. · Copy a closure from /nix/store to the chroot store /tmp/nix/nix/store: │ # nix copy --to /tmp/nix nixpkgs#hello --no-check-sigs · Update the NixOS system profile to point to a closure copied from a remote machine: │ # nix copy --from ssh://server \ │ --profile /nix/var/nix/profiles/system \ │ /nix/store/r14v3km89zm3prwsa521fab5kgzvfbw4-nixos-system-foobar-24.05.20240925.759537f Description nix copy copies store path closures between two Nix stores. The source store is specified using --from and the destination using --to. If one of these is omitted, it defaults to the local store. Options · --from store-uri URL of the source Nix store. · --no-check-sigs Do not require that paths are signed by trusted keys. · --out-link / -o path Create symlinks prefixed with path to the top-level store paths fetched from the source store. · --profile path The profile to operate on. · --stdin Read installables from the standard input. No default installable applied. · --substitute-on-destination / -s Whether to try substitutes on the destination store (only supported by SSH stores). · --to store-uri URL of the destination Nix store. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. ## Options that change the interpretation of installables · --all Apply the operation to every store path. · --derivation Operate on the store derivation rather than its outputs. · --expr expr Interpret installables as attribute paths relative to the Nix expression expr. · --file / -f file Interpret installables as attribute paths relative to the Nix expression stored in file. If file is the character -, then a Nix expression is read from standard input. Implies --impure. · --no-recursive Apply operation to specified paths only. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix daemon - daemon to perform store operations on behalf of non-root clients Synopsis nix daemon [option...] Examples · Run the daemon: │ # nix daemon · Run the daemon and listen on standard I/O instead of binding to a UNIX socket: │ # nix daemon --stdio · Run the daemon and force all connections to be trusted: │ # nix daemon --force-trusted · Run the daemon and force all connections to be untrusted: │ # nix daemon --force-untrusted · Run the daemon, listen on standard I/O, and force all connections to use Nix's default trust: │ # nix daemon --stdio --default-trust Description This command runs the Nix daemon, which is a required component in multi-user Nix installations. It runs build tasks and other operations on the Nix store on behalf of non-root users. Usually you don't run the daemon directly; instead it's managed by a service management framework such as systemd on Linux, or launchctl on Darwin. Note that this daemon does not fork into the background. Socket path Unless --stdio is used, the daemon listens on a Unix domain socket. The socket path is determined similarly as for the Local Daemon Store: 1. The --socket-path flag, if passed. 2. The NIX_DAEMON_SOCKET_PATH environment variable, if set. 3. Otherwise, daemon-socket/socket within the store's state directory. The Local Store, Local Daemon Store, and Experimental SSH Store with filesystem mounted each have their own per-store state directory. For other store types, the global NIX_STATE_DIR is used. Systemd socket activation nix daemon supports systemd socket-based activation using the nix-daemon.socket unit in the Nix distribution. It supports listening on multiple addresses; for example, the following stanza in nix-daemon.socket makes the daemon listen on two Unix domain sockets: │ [Socket] │ ListenStream=/nix/var/nix/daemon-socket/socket │ ListenStream=/nix/var/nix/daemon-socket/socket-2 Options · --default-trust Use Nix's default trust. · --force-trusted Force the daemon to trust connecting clients. · --force-untrusted Force the daemon to not trust connecting clients. The connection is processed by the receiving daemon before forwarding commands. · --process-ops Forces the daemon to process received commands itself rather than forwarding the commands straight to the remote store. │ This is useful for the `mounted-ssh://` store where some actions need to be performed on the remote end but as connected user, and not as the user of the underlying daemon on the remote end. · --socket-path path Path to the daemon's UNIX socket. Overrides NIX_DAEMON_SOCKET_PATH and the default. Incompatible with --stdio. · --stdio Attach to standard I/O, instead of using UNIX socket(s). ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix derivation - work with derivations Synopsis nix derivation [option...] subcommand where subcommand is one of the following: · nix derivation add - add a store derivation · nix derivation show - show the contents of a store derivation Options ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix derivation add - add a store derivation Synopsis nix derivation add [option...] Description This command reads from standard input a JSON representation of a store derivation. Store derivations are used internally by Nix. They are store paths with extension .drv that represent the build-time dependency graph to which a Nix expression evaluates. nix derivation add takes a single derivation in the JSON format. See the manual for a documentation of this format. Options · --dry-run Show what this command would do without doing it. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix derivation show - show the contents of a store derivation Synopsis nix derivation show [option...] installables... Examples · Show the store derivation that results from evaluating the Hello package: │ # nix derivation show nixpkgs#hello │ { │ "/nix/store/s6rn4jz1sin56rf4qj5b5v8jxjm32hlk-hello-2.10.drv": { │ … │ } │ } · Show the full derivation graph (if available) that produced your NixOS system: │ # nix derivation show -r /run/current-system · Print all files fetched using fetchurl by Firefox's dependency graph: │ # nix derivation show -r nixpkgs#firefox \ │ | jq -r '.[] | select(.outputs.out.hash and .env.urls) | .env.urls' \ │ | uniq | sort Note that .outputs.out.hash selects fixed-output derivations (derivations that produce output with a specified content hash), while .env.urls selects derivations with a urls attribute. Description This command prints on standard output a JSON representation of the store derivations to which installables evaluate. Store derivations are used internally by Nix. They are store paths with extension .drv that represent the build-time dependency graph to which a Nix expression evaluates. By default, this command only shows top-level derivations, but with --recursive, it also shows their dependencies. nix derivation show outputs a JSON map of store paths to derivations in JSON format. See the manual for a documentation of this format. Options · --no-pretty Print compact JSON output on a single line, even when the output is a terminal. Some commands may print multiple JSON objects on separate lines. │ See `--pretty`. · --pretty Print multi-line, indented JSON output for readability. │ Default: indent if output is to a terminal. │ │ This option is only effective when `--json` is also specified. · --recursive / -r Include the dependencies of the specified derivations. · --stdin Read installables from the standard input. No default installable applied. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. ## Options that change the interpretation of installables · --expr expr Interpret installables as attribute paths relative to the Nix expression expr. · --file / -f file Interpret installables as attribute paths relative to the Nix expression stored in file. If file is the character -, then a Nix expression is read from standard input. Implies --impure. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix develop - run a bash shell that provides the build environment of a derivation Synopsis nix develop [option...] installable Examples · Start a shell with the build environment of the default package of the flake in the current directory: │ # nix develop Typical commands to run inside this shell are: │ # configurePhase │ # buildPhase │ # installPhase Alternatively, you can run whatever build tools your project uses directly, e.g. for a typical Unix project: │ # ./configure --prefix=$out │ # make │ # make install · Run a particular build phase directly: │ # nix develop --unpack │ # nix develop --configure │ # nix develop --build │ # nix develop --check │ # nix develop --install │ # nix develop --installcheck · Start a shell with the build environment of GNU Hello: │ # nix develop nixpkgs#hello · Record a build environment in a profile: │ # nix develop --profile /tmp/my-build-env nixpkgs#hello · Use a build environment previously recorded in a profile: │ # nix develop /tmp/my-build-env · Replace all occurrences of the store path corresponding to glibc.dev with a writable directory: │ # nix develop --redirect nixpkgs#glibc.dev ~/my-glibc/outputs/dev Note that this is useful if you're running a nix develop shell for nixpkgs#glibc in ~/my-glibc and want to compile another package against it. · Run a series of script commands: │ # nix develop --command bash -c "mkdir build && cmake .. && make" Description nix develop starts a bash shell that provides an interactive build environment nearly identical to what Nix would use to build installable. Inside this shell, environment variables and shell functions are set up so that you can interactively and incrementally build your package. Nix determines the build environment by building a modified version of the derivation installable that just records the environment initialised by stdenv and exits. This build environment can be recorded into a profile using --profile. The prompt used by the bash shell can be customised by setting the bash-prompt, bash-prompt-prefix, and bash-prompt-suffix settings in nix.conf or in the flake's nixConfig attribute. Flake output attributes If no flake output attribute is given, nix develop tries the following flake output attributes: · devShells..default · packages..default If a flake output name is given, nix develop tries the following flake output attributes: · devShells.. · packages.. · legacyPackages.. Options · --build Run the build phase. · --check Run the check phase. · --command / -c command args Instead of starting an interactive shell, start the specified command and arguments. · --configure Run the configure phase. · --install Run the install phase. · --installcheck Run the installcheck phase. · --phase phase-name The stdenv phase to run (e.g. build or configure). · --profile path The profile to operate on. · --redirect installable outputs-dir Redirect a store path to a mutable location. · --unpack Run the unpack phase. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. ## Options that change environment variables · --ignore-env / -i Clear the entire environment, except for those specified with --keep-env-var. · --keep-env-var / -k name Keep the environment variable name, when using --ignore-env. · --set-env-var / -s name value Sets an environment variable name with value. · --unset-env-var / -u name Unset the environment variable name. ## Options that change the interpretation of installables · --expr expr Interpret installables as attribute paths relative to the Nix expression expr. · --file / -f file Interpret installables as attribute paths relative to the Nix expression stored in file. If file is the character -, then a Nix expression is read from standard input. Implies --impure. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix edit - open the Nix expression of a Nix package in $EDITOR Synopsis nix edit [option...] installable Examples · Open the Nix expression of the GNU Hello package: │ # nix edit nixpkgs#hello · Get the filename and line number used by nix edit: │ # nix eval --raw nixpkgs#hello.meta.position │ /nix/store/fvafw0gvwayzdan642wrv84pzm5bgpmy-source/pkgs/applications/misc/hello/default.nix:15 Description This command opens the Nix expression of a derivation in an editor. The filename and line number of the derivation are taken from its meta.position attribute. Nixpkgs' stdenv.mkDerivation sets this attribute to the location of the definition of the meta.description, version or name derivation attributes. The editor to invoke is specified by the EDITOR environment variable. It defaults to cat. If the editor is emacs, nano, vim or kak, it is passed the line number of the derivation using the argument +. Options ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. ## Options that change the interpretation of installables · --expr expr Interpret installables as attribute paths relative to the Nix expression expr. · --file / -f file Interpret installables as attribute paths relative to the Nix expression stored in file. If file is the character -, then a Nix expression is read from standard input. Implies --impure. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix env - manipulate the process environment Synopsis nix env [option...] subcommand where subcommand is one of the following: · nix env shell - run a shell in which the specified packages are available Options ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix env shell - run a shell in which the specified packages are available Synopsis nix env shell [option...] installables... Examples · Start a shell providing youtube-dl from the nixpkgs flake: │ # nix shell nixpkgs#youtube-dl │ # youtube-dl --version │ 2020.11.01.1 · Start a shell providing GNU Hello from NixOS 20.03: │ # nix shell nixpkgs/nixos-20.03#hello · Run GNU Hello: │ # nix shell nixpkgs#hello --command hello --greeting 'Hi everybody!' │ Hi everybody! · Run multiple commands in a shell environment: │ # nix shell nixpkgs#gnumake --command sh -c "cd src && make" · Run GNU Hello in a chroot store: │ # nix shell --store ~/my-nix nixpkgs#hello --command hello · Start a shell providing GNU Hello in a chroot store: │ # nix shell --store ~/my-nix nixpkgs#hello nixpkgs#bashInteractive --command bash Note that it's necessary to specify bash explicitly because your default shell (e.g. /bin/bash) generally will not exist in the chroot. Description nix shell runs a command in an environment in which the $PATH variable provides the specified installables. If no command is specified, it starts the default shell of your user account specified by $SHELL. Use as a #!-interpreter You can use nix as a script interpreter to allow scripts written in arbitrary languages to obtain their own dependencies via Nix. This is done by starting the script with the following lines: │ #! /usr/bin/env nix │ #! nix shell installables --command real-interpreter where real-interpreter is the “real” script interpreter that will be invoked by nix shell after it has obtained the dependencies and initialised the environment, and installables are the attribute names of the dependencies in Nixpkgs. The lines starting with #! nix specify options (see above). Note that you cannot write #! /usr/bin/env nix shell -i ... because many operating systems only allow one argument in #! lines. For example, here is a Python script that depends on Python and the prettytable package: │ #! /usr/bin/env nix │ #! nix shell github:tomberek/-#python3With.prettytable --command python │ │ import prettytable │ │ # Print a simple table. │ t = prettytable.PrettyTable(["N", "N^2"]) │ for n in range(1, 10): t.add_row([n, n * n]) │ print(t) Similarly, the following is a Perl script that specifies that it requires Perl and the HTML::TokeParser::Simple and LWP packages: │ #! /usr/bin/env nix │ #! nix shell github:tomberek/-#perlWith.HTMLTokeParserSimple.LWP --command perl -x │ │ use HTML::TokeParser::Simple; │ │ # Fetch nixos.org and print all hrefs. │ my $p = HTML::TokeParser::Simple->new(url => 'http://nixos.org/'); │ │ while (my $token = $p->get_tag("a")) { │ my $href = $token->get_attr("href"); │ print "$href\n" if $href; │ } Sometimes you need to pass a simple Nix expression to customize a package like Terraform: │ #! /usr/bin/env nix │ #! nix shell --impure --expr `` │ #! nix with (import (builtins.getFlake ''nixpkgs'') {}); │ #! nix terraform.withPlugins (plugins: [ plugins.openstack ]) │ #! nix `` │ #! nix --command bash │ │ terraform "$@" │ Note │ │ You must use double backticks (``) when passing a │ simple Nix expression in a nix shell shebang. Finally, using the merging of multiple nix shell shebangs the following Haskell script uses a specific branch of Nixpkgs/NixOS (the 21.11 stable branch): │ #!/usr/bin/env nix │ #!nix shell --override-input nixpkgs github:NixOS/nixpkgs/nixos-21.11 │ #!nix github:tomberek/-#haskellWith.download-curl.tagsoup --command runghc │ │ import Network.Curl.Download │ import Text.HTML.TagSoup │ import Data.Either │ import Data.ByteString.Char8 (unpack) │ │ -- Fetch nixos.org and print all hrefs. │ main = do │ resp <- openURI "https://nixos.org/" │ let tags = filter (isTagOpenName "a") $ parseTags $ unpack $ fromRight undefined resp │ let tags' = map (fromAttrib "href") tags │ mapM_ putStrLn $ filter (/= "") tags' If you want to be even more precise, you can specify a specific revision of Nixpkgs: │ #!nix shell --override-input nixpkgs github:NixOS/nixpkgs/eabc38219184cc3e04a974fe31857d8e0eac098d You can also use a Nix expression to build your own dependencies. For example, the Python example could have been written as: │ #! /usr/bin/env nix │ #! nix shell --impure --file deps.nix -i python where the file deps.nix in the same directory as the #!-script contains: │ with import {}; │ python3.withPackages (ps: with ps; [ prettytable ]) Options · --command / -c command args Command and arguments to be executed, defaulting to $SHELL · --stdin Read installables from the standard input. No default installable applied. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. ## Options that change environment variables · --ignore-env / -i Clear the entire environment, except for those specified with --keep-env-var. · --keep-env-var / -k name Keep the environment variable name, when using --ignore-env. · --set-env-var / -s name value Sets an environment variable name with value. · --unset-env-var / -u name Unset the environment variable name. ## Options that change the interpretation of installables · --expr expr Interpret installables as attribute paths relative to the Nix expression expr. · --file / -f file Interpret installables as attribute paths relative to the Nix expression stored in file. If file is the character -, then a Nix expression is read from standard input. Implies --impure. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix eval - evaluate a Nix expression Synopsis nix eval [option...] installable Examples · Evaluate a Nix expression given on the command line: │ # nix eval --expr '1 + 2' · Evaluate a Nix expression to JSON: │ # nix eval --json --expr '{ x = 1; }' │ {"x":1} · Evaluate a Nix expression from a file: │ # nix eval --file ./my-nixpkgs hello.name · Get the current version of the nixpkgs flake: │ # nix eval --raw nixpkgs#lib.version · Print the store path of the Hello package: │ # nix eval --raw nixpkgs#hello · Get a list of checks in the nix flake: │ # nix eval nix#checks.x86_64-linux --apply builtins.attrNames · Generate a directory with the specified contents: │ # nix eval --write-to ./out --expr '{ foo = "bar"; subdir.bla = "123"; }' │ # cat ./out/foo │ bar │ # cat ./out/subdir/bla │ 123 Description This command evaluates the given Nix expression, and prints the result on standard output. It also evaluates any nested attribute values and list items. Output format nix eval can produce output in several formats: · By default, the evaluation result is printed as a Nix expression. · With --json, the evaluation result is printed in JSON format. Note that this fails if the result contains values that are not representable as JSON, such as functions. · With --raw, the evaluation result must be a string, which is printed verbatim, without any quoting. · With --write-to path, the evaluation result must be a string or a nested attribute set whose leaf values are strings. These strings are written to files named path/attrpath. path must not already exist. Options · --apply expr Apply the function expr to each argument. · --json Produce output in JSON format, suitable for consumption by another program. · --no-pretty Print compact JSON output on a single line, even when the output is a terminal. Some commands may print multiple JSON objects on separate lines. │ See `--pretty`. · --pretty Print multi-line, indented JSON output for readability. │ Default: indent if output is to a terminal. │ │ This option is only effective when `--json` is also specified. · --raw Print strings without quotes or escaping. · --read-only Do not instantiate each evaluated derivation. This improves performance, but can cause errors when accessing store paths of derivations during evaluation. · --write-to path Write a string or attrset of strings to path. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. ## Options that change the interpretation of installables · --expr expr Interpret installables as attribute paths relative to the Nix expression expr. · --file / -f file Interpret installables as attribute paths relative to the Nix expression stored in file. If file is the character -, then a Nix expression is read from standard input. Implies --impure. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix flake - manage Nix flakes Synopsis nix flake [option...] subcommand where subcommand is one of the following: · nix flake archive - copy a flake and all its inputs to a store · nix flake check - check whether the flake evaluates and run its tests · nix flake clone - clone flake repository · nix flake info - show flake metadata · nix flake init - create a flake in the current directory from a template · nix flake lock - create missing lock file entries · nix flake metadata - show flake metadata · nix flake new - create a flake in the specified directory from a template · nix flake prefetch - download the source tree denoted by a flake reference into the Nix store · nix flake prefetch-inputs - fetch the inputs of a flake · nix flake show - show the outputs provided by a flake · nix flake update - update flake lock file Description nix flake provides subcommands for creating, modifying and querying Nix flakes. Flakes are the unit for packaging Nix code in a reproducible and discoverable way. They can have dependencies on other flakes, making it possible to have multi-repository Nix projects. A flake is a filesystem tree (typically fetched from a Git repository or a tarball) that contains a file named flake.nix in the root directory. flake.nix specifies some metadata about the flake such as dependencies (called inputs), as well as its outputs (the Nix values such as packages or NixOS modules provided by the flake). Flake references Flake references (flakerefs) are a way to specify the location of a flake. These have two different forms: ## Attribute set representation Example: │ { │ type = "github"; │ owner = "NixOS"; │ repo = "nixpkgs"; │ } The only required attribute is type. The supported types are listed below. ## URL-like syntax Example: │ github:NixOS/nixpkgs These are used on the command line as a more convenient alternative to the attribute set representation. For instance, in the command │ # nix build github:NixOS/nixpkgs#hello github:NixOS/nixpkgs is a flake reference (while hello is an output attribute). They are also allowed in the inputs attribute of a flake, e.g. │ inputs.nixpkgs.url = "github:NixOS/nixpkgs"; is equivalent to │ inputs.nixpkgs = { │ type = "github"; │ owner = "NixOS"; │ repo = "nixpkgs"; │ }; Following RFC 3986 https://datatracker.ietf.org/doc/html/rfc3986#section-2.1, characters outside of the allowed range (i.e. neither reserved characters https://datatracker.ietf.org/doc/html/rfc3986#section-2.2 nor unreserved characters https://datatracker.ietf.org/doc/html/rfc3986#section-2.3) must be percent-encoded. ### Examples Here are some examples of flake references in their URL-like representation: · nixpkgs: The nixpkgs entry in the flake registry. · nixpkgs/a3a3dda3bacf61e8a39258a0ed9c924eeca8e293: The nixpkgs entry in the flake registry, with its Git revision overridden to a specific value. · github:NixOS/nixpkgs: The master branch of the NixOS/nixpkgs repository on GitHub. · github:NixOS/nixpkgs/nixos-20.09: The nixos-20.09 branch of the nixpkgs repository. · github:NixOS/nixpkgs/pull/357207/head: The 357207 pull request of the nixpkgs repository. · github:NixOS/nixpkgs/a3a3dda3bacf61e8a39258a0ed9c924eeca8e293: A specific revision of the nixpkgs repository. · github:edolstra/nix-warez?dir=blender: A flake in a subdirectory of a GitHub repository. · git+https://github.com/NixOS/patchelf: A Git repository. · git+https://github.com/NixOS/patchelf?ref=master: A specific branch of a Git repository. · git+https://github.com/NixOS/patchelf?ref=master&rev=f34751b88bd07d7f44f5cd3200fb4122bf916c7e: A specific branch and revision of a Git repository. · git+https://github.com/NixOS/patchelf?ref=refs/tags/0.18.0: A specific tag of a Git repository. · https://github.com/NixOS/patchelf/archive/master.tar.gz: A tarball flake. ## Path-like syntax Flakes corresponding to a local path can also be referred to by a direct path reference, either /absolute/path/to/the/flake or./relative/path/to/the/flake. Note that the leading ./ is mandatory for relative paths. If it is omitted, the path will be interpreted as URL-like syntax, which will cause error messages like this: │ error: cannot find flake 'flake:relative/path/to/the/flake' in the flake registries The semantic of such a path is as follows: · If the directory is part of a Git repository, then the input will be treated as a git+file: URL, otherwise it will be treated as a path: url; · If the directory doesn't contain a flake.nix file, then Nix will search for such a file upwards in the file system hierarchy until it finds any of: 1. The Git repository root, or 2. The filesystem root (/), or 3. A folder on a different mount point. Contrary to URL-like references, path-like flake references can contain arbitrary unicode characters (except # and ?). ### Examples · .: The flake to which the current directory belongs. · /home/alice/src/patchelf: A flake in some other directory. · ./../sub directory/with Ûñî©ôδ€: A flake in another relative directory that has Unicode characters in its name. ## Flake reference attributes The following generic flake reference attributes are supported: · dir: The subdirectory of the flake in which flake.nix is located. This parameter enables having multiple flakes in a repository or tarball. The default is the root directory of the flake. · narHash: The hash of the Nix Archive (NAR) serialisation (in SRI format) of the contents of the flake. This is useful for flake types such as tarballs that lack a unique content identifier such as a Git commit hash. In addition, the following attributes are common to several flake reference types: · rev: A Git or Mercurial commit hash. · ref: A Git or Mercurial branch or tag name. Finally, some attributes are typically not specified by the user, but can occur in locked flake references and are available to Nix code: · revCount: The number of ancestors of the commit rev. · lastModified: The timestamp (in seconds since the Unix epoch) of the last modification of this version of the flake. For Git/Mercurial flakes, this is the commit time of commit rev, while for tarball flakes, it's the most recent timestamp of any file inside the tarball. ## Types Currently the type attribute can be one of the following: · indirect: The default. These are symbolic references to flakes that are looked up in the flake registries. These have the form │ [flake:](/(/rev)?)? These perform a lookup of in the flake registry. For example, nixpkgs and nixpkgs/release-20.09 are indirect flake references. The specified rev and/or ref are merged with the entry in the registry; see nix registry for details. For example, these are valid indirect flake references: · nixpkgs · nixpkgs/nixos-unstable · nixpkgs/a3a3dda3bacf61e8a39258a0ed9c924eeca8e293 · nixpkgs/nixos-unstable/a3a3dda3bacf61e8a39258a0ed9c924eeca8e293 · sub/dir (if a flake named sub is in the registry) · path: arbitrary local directories. The required attribute path specifies the path of the flake. The URL form is │ path:(\?)? where path is an absolute path to a directory in the file system containing a file named flake.nix. If the flake at path is not inside a git repository, the path: prefix is implied and can be omitted. If path is a relative path (i.e. if it does not start with /), it is interpreted as follows: · If path is a command line argument, it is interpreted relative to the current directory. · If path is used in a flake.nix, it is interpreted relative to the directory containing that flake.nix. However, the resolved path must be in the same tree. For instance, a flake.nix in the root of a tree can use path:./foo to access the flake in subdirectory foo, but path:../bar is illegal. On the other hand, a flake in the /foo directory of a tree can use path:../bar to refer to the flake in /bar. Path inputs can be specified with path values in flake.nix. Path values are a syntax for path inputs, and they are converted by 1. resolving them into relative paths, relative to the base directory of flake.nix 2. escaping URL characters (refer to IETF RFC?) 3. prepending path: Note that the allowed syntax for path values in flake inputs may be more restrictive than general Nix, so you may need to use path: if your path contains certain special characters. See Path literals Note that if you omit path:, relative paths must start with . to avoid ambiguity with registry lookups (e.g. nixpkgs is a registry lookup; ./nixpkgs is a relative path). For example, these are valid path flake references: · path:/home/user/sub/dir · /home/user/sub/dir (if dir/flake.nix is not in a git repository) · path:sub/dir · ./sub/dir · path:../parent · git: Git repositories. The location of the repository is specified by the attribute url. They have the URL form │ git(+http|+https|+ssh|+git|+file):(//)?(\?)? If path starts with / (or ./ when used as an argument on the command line) and is a local path to a git repository, the leading git: or +file prefixes are implied and can be omitted. The ref attribute defaults to resolving the HEAD reference. The rev attribute must denote a commit that exists in the branch or tag specified by the ref attribute, since Nix doesn't do a full clone of the remote repository by default (and the Git protocol doesn't allow fetching a rev without a known ref). The default is the commit currently pointed to by ref. When git+file is used without specifying ref or rev, files are fetched directly from the local path as long as they have been added to the Git repository. If there are uncommitted changes, the reference is treated as dirty and a warning is printed. For example, the following are valid Git flake references: · git:/home/user/sub/dir · /home/user/sub/dir (if dir/flake.nix is in a git repository) · ./sub/dir (when used on the command line and dir/flake.nix is in a git repository) · git+https://example.org/my/repo · git+https://example.org/my/repo?dir=flake1 · git+https://example.org/my/repo?shallow=1 A shallow clone of the repository. For large repositories, the shallow clone option can significantly speed up fresh clones compared to non-shallow clones, while still providing faster updates than other fetch methods such as tarball: or github:. · git+ssh://git@github.com/NixOS/nix?ref=v1.2.3 · git://github.com/edolstra/dwarffs?ref=unstable&rev=e486d8d40e626a20e06d792db8cc5ac5aba9a5b4 · git+file:///home/my-user/some-repo/some-repo · mercurial: Mercurial repositories. The URL form is similar to the git type, except that the URL schema must be one of hg+http, hg+https, hg+ssh or hg+file. · tarball: Tarballs. The location of the tarball is specified by the attribute url. In URL form, the schema must be tarball+http://, tarball+https:// or tarball+file://. If the extension corresponds to a known archive format (.zip, .tar, .tgz, .tar.gz, .tar.xz, .tar.bz2 or .tar.zst), then the tarball+ can be dropped. This can also be used to set the location of gitea/forgejo branches. See here · file: Plain files or directory tarballs, either over http(s) or from the local disk. In URL form, the schema must be file+http://, file+https:// or file+file://. If the extension doesn’t correspond to a known archive format (as defined by the tarball fetcher), then the file+ prefix can be dropped. · github: A more efficient way to fetch repositories from GitHub. The following attributes are required: · owner: The owner of the repository. · repo: The name of the repository. These are downloaded as tarball archives, rather than through Git. This is often much faster and uses less disk space since it doesn't require fetching the entire history of the repository. On the other hand, it doesn't allow incremental fetching (but full downloads are often faster than incremental fetches!). The URL syntax for github flakes is: │ github:/(/)?(\?)? specifies the name of a branch or tag (ref), or a commit hash (rev). Note that unlike Git, GitHub allows fetching by commit hash without specifying a branch or tag. You can also specify host as a parameter, to point to a custom GitHub Enterprise server. Some examples: · github:edolstra/dwarffs · github:edolstra/dwarffs/unstable · github:edolstra/dwarffs/d3f2baba8f425779026c6ec04021b2e927f61e31 · github:internal/project?host=company-github.example.org · gitlab: Similar to github, is a more efficient way to fetch GitLab repositories. The following attributes are required: · owner: The owner of the repository. · repo: The name of the repository. Like github, these are downloaded as tarball archives. The URL syntax for gitlab flakes is: gitlab:/(/)?(\?)? works the same as github. Either a branch or tag name (ref), or a commit hash (rev) can be specified. Since GitLab allows for self-hosting, you can specify host as a parameter, to point to any instances other than gitlab.com. Some examples: · gitlab:veloren/veloren · gitlab:veloren/veloren/master · gitlab:veloren/veloren/80a4d7f13492d916e47d6195be23acae8001985a · gitlab:openldap/openldap?host=git.openldap.org When accessing a project in a (nested) subgroup, make sure to URL-encode any slashes, i.e. replace / with %2F: · gitlab:veloren%2Fdev/rfcs · sourcehut: Similar to github, is a more efficient way to fetch SourceHut repositories. The following attributes are required: · owner: The owner of the repository (including leading ~). · repo: The name of the repository. Like github, these are downloaded as tarball archives. The URL syntax for sourcehut flakes is: sourcehut:/(/)?(\?)? works the same as github. Either a branch or tag name (ref), or a commit hash (rev) can be specified. Since SourceHut allows for self-hosting, you can specify host as a parameter, to point to any instances other than git.sr.ht. Currently, ref name resolution only works for Git repositories. You can refer to Mercurial repositories by simply changing host to hg.sr.ht (or any other Mercurial instance). With the caveat that you must explicitly specify a commit hash (rev). Some examples: · sourcehut:~misterio/nix-colors · sourcehut:~misterio/nix-colors/main · sourcehut:~misterio/nix-colors?host=git.example.org · sourcehut:~misterio/nix-colors/182b4b8709b8ffe4e9774a4c5d6877bf6bb9a21c · sourcehut:~misterio/nix-colors/21c1a380a6915d890d408e9f22203436a35bb2de?host=hg.sr.ht Flake format As an example, here is a simple flake.nix that depends on the Nixpkgs flake and provides a single package (i.e. an installable derivation): │ { │ description = "A flake for building Hello World"; │ │ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.03"; │ │ outputs = { self, nixpkgs }: { │ │ packages.x86_64-linux.default = │ # Notice the reference to nixpkgs here. │ with import nixpkgs { system = "x86_64-linux"; }; │ stdenv.mkDerivation { │ name = "hello"; │ src = self; │ buildPhase = "gcc -o hello ./hello.c"; │ installPhase = "mkdir -p $out/bin; install -t $out/bin hello"; │ }; │ │ }; │ } The following attributes are supported in flake.nix: · description: A short, one-line description of the flake. · inputs: An attrset specifying the dependencies of the flake (described below). · outputs: A function that, given an attribute set containing the outputs of each of the input flakes keyed by their identifier, yields the Nix values provided by this flake. Thus, in the example above, inputs.nixpkgs contains the result of the call to the outputs function of the nixpkgs flake. In addition to the outputs of each input, each input in inputs also contains some metadata about the inputs. These are: · outPath: The path in the Nix store of the flake's source tree. This way, the attribute set can be passed to import as if it was a path, as in the example above (import nixpkgs). · rev: The commit hash of the flake's repository, if applicable. · revCount: The number of ancestors of the revision rev. This is not available for github repositories, since they're fetched as tarballs rather than as Git repositories. · lastModifiedDate: The commit time of the revision rev, in the format %Y%m%d%H%M%S (e.g. 20181231100934). Unlike revCount, this is available for both Git and GitHub repositories, so it's useful for generating (hopefully) monotonically increasing version strings. · lastModified: The commit time of the revision rev as an integer denoting the number of seconds since 1970. · narHash: The SHA-256 (in SRI format) of the Nix Archive (NAR) serialisation NAR serialization of the flake's source tree. The value returned by the outputs function must be an attribute set. The attributes can have arbitrary values; however, various nix subcommands require specific attributes to have a specific value (e.g. packages.x86_64-linux must be an attribute set of derivations built for the x86_64-linux platform). · nixConfig: a set of nix.conf options to be set when evaluating any part of a flake. In the interests of security, only a small set of set of options is allowed to be set without confirmation so long as accept-flake-config is not enabled in the global configuration: · bash-prompt · bash-prompt-prefix · bash-prompt-suffix · flake-registry · commit-lock-file-summary ## Flake inputs The attribute inputs specifies the dependencies of a flake, as an attrset mapping input names to flake references. For example, the following specifies a dependency on the nixpkgs and import-cargo repositories: │ # A GitHub repository. │ inputs.import-cargo = { │ type = "github"; │ owner = "edolstra"; │ repo = "import-cargo"; │ }; │ │ # An indirection through the flake registry. │ inputs.nixpkgs = { │ type = "indirect"; │ id = "nixpkgs"; │ }; Alternatively, you can use the URL-like syntax: │ inputs.import-cargo.url = "github:edolstra/import-cargo"; │ inputs.nixpkgs.url = "nixpkgs"; Each input is fetched, evaluated and passed to the outputs function as a set of attributes with the same name as the corresponding input. The special input named self refers to the outputs and source tree of this flake. Thus, a typical outputs function looks like this: │ outputs = { self, nixpkgs, import-cargo }: { │ ... outputs ... │ }; It is also possible to omit an input entirely and only list it as expected function argument to outputs. Thus, │ outputs = { self, nixpkgs }: ...; without an inputs.nixpkgs attribute is equivalent to │ inputs.nixpkgs = { │ type = "indirect"; │ id = "nixpkgs"; │ }; Repositories that don't contain a flake.nix can also be used as inputs, by setting the input's flake attribute to false: │ inputs.grcov = { │ type = "github"; │ owner = "mozilla"; │ repo = "grcov"; │ flake = false; │ }; │ │ outputs = { self, nixpkgs, grcov }: { │ packages.x86_64-linux.grcov = stdenv.mkDerivation { │ src = grcov; │ ... │ }; │ }; Transitive inputs can be overridden from a flake.nix file. For example, the following overrides the nixpkgs input of the nixops input: │ inputs.nixops.inputs.nixpkgs = { │ type = "github"; │ owner = "my-org"; │ repo = "nixpkgs"; │ }; It is also possible to "inherit" an input from another input. This is useful to minimize flake dependencies. For example, the following sets the nixpkgs input of the top-level flake to be equal to the nixpkgs input of the dwarffs input of the top-level flake: │ inputs.nixpkgs.follows = "dwarffs/nixpkgs"; The value of the follows attribute is a /-separated sequence of input names denoting the path of inputs to be followed from the root flake. ## Self-attributes Flakes can declare attributes about themselves that affect how they are fetched. These attributes are specified using the special self input and are retroactively applied to it: │ { │ inputs.self.submodules = true; │ inputs.self.lfs = true; │ } The following self-attributes are supported: · submodules: A Boolean denoting whether Git submodules should be fetched when this flake is used as an input. When set to true, Git submodules will be automatically fetched without requiring callers to specify submodules=1 in the flake reference URL. Defaults to false. · lfs: A Boolean denoting whether Git LFS (Large File Storage) files should be fetched when this flake is used as an input. When set to true, Git LFS files will be automatically fetched. Defaults to false. These self-attributes eliminate the need for consumers of your flake to manually specify fetching options in their flake references. Overrides and follows can be combined, e.g. │ inputs.nixops.inputs.nixpkgs.follows = "dwarffs/nixpkgs"; sets the nixpkgs input of nixops to be the same as the nixpkgs input of dwarffs. It is worth noting, however, that it is generally not useful to eliminate transitive nixpkgs flake inputs in this way. Most flakes provide their functionality through Nixpkgs overlays or NixOS modules, which are composed into the top-level flake's nixpkgs input; so their own nixpkgs input is usually irrelevant. Lock files Inputs specified in flake.nix are typically "unlocked" in the sense that they don't specify an exact revision. To ensure reproducibility, Nix will automatically generate and use a lock file called flake.lock in the flake's directory. The lock file is a UTF-8 JSON file. It contains a graph structure isomorphic to the graph of dependencies of the root flake. Each node in the graph (except the root node) maps the (usually) unlocked input specifications in flake.nix to locked input specifications. Each node also contains some metadata, such as the dependencies (outgoing edges) of the node. For example, if flake.nix has the inputs in the example above, then the resulting lock file might be: │ { │ "version": 7, │ "root": "n1", │ "nodes": { │ "n1": { │ "inputs": { │ "nixpkgs": "n2", │ "import-cargo": "n3", │ "grcov": "n4" │ } │ }, │ "n2": { │ "inputs": {}, │ "locked": { │ "owner": "edolstra", │ "repo": "nixpkgs", │ "rev": "7f8d4b088e2df7fdb6b513bc2d6941f1d422a013", │ "type": "github", │ "lastModified": 1580555482, │ "narHash": "sha256-OnpEWzNxF/AU4KlqBXM2s5PWvfI5/BS6xQrPvkF5tO8=" │ }, │ "original": { │ "id": "nixpkgs", │ "type": "indirect" │ } │ }, │ "n3": { │ "inputs": {}, │ "locked": { │ "owner": "edolstra", │ "repo": "import-cargo", │ "rev": "8abf7b3a8cbe1c8a885391f826357a74d382a422", │ "type": "github", │ "lastModified": 1567183309, │ "narHash": "sha256-wIXWOpX9rRjK5NDsL6WzuuBJl2R0kUCnlpZUrASykSc=" │ }, │ "original": { │ "owner": "edolstra", │ "repo": "import-cargo", │ "type": "github" │ } │ }, │ "n4": { │ "inputs": {}, │ "locked": { │ "owner": "mozilla", │ "repo": "grcov", │ "rev": "989a84bb29e95e392589c4e73c29189fd69a1d4e", │ "type": "github", │ "lastModified": 1580729070, │ "narHash": "sha256-235uMxYlHxJ5y92EXZWAYEsEb6mm+b069GAd+BOIOxI=" │ }, │ "original": { │ "owner": "mozilla", │ "repo": "grcov", │ "type": "github" │ }, │ "flake": false │ } │ } │ } This graph has 4 nodes: the root flake, and its 3 dependencies. The nodes have arbitrary labels (e.g. n1). The label of the root node of the graph is specified by the root attribute. Nodes contain the following fields: · inputs: The dependencies of this node, as a mapping from input names (e.g. nixpkgs) to node labels (e.g. n2). · original: The original input specification from flake.nix, as a set of builtins.fetchTree arguments. · locked: The locked input specification, as a set of builtins.fetchTree arguments. Thus, in the example above, when we build this flake, the input nixpkgs is mapped to revision 7f8d4b088e2df7fdb6b513bc2d6941f1d422a013 of the edolstra/nixpkgs repository on GitHub. It also includes the attribute narHash, specifying the expected contents of the tree in the Nix store (as computed by nix hash-path), and may include input-type-specific attributes such as the lastModified or revCount. The main reason for these attributes is to allow flake inputs to be substituted from a binary cache: narHash allows the store path to be computed, while the other attributes are necessary because they provide information not stored in the store path. The attributes in locked are considered "final", meaning that they are the only ones that are passed via the arguments of the outputs function of a flake. For instance, if locked contains a lastModified attribute while the fetcher does not return a lastModified attribute, then the lastModified attribute will be passed to the outputs function. Conversely, if locked does not contain a lastModified attribute while the fetcher does return a lastModified attribute, then no lastModified attribute will be passed. If locked contains a lastModified attribute and the fetcher returns a lastModified attribute, then they must have the same value. · flake: A Boolean denoting whether this is a flake or non-flake dependency. Corresponds to the flake attribute in the inputs attribute in flake.nix. The original and locked attributes are omitted for the root node. This is because we cannot record the commit hash or content hash of the root flake, since modifying flake.lock will invalidate these. The graph representation of lock files allows circular dependencies between flakes. For example, here are two flakes that reference each other: │ { │ inputs.b = ... location of flake B ...; │ # Tell the 'b' flake not to fetch 'a' again, to ensure its 'a' is │ # *this* 'a'. │ inputs.b.inputs.a.follows = ""; │ outputs = { self, b }: { │ foo = 123 + b.bar; │ xyzzy = 1000; │ }; │ } and │ { │ inputs.a = ... location of flake A ...; │ inputs.a.inputs.b.follows = ""; │ outputs = { self, a }: { │ bar = 456 + a.xyzzy; │ }; │ } Lock files transitively lock direct as well as indirect dependencies. That is, if a lock file exists and is up to date, Nix will not look at the lock files of dependencies. However, lock file generation itself does use the lock files of dependencies by default. Options ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix flake archive - copy a flake and all its inputs to a store Synopsis nix flake archive [option...] flake-url Examples · Copy the dwarffs flake and its dependencies to a binary cache: │ # nix flake archive --to file:///tmp/my-cache dwarffs · Fetch the dwarffs flake and its dependencies to the local Nix store: │ # nix flake archive dwarffs · Print the store paths of the flake sources of NixOps without fetching them: │ # nix flake archive --json --dry-run nixops · Upload all flake inputs to a different machine for remote evaluation │ # nix flake archive --to ssh://some-machine On the remote machine the flake can then be accessed via its store path. That's computed like this: │ # nix flake metadata --json | jq -r '.path' Description Copy a flake and all its inputs to a store. This is useful i.e. to evaluate flakes on a different host. Options · --dry-run Show what this command would do without doing it. · --json Produce output in JSON format, suitable for consumption by another program. · --no-check-sigs Do not require that paths are signed by trusted keys. · --no-pretty Print compact JSON output on a single line, even when the output is a terminal. Some commands may print multiple JSON objects on separate lines. │ See `--pretty`. · --pretty Print multi-line, indented JSON output for readability. │ Default: indent if output is to a terminal. │ │ This option is only effective when `--json` is also specified. · --to store-uri URI of the destination Nix store ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix flake check - check whether the flake evaluates and run its tests Synopsis nix flake check [option...] flake-url Examples · Evaluate the flake in the current directory, and build its checks: │ # nix flake check · Verify that the patchelf flake evaluates, but don't build its checks: │ # nix flake check --no-build github:NixOS/patchelf Description This command verifies that the flake specified by flake reference flake-url can be evaluated successfully (as detailed below), and that the derivations specified by the flake's checks output can be built successfully. If the keep-going option is set to true, Nix will keep evaluating as much as it can and report the errors as it encounters them. Otherwise it will stop at the first error. Evaluation checks The following flake output attributes must be derivations: · checks.system.name · devShells.system.default · devShells.system.name · nixosConfigurations.name.config.system.build.toplevel · packages.system.default · packages.system.name The following flake output attributes must be app definitions: · apps.system.default · apps.system.name The following flake output attributes must be template definitions: · templates.default · templates.name The following flake output attributes must be Nixpkgs overlays: · overlays.default · overlays.name The following flake output attributes must be NixOS modules: · nixosModules.default · nixosModules.name The following flake output attributes must be bundlers: · bundlers.default · bundlers.name Old default attributes are renamed, they will work but will emit a warning: · defaultPackage. → packages.system.default · defaultApps. → apps.system.default · defaultTemplate → templates.default · defaultBundler. → bundlers.system.default · overlay → overlays.default · devShell. → devShells.system.default · nixosModule → nixosModules.default In addition, the hydraJobs output is evaluated in the same way as Hydra's hydra-eval-jobs (i.e. as a arbitrarily deeply nested attribute set of derivations). Similarly, the legacyPackages.system output is evaluated like nix-env --query --available. Options · --all-systems Check the outputs for all systems. · --no-build Do not build checks. · --out-link / -o path Use path as prefix for the symlinks to the check results. By default, no out links are created. · --print-out-paths Print the resulting output paths ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix flake clone - clone flake repository Synopsis nix flake clone [option...] flake-url Examples · Check out the source code of the dwarffs flake and build it: │ # nix flake clone dwarffs --dest dwarffs │ # cd dwarffs │ # nix build Description This command performs a Git or Mercurial clone of the repository containing the source code of the flake flake-url. Options · --dest / -f path Clone the flake to path dest. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix flake info - show flake metadata Synopsis nix flake info [option...] flake-url Examples · Show what dwarffs resolves to: │ # nix flake metadata dwarffs │ Resolved URL: github:edolstra/dwarffs │ Locked URL: github:edolstra/dwarffs/f691e2c991e75edb22836f1dbe632c40324215c5 │ Description: A filesystem that fetches DWARF debug info from the Internet on demand │ Path: /nix/store/vdyf2s1pygcl4y3dn3bm9wy7mnl8hxcv-source │ Revision: f691e2c991e75edb22836f1dbe632c40324215c5 │ Last modified: 2021-01-21 15:41:26 │ Inputs: │ ├───nix: github:NixOS/nix/6254b1f5d298ff73127d7b0f0da48f142bdc753c │ │ ├───lowdown-src: github:kristapsdz/lowdown/1705b4a26fbf065d9574dce47a94e8c7c79e052f │ │ └───nixpkgs: github:NixOS/nixpkgs/ad0d20345219790533ebe06571f82ed6b034db31 │ └───nixpkgs follows input 'nix/nixpkgs' · Show information about dwarffs in JSON format: │ # nix flake metadata dwarffs --json | jq . │ { │ "description": "A filesystem that fetches DWARF debug info from the Internet on demand", │ "lastModified": 1597153508, │ "locked": { │ "lastModified": 1597153508, │ "narHash": "sha256-VHg3MYVgQ12LeRSU2PSoDeKlSPD8PYYEFxxwkVVDRd0=", │ "owner": "edolstra", │ "repo": "dwarffs", │ "rev": "d181d714fd36eb06f4992a1997cd5601e26db8f5", │ "type": "github" │ }, │ "locks": { ... }, │ "original": { │ "id": "dwarffs", │ "type": "indirect" │ }, │ "originalUrl": "flake:dwarffs", │ "path": "/nix/store/l06r23gw4psl1f547il2hbnwnxaplbaz-source", │ "resolved": { │ "owner": "edolstra", │ "repo": "dwarffs", │ "type": "github" │ }, │ "resolvedUrl": "github:edolstra/dwarffs", │ "revision": "d181d714fd36eb06f4992a1997cd5601e26db8f5", │ "url": "github:edolstra/dwarffs/d181d714fd36eb06f4992a1997cd5601e26db8f5" │ } Description This command shows information about the flake specified by the flake reference flake-url. It resolves the flake reference using the flake registry, fetches it, and prints some meta data. This includes: · Resolved URL: If flake-url is a flake identifier, then this is the flake reference that specifies its actual location, looked up in the flake registry. · Locked URL: A flake reference that contains a commit or content hash and thus uniquely identifies a specific flake version. · Description: A one-line description of the flake, taken from the description field in flake.nix. · Path: The store path containing the source code of the flake. · Revision: The Git or Mercurial commit hash of the locked flake. · Revisions: The number of ancestors of the Git or Mercurial commit of the locked flake. Note that this is not available for github flakes. · Last modified: For Git or Mercurial flakes, this is the commit time of the commit of the locked flake; for tarball flakes, it's the most recent timestamp of any file inside the tarball. · Inputs: The flake inputs with their corresponding lock file entries. With --json, the output is a JSON object with the following fields: · original and originalUrl: The flake reference specified by the user (flake-url) in attribute set and URL representation. · resolved and resolvedUrl: The resolved flake reference (see above) in attribute set and URL representation. · locked and lockedUrl: The locked flake reference (see above) in attribute set and URL representation. · description: See Description above. · path: See Path above. · revision: See Revision above. · revCount: See Revisions above. · lastModified: See Last modified above. · locks: The contents of flake.lock. Options · --json Produce output in JSON format, suitable for consumption by another program. · --no-pretty Print compact JSON output on a single line, even when the output is a terminal. Some commands may print multiple JSON objects on separate lines. │ See `--pretty`. · --pretty Print multi-line, indented JSON output for readability. │ Default: indent if output is to a terminal. │ │ This option is only effective when `--json` is also specified. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --no-write-lock-file Do not write the flake's newly generated lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix flake init - create a flake in the current directory from a template Synopsis nix flake init [option...] Examples · Create a flake using the default template: │ # nix flake init · List available templates: │ # nix flake show templates · Create a flake from a specific template: │ # nix flake init -t templates#simpleContainer Description This command creates a flake in the current directory by copying the files of a template. It will not overwrite existing files. The default template is templates#templates.default, but this can be overridden using -t. Template definitions A flake can declare templates through its templates output attribute. A template has the following attributes: · description: A one-line description of the template, in CommonMark syntax. · path: The path of the directory to be copied. · welcomeText: A block of markdown text to display when a user initializes a new flake based on this template. Here is an example: │ outputs = { self }: { │ │ templates.rust = { │ path = ./rust; │ description = "A simple Rust/Cargo project"; │ welcomeText = '' │ # Simple Rust/Cargo Template │ ## Intended usage │ The intended usage of this flake is... │ │ ## More info │ - [Rust language](https://www.rust-lang.org/) │ - [Rust on the NixOS Wiki](https://wiki.nixos.org/wiki/Rust) │ - ... │ ''; │ }; │ │ templates.default = self.templates.rust; │ } Options · --template / -t template The template to use. ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. │ Warning │ This program is experimental and its interface is │ subject to change. Name nix flake lock - create missing lock file entries Synopsis nix flake lock [option...] flake-url Examples · Create the lock file for the flake in the current directory: │ # nix flake lock │ warning: creating lock file '/home/myself/repos/testflake/flake.lock': │ • Added input 'nix': │ 'github:NixOS/nix/9fab14adbc3810d5cc1f88672fde1eee4358405c' (2023-06-28) │ • Added input 'nixpkgs': │ 'github:NixOS/nixpkgs/3d2d8f281a27d466fa54b469b5993f7dde198375' (2023-06-30) · Add missing inputs to the lock file for a flake in a different directory: │ # nix flake lock ~/repos/another │ warning: updating lock file '/home/myself/repos/another/flake.lock': │ • Added input 'nixpkgs': │ 'github:NixOS/nixpkgs/3d2d8f281a27d466fa54b469b5993f7dde198375' (2023-06-30) │ Note │ │ When trying to refer to a flake in a subdirectory, │ write ./another instead of another. Otherwise Nix │ will try to look up the flake in the registry. Description This command updates the lock file of a flake (flake.lock) so that it contains an up-to-date lock for every flake input specified in flake.nix. Lock file entries are already up-to-date are not modified. If you want to update existing lock entries, use nix flake update Options ## Common evaluation options · --arg name expr Pass the value expr as the argument name to Nix functions. · --arg-from-file name path Pass the contents of file path as the argument name to Nix functions. · --arg-from-stdin name Pass the contents of stdin as the argument name to Nix functions. · --argstr name string Pass the string string as the argument name to Nix functions. · --debugger Start an interactive environment if evaluation fails. · --eval-store store-url The URL of the Nix store to use for evaluation, i.e. to store derivations (.drv files) and inputs referenced by them. · --impure Allow access to mutable paths and repositories. · --include / -I path Add path to search path entries used to resolve lookup paths This option may be given multiple times. Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable. · --override-flake original-ref resolved-ref Override the flake registries, redirecting original-ref to resolved-ref. ## Common flake-related options · --commit-lock-file Commit changes to the flake's lock file. · --inputs-from flake-url Use the inputs of the specified flake as registry entries. · --no-registries Don't allow lookups in the flake registries. │ DEPRECATED │ │ Use --no-use-registries instead. · --no-update-lock-file Do not allow any updates to the flake's lock file. · --output-lock-file flake-lock-path Write the given lock file instead of flake.lock within the top-level flake. · --override-input input-path flake-url Override a specific flake input (e.g. dwarffs/nixpkgs). The input path must not be empty. This implies --no-write-lock-file. · --recreate-lock-file Recreate the flake's lock file from scratch. │ DEPRECATED │ │ Use nix flake update instead. · --reference-lock-file flake-lock-path Read the given lock file instead of flake.lock within the top-level flake. · --update-input input-path Update a specific flake input (ignoring its previous entry in the lock file). │ DEPRECATED │ │ Use nix flake update instead. ## Logging-related options · --debug Set the logging verbosity level to 'debug'. · --log-format format Set the format of log output; one of raw, internal-json, bar or bar-with-logs. · --print-build-logs / -L Print full build logs on standard error. · --quiet Decrease the logging verbosity level. · --verbose / -v Increase the logging verbosity level. ## Miscellaneous global options · --help Show usage information. · --offline Disable substituters and consider all previously downloaded files up-to-date. · --option name value Set the Nix configuration setting name to value (overriding nix.conf). · --refresh Consider all previously downloaded files out-of-date. · --repair During evaluation, rewrite missing or corrupted files in the Nix store. During building, rebuild missing or corrupted store paths. · --version Show version information. │ Note │ │ See man nix.conf for overriding configuration settings │ with command line flags. stderr: +(help.sh:3) source common.sh ++(common.sh:3) set -eu -o pipefail ++(common.sh:5) [[ -z '' ]] ++(common.sh:7) COMMON_SH_SOURCED=1 ++++(common.sh:9) dirname common.sh +++(common.sh:9) readlink -f . ++(common.sh:9) functionalTestsDir=/build/source/tests/functional ++(common.sh:11) source /build/source/tests/functional/common/vars.sh +++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] +++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional +++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build +++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build +++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh ++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] ++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= ++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox ++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b ++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux +++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' +++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system +++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat +++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat +++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh ++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh +++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR ++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] ++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] ++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh ++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=main/help +++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test ++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/main/help ++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT +++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/main/help/etc +++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/main/help/etc/nix.conf +++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/main/help/test-home +++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/main/help/test-home +++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR ++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/main/help/store +++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= +++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/main/help/store +++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/main/help/var +++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/main/help/var +++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/main/help/var/log/nix +++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/main/help/var/log/nix +++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/main/help/var/nix +++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/main/help/var/nix +++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/main/help/etc +++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/main/help/etc +++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/help/dSocket +++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/help/dSocket +++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES +++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/main/help/shared +++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/main/help/shared +++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] +++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/main/help/shared +++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/main/help/shared +++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH +++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/main/help/test-home +++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/main/help/test-home +++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME +++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME +++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME +++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS +++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME +++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR +++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/main/help/binary-cache ++++(/build/source/tests/functional/common/vars.sh:78) uname +++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] +++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] +++(/build/source/tests/functional/common/vars.sh:78) unshare --user true +++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 +++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/main/help/config.nix ++(common.sh:12) source /build/source/tests/functional/common/functions.sh +++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] ++(common.sh:13) source /build/source/tests/functional/common/init.sh +++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/main/help/etc /build/nix-test/main/help/etc/nix.conf /build/nix-test/main/help/config.nix +++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/main/help +++(/build/source/tests/functional/common/init.sh:31) killDaemon +++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] +++(/build/source/tests/functional/common/functions.sh:106) return +++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/main/help ]] +++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/main/help +++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/main/help/test-home +++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/main/help/store +++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/main/help/var +++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/main/help/var/log/nix/drvs +++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/main/help/var/nix +++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/main/help/etc +++(/build/source/tests/functional/common/init.sh:46) cat ++++(/build/source/tests/functional/common/init.sh:46) whoami +++(/build/source/tests/functional/common/init.sh:59) cat +++(/build/source/tests/functional/common/init.sh:67) nix-store --init +++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/main/help/var/nix/db/db.sqlite +++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test main / help' +++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix ++(common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++(common.sh:16) startDaemon ++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS ++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] ++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/main/help/dSocket ++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=8324 ++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID ++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/help/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:84) kill -0 8324 ++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 ++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features ++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/help/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 ++(/build/source/tests/functional/common/functions.sh:82) break ++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] ++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT ++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= ++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon ++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon +(help.sh:19) nix __dump-cli +(help.sh:19) subcommands +(help.sh:6) jq -r $'\ndef recurse($prefix):\n to_entries[] |\n ($prefix + [.key]) as $newPrefix |\n (if .value | has("commands") then\n ($newPrefix, (.value.commands | recurse($newPrefix)))\n else\n $newPrefix\n end);\n.args.commands | recurse([]) | join(" ")\n' +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix build --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix bundle --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix config --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix config check --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix config show --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix copy --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix daemon --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix derivation --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix derivation add --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix derivation show --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix develop --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix edit --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix env --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix env shell --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix eval --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix flake --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix flake archive --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix flake check --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix flake clone --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix flake info --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix flake init --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix flake lock --help +(help.sh:19) IFS= +(help.sh:19) read -r cmd +(help.sh:21) nix flake metadata --help GC Warning: Marker thread creation failed error: Resource temporarily unavailable ++(help.sh:19) onError ++(/build/source/tests/functional/common/functions.sh:242) [[ ehuxB == *e* ]] ++(/build/source/tests/functional/common/functions.sh:243) set +x help.sh: test failed at: main in help.sh:19 shutting down ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 102/221 main - nix-functional-tests:fetchGit FAIL 4.22s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TEST_SUITE_NAME=main MALLOC_PERTURB_=17 MESON_TEST_ITERATION=1 NIX_REMOTE='' ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional TEST_NAME=fetchGit UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail fetchGit.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: Initialized empty Git repository in /build/nix-test/main/fetchGit/git/.git/ [master (root-commit) d3c0f7d] Bla1 2 files changed, 1 insertion(+) create mode 100644 .gitignore create mode 100644 hello [master 4e55289] Bla2 1 file changed, 1 insertion(+), 1 deletion(-) HEAD is now at 4e55289 Bla2 false [devtest af9d949] Test2 1 file changed, 1 insertion(+) create mode 100644 differentbranch /build/nix-test/main/fetchGit/store/gby5dvpah9l5gr79vsyn797qfx2rhf75-source stderr: +(fetchGit.sh:3) source common.sh ++(common.sh:3) set -eu -o pipefail ++(common.sh:5) [[ -z '' ]] ++(common.sh:7) COMMON_SH_SOURCED=1 ++++(common.sh:9) dirname common.sh +++(common.sh:9) readlink -f . ++(common.sh:9) functionalTestsDir=/build/source/tests/functional ++(common.sh:11) source /build/source/tests/functional/common/vars.sh +++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] +++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional +++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build +++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build +++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh ++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] ++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= ++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox ++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b ++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux +++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' +++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system +++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat +++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat +++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh ++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh +++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR ++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] ++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] ++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh ++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=main/fetchGit +++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test ++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/main/fetchGit ++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT +++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/main/fetchGit/etc +++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/main/fetchGit/etc/nix.conf +++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/main/fetchGit/test-home +++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/main/fetchGit/test-home +++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR ++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/main/fetchGit/store +++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= +++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/main/fetchGit/store +++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/main/fetchGit/var +++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/main/fetchGit/var +++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/main/fetchGit/var/log/nix +++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/main/fetchGit/var/log/nix +++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/main/fetchGit/var/nix +++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/main/fetchGit/var/nix +++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/main/fetchGit/etc +++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/main/fetchGit/etc +++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/fetchGit/dSocket +++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/fetchGit/dSocket +++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES +++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/main/fetchGit/shared +++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/main/fetchGit/shared +++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] +++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/main/fetchGit/shared +++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/main/fetchGit/shared +++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH +++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/main/fetchGit/test-home +++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/main/fetchGit/test-home +++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME +++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME +++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME +++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS +++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME +++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR +++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/main/fetchGit/binary-cache ++++(/build/source/tests/functional/common/vars.sh:78) uname +++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] +++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] +++(/build/source/tests/functional/common/vars.sh:78) unshare --user true +++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 +++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/main/fetchGit/config.nix ++(common.sh:12) source /build/source/tests/functional/common/functions.sh +++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] ++(common.sh:13) source /build/source/tests/functional/common/init.sh +++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/main/fetchGit/etc /build/nix-test/main/fetchGit/etc/nix.conf /build/nix-test/main/fetchGit/config.nix +++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/main/fetchGit +++(/build/source/tests/functional/common/init.sh:31) killDaemon +++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] +++(/build/source/tests/functional/common/functions.sh:106) return +++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/main/fetchGit ]] +++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/main/fetchGit +++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/main/fetchGit/test-home +++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/main/fetchGit/store +++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/main/fetchGit/var +++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/main/fetchGit/var/log/nix/drvs +++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/main/fetchGit/var/nix +++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/main/fetchGit/etc +++(/build/source/tests/functional/common/init.sh:46) cat ++++(/build/source/tests/functional/common/init.sh:46) whoami +++(/build/source/tests/functional/common/init.sh:59) cat +++(/build/source/tests/functional/common/init.sh:67) nix-store --init +++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/main/fetchGit/var/nix/db/db.sqlite +++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test main / fetchGit' +++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix ++(common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++(common.sh:16) startDaemon ++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS ++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] ++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/main/fetchGit/dSocket ++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=4905 ++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID ++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/fetchGit/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:84) kill -0 4905 ++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 ++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features ++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/fetchGit/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 ++(/build/source/tests/functional/common/functions.sh:82) break ++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] ++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT ++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= ++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon ++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon +(fetchGit.sh:5) requireGit ++(/build/source/tests/functional/common/functions.sh:166) type -p git +(/build/source/tests/functional/common/functions.sh:166) [[ -n /nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin/git ]] +(fetchGit.sh:9) repo=/build/nix-test/main/fetchGit/./git +(fetchGit.sh:11) export _NIX_FORCE_HTTP=1 +(fetchGit.sh:11) _NIX_FORCE_HTTP=1 +(fetchGit.sh:13) createGitRepo /build/nix-test/main/fetchGit/./git +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/main/fetchGit/./git +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/main/fetchGit/./git /build/nix-test/main/fetchGit/./git.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/main/fetchGit/./git +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/main/fetchGit/./git +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/main/fetchGit/./git +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/main/fetchGit/./git init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/main/fetchGit/./git config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/main/fetchGit/./git config user.name Foobar +(fetchGit.sh:15) echo utrecht +(fetchGit.sh:16) touch /build/nix-test/main/fetchGit/./git/.gitignore +(fetchGit.sh:17) git -C /build/nix-test/main/fetchGit/./git add hello .gitignore +(fetchGit.sh:18) git -C /build/nix-test/main/fetchGit/./git commit -m Bla1 ++(fetchGit.sh:19) git -C /build/nix-test/main/fetchGit/./git rev-parse HEAD +(fetchGit.sh:19) rev1=d3c0f7d01492a58e7fc92e2f697da03fe7ceecaa +(fetchGit.sh:20) git -C /build/nix-test/main/fetchGit/./git tag -a tag1 -m tag1 +(fetchGit.sh:22) echo world +(fetchGit.sh:23) git -C /build/nix-test/main/fetchGit/./git commit -m Bla2 -a +(fetchGit.sh:24) git -C /build/nix-test/main/fetchGit/./git worktree add /build/nix-test/main/fetchGit/worktree Preparing worktree (new branch 'worktree') +(fetchGit.sh:25) echo hello ++(fetchGit.sh:26) git -C /build/nix-test/main/fetchGit/./git rev-parse HEAD +(fetchGit.sh:26) rev2=4e5528924d8554fba5015415f732840248d70108 +(fetchGit.sh:27) git -C /build/nix-test/main/fetchGit/./git tag -a tag2 -m tag2 +(fetchGit.sh:30) nix-instantiate --eval -E 'builtins.readFile ((builtins.fetchGit "file:///build/nix-test/main/fetchGit/worktree") + "/hello") == "utrecht\n"' remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (6/6), done. remote: Total 9 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) From file:///build/nix-test/main/fetchGit/worktree * [new branch] worktree -> worktree * [new tag] tag2 -> tag2 * [new tag] tag1 -> tag1 accepted connection from pid 7785, user nixbld (trusted) shutting downreaped child process 10033, status = succeeded +(fetchGit.sh:33) unset _NIX_FORCE_HTTP +(fetchGit.sh:34) expectStderr 0 nix eval -vvvv --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/main/fetchGit/worktree").outPath' +(/build/source/tests/functional/common/functions.sh:201) local expected res +(/build/source/tests/functional/common/functions.sh:202) expected=0 +(/build/source/tests/functional/common/functions.sh:203) shift +(/build/source/tests/functional/common/functions.sh:204) nix eval -vvvv --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/main/fetchGit/worktree").outPath' +(fetchGit.sh:34) grepQuiet 'copying '\''/build/nix-test/main/fetchGit/worktree'\'' to the store' +(/build/source/tests/functional/common/functions.sh:330) checkGrepArgs 'copying '\''/build/nix-test/main/fetchGit/worktree'\'' to the store' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ copying '/build/nix-test/main/fetchGit/worktree' to the store != copying '/build/nix\-test/main/fetchGit/worktree' to the store ]] +(/build/source/tests/functional/common/functions.sh:331) command grep 'copying '\''/build/nix-test/main/fetchGit/worktree'\'' to the store' accepted connection from pid 10535, user nixbld (trusted) received daemon op 11 received daemon op 1 received daemon op 7 received daemon op 26 5 operations shutting downreaped child process 11214, status = succeeded +(/build/source/tests/functional/common/functions.sh:204) res=0 +(/build/source/tests/functional/common/functions.sh:206) [[ 0 -ne 0 ]] +(/build/source/tests/functional/common/functions.sh:210) return 0 ++(fetchGit.sh:35) nix eval --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/main/fetchGit/worktree").outPath' warning: you don't have Internet access; disabling some network-dependent features warning: Git tree '/build/nix-test/main/fetchGit/worktree' is dirty accepted connection from pid 11683, user nixbld (trusted) shutting downreaped child process 12509, status = succeeded +(fetchGit.sh:35) path0=/build/nix-test/main/fetchGit/store/chf8nc1h3qf0md44b9a4lav78qr8yd9i-source ++(fetchGit.sh:36) nix eval --impure --raw --expr '(builtins.fetchTree { type = "git"; url = "file:///build/nix-test/main/fetchGit/worktree"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features warning: Git tree '/build/nix-test/main/fetchGit/worktree' is dirty accepted connection from pid 12739, user nixbld (trusted) shutting downreaped child process 13840, status = succeeded +(fetchGit.sh:36) path0_=/build/nix-test/main/fetchGit/store/chf8nc1h3qf0md44b9a4lav78qr8yd9i-source +(fetchGit.sh:37) [[ /build/nix-test/main/fetchGit/store/chf8nc1h3qf0md44b9a4lav78qr8yd9i-source = /build/nix\-test/main/fetchGit/store/chf8nc1h3qf0md44b9a4lav78qr8yd9i\-source ]] ++(fetchGit.sh:38) nix eval --impure --raw --expr '(builtins.fetchTree "git+file:///build/nix-test/main/fetchGit/worktree").outPath' warning: you don't have Internet access; disabling some network-dependent features warning: Git tree '/build/nix-test/main/fetchGit/worktree' is dirty accepted connection from pid 14237, user nixbld (trusted) shutting down+(fetchGit.sh:38) path0_=/build/nix-test/main/fetchGit/store/chf8nc1h3qf0md44b9a4lav78qr8yd9i-source +(fetchGit.sh:39) [[ /build/nix-test/main/fetchGit/store/chf8nc1h3qf0md44b9a4lav78qr8yd9i-source = /build/nix\-test/main/fetchGit/store/chf8nc1h3qf0md44b9a4lav78qr8yd9i\-source ]] +(fetchGit.sh:40) export _NIX_FORCE_HTTP=1 +(fetchGit.sh:40) _NIX_FORCE_HTTP=1 reaped child process 15231, status = succeeded ++(fetchGit.sh:41) tail -n 1 /build/nix-test/main/fetchGit/store/chf8nc1h3qf0md44b9a4lav78qr8yd9i-source/hello +(fetchGit.sh:41) [[ hello = hello ]] +(fetchGit.sh:44) rm -rf /build/nix-test/main/fetchGit/test-home/.cache/nix ++(fetchGit.sh:47) nix eval --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/main/fetchGit/./git").outPath' warning: you don't have Internet access; disabling some network-dependent features remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (6/6), done. remote: Total 9 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) From file:///build/nix-test/main/fetchGit/./git * [new branch] master -> master * [new tag] tag2 -> tag2 * [new tag] tag1 -> tag1 accepted connection from pid 16072, user nixbld (trusted) shutting downreaped child process 18713, status = succeeded +(fetchGit.sh:47) path=/build/nix-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc-source ++(fetchGit.sh:48) cat /build/nix-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc-source/hello +(fetchGit.sh:48) [[ world = world ]] +(fetchGit.sh:54) mv /build/nix-test/main/fetchGit/./git /build/nix-test/main/fetchGit/./git-tmp ++(fetchGit.sh:55) nix eval --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/main/fetchGit/./git").outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 19277, user nixbld (trusted) shutting down+(fetchGit.sh:55) path2=/build/nix-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc-source +(fetchGit.sh:56) [[ /build/nix-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc-source = /build/nix\-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc\-source ]] ++(fetchGit.sh:58) nix eval --impure --expr '(builtins.fetchGit "file:///build/nix-test/main/fetchGit/./git").revCount' reaped child process 20464, status = succeeded warning: you don't have Internet access; disabling some network-dependent features +(fetchGit.sh:58) [[ 2 = 2 ]] ++(fetchGit.sh:59) nix eval --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/main/fetchGit/./git").rev' warning: you don't have Internet access; disabling some network-dependent features +(fetchGit.sh:59) [[ 4e5528924d8554fba5015415f732840248d70108 = 4e5528924d8554fba5015415f732840248d70108 ]] ++(fetchGit.sh:60) nix eval --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/main/fetchGit/./git").shortRev' warning: you don't have Internet access; disabling some network-dependent features +(fetchGit.sh:60) [[ 4e55289 = 4e55289 ]] ++(fetchGit.sh:63) nix eval --refresh --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGit/./git"; rev = "4e5528924d8554fba5015415f732840248d70108"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fatal: '/build/nix-test/main/fetchGit/./git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. warning: could not get HEAD ref for repository 'file:///build/nix-test/main/fetchGit/./git'; using expired cached ref 'refs/heads/master' accepted connection from pid 25659, user nixbld (trusted) shutting downreaped child process 28117, status = succeeded +(fetchGit.sh:63) path2=/build/nix-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc-source +(fetchGit.sh:64) [[ /build/nix-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc-source = /build/nix\-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc\-source ]] ++(fetchGit.sh:66) nix eval --refresh --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGit/./git"; rev = "d3c0f7d01492a58e7fc92e2f697da03fe7ceecaa"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fatal: '/build/nix-test/main/fetchGit/./git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. warning: could not get HEAD ref for repository 'file:///build/nix-test/main/fetchGit/./git'; using expired cached ref 'refs/heads/master' accepted connection from pid 28969, user nixbld (trusted) shutting downreaped child process 31071, status = succeeded +(fetchGit.sh:66) path2=/build/nix-test/main/fetchGit/store/5afnrw1lnd1y4vgnwxlkf2yc251inwz1-source ++(fetchGit.sh:67) cat /build/nix-test/main/fetchGit/store/5afnrw1lnd1y4vgnwxlkf2yc251inwz1-source/hello +(fetchGit.sh:67) [[ utrecht = utrecht ]] +(fetchGit.sh:69) mv /build/nix-test/main/fetchGit/./git-tmp /build/nix-test/main/fetchGit/./git +(fetchGit.sh:73) git -C /build/nix-test/main/fetchGit/test-home/.cache/nix/gitv3/13mhbkm05313wlhg8hql5mv0iqw2xhfkpfj5nqwl81zrpmflfw2k/ pack-refs --all ++(fetchGit.sh:74) nix eval --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/main/fetchGit/./git").outPath' warning: you don't have Internet access; disabling some network-dependent features warning: could not update mtime for file "/build/nix-test/main/fetchGit/test-home/.cache/nix/gitv3/13mhbkm05313wlhg8hql5mv0iqw2xhfkpfj5nqwl81zrpmflfw2k/refs/heads/master": changing modification time of "/build/nix-test/main/fetchGit/test-home/.cache/nix/gitv3/13mhbkm05313wlhg8hql5mv0iqw2xhfkpfj5nqwl81zrpmflfw2k/refs/heads/master" (using `utimensat`): No such file or directory accepted connection from pid 32138, user nixbld (trusted) shutting downreaped child process 35396, status = succeeded +(fetchGit.sh:74) path=/build/nix-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc-source +(fetchGit.sh:77) git -C /build/nix-test/main/fetchGit/./git checkout -b devtest Switched to a new branch 'devtest' +(fetchGit.sh:78) echo 'different file' +(fetchGit.sh:79) git -C /build/nix-test/main/fetchGit/./git add differentbranch +(fetchGit.sh:80) git -C /build/nix-test/main/fetchGit/./git commit -m Test2 +(fetchGit.sh:81) git -C /build/nix-test/main/fetchGit/./git checkout master Switched to branch 'master' ++(fetchGit.sh:82) git -C /build/nix-test/main/fetchGit/./git rev-parse devtest +(fetchGit.sh:82) devrev=af9d949d916522cdcd46b3fd5460a293d7371d91 +(fetchGit.sh:83) nix eval --raw --expr 'builtins.fetchGit { url = "file:///build/nix-test/main/fetchGit/./git"; rev = "af9d949d916522cdcd46b3fd5460a293d7371d91"; }' warning: you don't have Internet access; disabling some network-dependent features remote: Enumerating objects: 4, done. remote: Counting objects: 100% (4/4), done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) From file:///build/nix-test/main/fetchGit/./git * branch af9d949d916522cdcd46b3fd5460a293d7371d91 -> FETCH_HEAD accepted connection from pid 36976, user nixbld (trusted) shutting downreaped child process 40125, status = succeeded ++(fetchGit.sh:85) nix eval --raw --expr 'builtins.readFile (builtins.fetchGit { url = "file:///build/nix-test/main/fetchGit/./git"; rev = "af9d949d916522cdcd46b3fd5460a293d7371d91"; allRefs = true; } + "/differentbranch")' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 40549, user nixbld (trusted) shutting downreaped child process 42431, status = succeeded +(fetchGit.sh:85) [[ different file = different file ]] ++(fetchGit.sh:88) nix eval --impure --raw --expr 'builtins.readFile (fetchGit "file:///build/nix-test/main/fetchGit/./git" + "/hello")' warning: you don't have Internet access; disabling some network-dependent features warning: could not update mtime for file "/build/nix-test/main/fetchGit/test-home/.cache/nix/gitv3/13mhbkm05313wlhg8hql5mv0iqw2xhfkpfj5nqwl81zrpmflfw2k/refs/heads/master": changing modification time of "/build/nix-test/main/fetchGit/test-home/.cache/nix/gitv3/13mhbkm05313wlhg8hql5mv0iqw2xhfkpfj5nqwl81zrpmflfw2k/refs/heads/master" (using `utimensat`): No such file or directory accepted connection from pid 42793, user nixbld (trusted) shutting downreaped child process 46134, status = succeeded +(fetchGit.sh:88) [[ world = world ]] +(fetchGit.sh:89) nix eval --raw --expr 'builtins.readFile (fetchGit "file:///build/nix-test/main/fetchGit/./git" + "/hello")' warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'readFile' builtin at «string»:1:1: 1| builtins.readFile (fetchGit "file:///build/nix-test/main/fetchGit/./git" + "/hello") | ^ … while realising the context of a path … while calling the 'fetchGit' builtin at «string»:1:20: 1| builtins.readFile (fetchGit "file:///build/nix-test/main/fetchGit/./git" + "/hello") | ^ error: in pure evaluation mode, 'fetchGit' doesn't fetch unlocked input 'git+file:///build/nix-test/main/fetchGit/./git?exportIgnore=1' ++(fetchGit.sh:92) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGit/./git"; rev = "4e5528924d8554fba5015415f732840248d70108"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 47419, user nixbld (trusted) shutting downreaped child process 48761, status = succeeded +(fetchGit.sh:92) path2=/build/nix-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc-source +(fetchGit.sh:93) [[ /build/nix-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc-source = /build/nix\-test/main/fetchGit/store/1q0ynw36fnpz6rzd8fn2v1bdj537v0fc\-source ]] ++(fetchGit.sh:96) nix eval --raw --expr 'builtins.readFile (fetchGit { url = "file:///build/nix-test/main/fetchGit/./git"; rev = "4e5528924d8554fba5015415f732840248d70108"; } + "/hello")' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 49175, user nixbld (trusted) shutting downreaped child process 50199, status = succeeded +(fetchGit.sh:96) [[ world = world ]] +(fetchGit.sh:99) expectStderr 1 nix eval --expr 'builtins.fetchGit "file:///foo"' +(/build/source/tests/functional/common/functions.sh:201) local expected res +(/build/source/tests/functional/common/functions.sh:202) expected=1 +(/build/source/tests/functional/common/functions.sh:203) shift +(/build/source/tests/functional/common/functions.sh:204) nix eval --expr 'builtins.fetchGit "file:///foo"' +(fetchGit.sh:99) grepQuiet ''\''fetchGit'\'' doesn'\''t fetch unlocked input' +(/build/source/tests/functional/common/functions.sh:330) checkGrepArgs ''\''fetchGit'\'' doesn'\''t fetch unlocked input' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ 'fetchGit' doesn't fetch unlocked input != 'fetchGit' doesn't fetch unlocked input ]] +(/build/source/tests/functional/common/functions.sh:331) command grep ''\''fetchGit'\'' doesn'\''t fetch unlocked input' +(/build/source/tests/functional/common/functions.sh:204) res=1 +(/build/source/tests/functional/common/functions.sh:206) [[ 1 -ne 1 ]] +(/build/source/tests/functional/common/functions.sh:210) return 0 ++(fetchGit.sh:102) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/main/fetchGit/./git).outPath' GC Warning: Marker thread creation failed error: Resource temporarily unavailable +(fetchGit.sh:102) path2= ++(fetchGit.sh:102) onError ++(/build/source/tests/functional/common/functions.sh:242) [[ ehuxB == *e* ]] ++(/build/source/tests/functional/common/functions.sh:243) set +x fetchGit.sh: test failed at: main in fetchGit.sh:102 shutting down ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 103/221 main - nix-functional-tests:fetchGitSubmodules FAIL 4.18s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TEST_SUITE_NAME=main MESON_TEST_ITERATION=1 TEST_NAME=fetchGitSubmodules NIX_REMOTE='' MALLOC_PERTURB_=176 ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail fetchGitSubmodules.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: Initialized empty Git repository in /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub/.git/ [master (root-commit) 5d8a4a3] Initial commit 1 file changed, 1 insertion(+) create mode 100644 content Initialized empty Git repository in /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot/.git/ [master (root-commit) b981142] Add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 sub [master 2e94d08] Add bad submodules 2 files changed, 8 insertions(+) create mode 100644 file Initialized empty Git repository in /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot/.git/ [master (root-commit) 7bbd6c6] Add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 sub stderr: +(fetchGitSubmodules.sh:3) source common.sh ++(common.sh:3) set -eu -o pipefail ++(common.sh:5) [[ -z '' ]] ++(common.sh:7) COMMON_SH_SOURCED=1 ++++(common.sh:9) dirname common.sh +++(common.sh:9) readlink -f . ++(common.sh:9) functionalTestsDir=/build/source/tests/functional ++(common.sh:11) source /build/source/tests/functional/common/vars.sh +++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] +++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional +++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build +++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build +++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh ++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] ++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= ++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox ++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b ++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux +++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' +++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system +++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat +++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat +++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh ++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh +++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR ++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] ++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] ++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh ++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=main/fetchGitSubmodules +++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test ++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/main/fetchGitSubmodules ++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT +++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/main/fetchGitSubmodules/etc +++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/main/fetchGitSubmodules/etc/nix.conf +++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/main/fetchGitSubmodules/test-home +++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/main/fetchGitSubmodules/test-home +++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR ++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/main/fetchGitSubmodules/store +++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= +++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/main/fetchGitSubmodules/store +++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/main/fetchGitSubmodules/var +++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/main/fetchGitSubmodules/var +++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/main/fetchGitSubmodules/var/log/nix +++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/main/fetchGitSubmodules/var/log/nix +++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/main/fetchGitSubmodules/var/nix +++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/main/fetchGitSubmodules/var/nix +++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/main/fetchGitSubmodules/etc +++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/main/fetchGitSubmodules/etc +++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/fetchGitSubmodules/dSocket +++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/fetchGitSubmodules/dSocket +++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES +++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/main/fetchGitSubmodules/shared +++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/main/fetchGitSubmodules/shared +++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] +++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/main/fetchGitSubmodules/shared +++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/main/fetchGitSubmodules/shared +++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH +++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/main/fetchGitSubmodules/test-home +++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/main/fetchGitSubmodules/test-home +++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME +++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME +++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME +++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS +++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME +++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR +++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/main/fetchGitSubmodules/binary-cache ++++(/build/source/tests/functional/common/vars.sh:78) uname +++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] +++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] +++(/build/source/tests/functional/common/vars.sh:78) unshare --user true +++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 +++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/main/fetchGitSubmodules/config.nix ++(common.sh:12) source /build/source/tests/functional/common/functions.sh +++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] ++(common.sh:13) source /build/source/tests/functional/common/init.sh +++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/main/fetchGitSubmodules/etc /build/nix-test/main/fetchGitSubmodules/etc/nix.conf /build/nix-test/main/fetchGitSubmodules/config.nix +++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/main/fetchGitSubmodules +++(/build/source/tests/functional/common/init.sh:31) killDaemon +++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] +++(/build/source/tests/functional/common/functions.sh:106) return +++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/main/fetchGitSubmodules ]] +++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/main/fetchGitSubmodules +++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/main/fetchGitSubmodules/test-home +++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/main/fetchGitSubmodules/store +++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/main/fetchGitSubmodules/var +++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/main/fetchGitSubmodules/var/log/nix/drvs +++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/main/fetchGitSubmodules/var/nix +++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/main/fetchGitSubmodules/etc +++(/build/source/tests/functional/common/init.sh:46) cat ++++(/build/source/tests/functional/common/init.sh:46) whoami +++(/build/source/tests/functional/common/init.sh:59) cat +++(/build/source/tests/functional/common/init.sh:67) nix-store --init +++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/main/fetchGitSubmodules/var/nix/db/db.sqlite +++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test main / fetchGitSubmodules' +++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix ++(common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++(common.sh:16) startDaemon ++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS ++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] ++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/main/fetchGitSubmodules/dSocket ++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=5017 ++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID ++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/fetchGitSubmodules/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:84) kill -0 5017 ++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 ++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features ++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/fetchGitSubmodules/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 ++(/build/source/tests/functional/common/functions.sh:82) break ++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] ++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT ++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= ++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon ++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon +(fetchGitSubmodules.sh:5) requireGit ++(/build/source/tests/functional/common/functions.sh:166) type -p git +(/build/source/tests/functional/common/functions.sh:166) [[ -n /nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin/git ]] +(fetchGitSubmodules.sh:7) rootRepo=/build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot +(fetchGitSubmodules.sh:8) subRepo=/build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub +(fetchGitSubmodules.sh:17) export GIT_CONFIG_COUNT=1 +(fetchGitSubmodules.sh:17) GIT_CONFIG_COUNT=1 +(fetchGitSubmodules.sh:18) export GIT_CONFIG_KEY_0=protocol.file.allow +(fetchGitSubmodules.sh:18) GIT_CONFIG_KEY_0=protocol.file.allow +(fetchGitSubmodules.sh:19) export GIT_CONFIG_VALUE_0=always +(fetchGitSubmodules.sh:19) GIT_CONFIG_VALUE_0=always +(fetchGitSubmodules.sh:27) createGitRepo /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub config user.name Foobar +(fetchGitSubmodules.sh:28) addGitContent /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub +(fetchGitSubmodules.sh:22) echo 'lorem ipsum' +(fetchGitSubmodules.sh:23) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub add content +(fetchGitSubmodules.sh:24) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub commit -m 'Initial commit' +(fetchGitSubmodules.sh:30) createGitRepo /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot config user.name Foobar +(fetchGitSubmodules.sh:32) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot submodule init +(fetchGitSubmodules.sh:33) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot submodule add /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub sub Cloning into '/build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot/sub'... done. +(fetchGitSubmodules.sh:34) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot add sub +(fetchGitSubmodules.sh:35) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot commit -m 'Add submodule' ++(fetchGitSubmodules.sh:37) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot rev-parse HEAD +(fetchGitSubmodules.sh:37) rev=b98114207a2d1280a42499703c85bb5d60134d4d ++(fetchGitSubmodules.sh:39) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 12525, user nixbld (trusted) shutting downreaped child process 14228, status = succeeded +(fetchGitSubmodules.sh:39) r1=/build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source ++(fetchGitSubmodules.sh:40) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = false; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 14605, user nixbld (trusted) shutting down+(fetchGitSubmodules.sh:40) r2=/build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source ++(fetchGitSubmodules.sh:41) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = true; }).outPath' reaped child process 15581, status = succeeded warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 16125, user nixbld (trusted) shutting downreaped child process 16979, status = succeeded +(fetchGitSubmodules.sh:41) r3=/build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source +(fetchGitSubmodules.sh:43) [[ /build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source == /build/nix\-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls\-source ]] +(fetchGitSubmodules.sh:44) [[ /build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source != /build/nix\-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq\-source ]] ++(fetchGitSubmodules.sh:46) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; ref = "master"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 17593, user nixbld (trusted) shutting downreaped child process 18598, status = succeeded +(fetchGitSubmodules.sh:46) r4=/build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source ++(fetchGitSubmodules.sh:47) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; ref = "master"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = false; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 18871, user nixbld (trusted) shutting downreaped child process 20248, status = succeeded +(fetchGitSubmodules.sh:47) r5=/build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source ++(fetchGitSubmodules.sh:48) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; ref = "master"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 20508, user nixbld (trusted) shutting downreaped child process 22153, status = succeeded +(fetchGitSubmodules.sh:48) r6=/build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source ++(fetchGitSubmodules.sh:49) nix eval --raw --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 22504, user nixbld (trusted) shutting down+(fetchGitSubmodules.sh:49) r7=/build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source ++(fetchGitSubmodules.sh:50) nix eval --raw --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = true; }).outPath' reaped child process 23594, status = succeeded warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 23778, user nixbld (trusted) shutting down+(fetchGitSubmodules.sh:50) r8=/build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source +(fetchGitSubmodules.sh:52) [[ /build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source == /build/nix\-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls\-source ]] +(fetchGitSubmodules.sh:53) [[ /build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source == /build/nix\-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls\-source ]] +(fetchGitSubmodules.sh:54) [[ /build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source == /build/nix\-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq\-source ]] +(fetchGitSubmodules.sh:55) [[ /build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source == /build/nix\-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq\-source ]] +(fetchGitSubmodules.sh:56) [[ /build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source == /build/nix\-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq\-source ]] ++(fetchGitSubmodules.sh:58) nix eval --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; }).submodules' reaped child process 25224, status = succeeded warning: you don't have Internet access; disabling some network-dependent features +(fetchGitSubmodules.sh:58) have_submodules=false +(fetchGitSubmodules.sh:59) [[ false == false ]] ++(fetchGitSubmodules.sh:61) nix eval --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = false; }).submodules' warning: you don't have Internet access; disabling some network-dependent features +(fetchGitSubmodules.sh:61) have_submodules=false +(fetchGitSubmodules.sh:62) [[ false == false ]] ++(fetchGitSubmodules.sh:64) nix eval --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = true; }).submodules' warning: you don't have Internet access; disabling some network-dependent features +(fetchGitSubmodules.sh:64) have_submodules=true +(fetchGitSubmodules.sh:65) [[ true == true ]] ++(fetchGitSubmodules.sh:67) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 29269, user nixbld (trusted) shutting downreaped child process 30748, status = succeeded +(fetchGitSubmodules.sh:67) pathWithoutSubmodules=/build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source ++(fetchGitSubmodules.sh:68) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 31130, user nixbld (trusted) shutting downreaped child process 32488, status = succeeded +(fetchGitSubmodules.sh:68) pathWithSubmodules=/build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source ++(fetchGitSubmodules.sh:69) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 33130, user nixbld (trusted) shutting downreaped child process 34222, status = succeeded +(fetchGitSubmodules.sh:69) pathWithSubmodulesAgain=/build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source ++(fetchGitSubmodules.sh:70) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; ref = "master"; rev = "b98114207a2d1280a42499703c85bb5d60134d4d"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 34608, user nixbld (trusted) shutting down+(fetchGitSubmodules.sh:70) pathWithSubmodulesAgainWithRef=/build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source +(fetchGitSubmodules.sh:73) [[ /build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source != /build/nix\-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq\-source ]] +(fetchGitSubmodules.sh:76) [[ /build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source == /build/nix\-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq\-source ]] +(fetchGitSubmodules.sh:79) [[ /build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source == /build/nix\-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq\-source ]] +(fetchGitSubmodules.sh:82) [[ ! -e /build/nix-test/main/fetchGitSubmodules/store/vy3z14f9anbb5zqfgfw41axckmwmmyls-source/sub/content ]] +(fetchGitSubmodules.sh:83) [[ -e /build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source/sub/content ]] +(fetchGitSubmodules.sh:85) [[ -e /build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source/sub/content ]] reaped child process 35878, status = succeeded ++(fetchGitSubmodules.sh:88) find /build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source -name .git +(fetchGitSubmodules.sh:88) test '' = '' ++(fetchGitSubmodules.sh:91) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub rev-parse HEAD +(fetchGitSubmodules.sh:91) subRev=5d8a4a3733cc75315fcaa902993999dd147343aa ++(fetchGitSubmodules.sh:92) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub"; rev = "5d8a4a3733cc75315fcaa902993999dd147343aa"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 36538, user nixbld (trusted) shutting downreaped child process 38290, status = succeeded +(fetchGitSubmodules.sh:92) noSubmoduleRepoBaseline=/build/nix-test/main/fetchGitSubmodules/store/wg550jr4xmipdhzby0nk2l7kbd61l6cq-source ++(fetchGitSubmodules.sh:93) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesSub"; rev = "5d8a4a3733cc75315fcaa902993999dd147343aa"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 38873, user nixbld (trusted) shutting downreaped child process 40291, status = succeeded +(fetchGitSubmodules.sh:93) noSubmoduleRepo=/build/nix-test/main/fetchGitSubmodules/store/wg550jr4xmipdhzby0nk2l7kbd61l6cq-source +(fetchGitSubmodules.sh:95) [[ /build/nix-test/main/fetchGitSubmodules/store/wg550jr4xmipdhzby0nk2l7kbd61l6cq-source == /build/nix\-test/main/fetchGitSubmodules/store/wg550jr4xmipdhzby0nk2l7kbd61l6cq\-source ]] +(fetchGitSubmodules.sh:98) cat +(fetchGitSubmodules.sh:107) echo foo +(fetchGitSubmodules.sh:108) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot add file +(fetchGitSubmodules.sh:109) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot commit -a -m 'Add bad submodules' ++(fetchGitSubmodules.sh:111) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot rev-parse HEAD +(fetchGitSubmodules.sh:111) rev=2e94d0816ce4811e158df2be51472c89c8fbfb1a ++(fetchGitSubmodules.sh:113) nix eval --raw --expr 'builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; rev = "2e94d0816ce4811e158df2be51472c89c8fbfb1a"; submodules = true; }' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 42154, user nixbld (trusted) shutting down+(fetchGitSubmodules.sh:113) r=/build/nix-test/main/fetchGitSubmodules/store/mbbnq70f2z8iw86wdq16n0p8ss8ac3ka-source +(fetchGitSubmodules.sh:115) [[ -f /build/nix-test/main/fetchGitSubmodules/store/mbbnq70f2z8iw86wdq16n0p8ss8ac3ka-source/file ]] +(fetchGitSubmodules.sh:116) [[ ! -e /build/nix-test/main/fetchGitSubmodules/store/mbbnq70f2z8iw86wdq16n0p8ss8ac3ka-source/missing ]] +(fetchGitSubmodules.sh:119) rm /build/nix-test/main/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v4.sqlite /build/nix-test/main/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v4.sqlite-shm /build/nix-test/main/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v4.sqlite-wal reaped child process 43317, status = succeeded +(fetchGitSubmodules.sh:120) rm -rf /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot/.git /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot/.gitmodules /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot/sub +(fetchGitSubmodules.sh:121) initGitRepo /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot config user.name Foobar +(fetchGitSubmodules.sh:122) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot submodule add ../gitSubmodulesSub sub Cloning into '/build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot/sub'... done. +(fetchGitSubmodules.sh:123) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot commit -m 'Add submodule' ++(fetchGitSubmodules.sh:124) git -C /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot rev-parse HEAD +(fetchGitSubmodules.sh:124) rev2=7bbd6c63d67036b36655783c0791ecbc75a1b224 ++(fetchGitSubmodules.sh:125) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot"; rev = "7bbd6c63d67036b36655783c0791ecbc75a1b224"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 49170, user nixbld (trusted) shutting down+(fetchGitSubmodules.sh:125) pathWithRelative=/build/nix-test/main/fetchGitSubmodules/store/lsy9m7jjh2rqsy10avz0zs1lyjy561l9-source +(fetchGitSubmodules.sh:126) diff -r -x .gitmodules /build/nix-test/main/fetchGitSubmodules/store/gknr1yy8h5k0gxf9n5r9bszg5dqa0wxq-source /build/nix-test/main/fetchGitSubmodules/store/lsy9m7jjh2rqsy10avz0zs1lyjy561l9-source reaped child process 49950, status = succeeded +(fetchGitSubmodules.sh:129) rm /build/nix-test/main/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v4.sqlite /build/nix-test/main/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v4.sqlite-shm /build/nix-test/main/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v4.sqlite-wal +(fetchGitSubmodules.sh:130) cloneRepo=/build/nix-test/main/fetchGitSubmodules/a/b/gitSubmodulesClone +(fetchGitSubmodules.sh:131) git clone /build/nix-test/main/fetchGitSubmodules/gitSubmodulesRoot /build/nix-test/main/fetchGitSubmodules/a/b/gitSubmodulesClone Cloning into '/build/nix-test/main/fetchGitSubmodules/a/b/gitSubmodulesClone'... done. ++(fetchGitSubmodules.sh:132) nix eval --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/main/fetchGitSubmodules/a/b/gitSubmodulesClone"; rev = "7bbd6c63d67036b36655783c0791ecbc75a1b224"; submodules = true; }).outPath' GC Warning: Marker thread creation failed error: Resource temporarily unavailable +(fetchGitSubmodules.sh:132) pathIndirect= ++(fetchGitSubmodules.sh:132) onError ++(/build/source/tests/functional/common/functions.sh:242) [[ ehuxB == *e* ]] ++(/build/source/tests/functional/common/functions.sh:243) set +x fetchGitSubmodules.sh: test failed at: main in fetchGitSubmodules.sh:132 shutting down ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 104/221 flakes - nix-functional-tests:init FAIL 1.96s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 NIX_REMOTE='' TEST_SUITE_NAME=flakes ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional TEST_NAME=init UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=29 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail init.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: Initialized empty Git repository in /build/nix-test/flakes/init/nixpkgs/.git/ [master (root-commit) 63a682f] Initial 5 files changed, 229 insertions(+) create mode 100644 config.nix create mode 100644 flake.nix create mode 100644 shell.nix create mode 100644 simple.builder.sh create mode 100644 simple.nix Initialized empty Git repository in /build/nix-test/flakes/init/templates/.git/ [master (root-commit) e5271a2] Initial 4 files changed, 28 insertions(+) create mode 100644 flake.nix create mode 100644 trivial/a create mode 100644 trivial/b create mode 100644 trivial/flake.nix git+file:///build/nix-test/flakes/init/templates?ref=refs/heads/master&rev=e5271a2b0d060b1e766a33a177aa7117575f81cc └───templates ├───default: template: A trivial flake └───trivial: template: A trivial flake { "templates": { "default": { "description": "A trivial flake", "type": "template" }, "trivial": { "description": "A trivial flake", "type": "template" } } } Initialized empty Git repository in /build/nix-test/flakes/init/flake/.git/ stderr: +(init.sh:3) source ./common.sh ++(./common.sh:3) source ../common.sh +++(../common.sh:3) set -eu -o pipefail +++(../common.sh:5) [[ -z '' ]] +++(../common.sh:7) COMMON_SH_SOURCED=1 +++++(../common.sh:9) dirname ../common.sh ++++(../common.sh:9) readlink -f .. +++(../common.sh:9) functionalTestsDir=/build/source/tests/functional +++(../common.sh:11) source /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional +++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build ++++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build ++++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh +++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] +++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= +++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox +++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b +++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux ++++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' ++++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system ++++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 +++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh ++++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh ++++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] ++++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR +++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh ++++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] +++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS +++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] +++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh +++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=flakes/init ++++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test +++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/flakes/init +++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT ++++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/flakes/init/etc ++++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/flakes/init/etc/nix.conf ++++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/flakes/init/test-home ++++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/flakes/init/test-home ++++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR +++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/flakes/init/store ++++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= ++++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/flakes/init/store ++++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/flakes/init/var ++++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/flakes/init/var ++++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/flakes/init/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/flakes/init/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/flakes/init/var/nix ++++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/flakes/init/var/nix ++++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/flakes/init/etc ++++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/flakes/init/etc ++++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/init/dSocket ++++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/init/dSocket ++++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES ++++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/flakes/init/shared ++++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/flakes/init/shared ++++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] ++++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/flakes/init/shared ++++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/flakes/init/shared ++++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH ++++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/flakes/init/test-home ++++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/flakes/init/test-home ++++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME ++++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME ++++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME ++++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS ++++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME ++++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR ++++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/flakes/init/binary-cache +++++(/build/source/tests/functional/common/vars.sh:78) uname ++++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] ++++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] ++++(/build/source/tests/functional/common/vars.sh:78) unshare --user true ++++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 ++++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/flakes/init/config.nix +++(../common.sh:12) source /build/source/tests/functional/common/functions.sh ++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] +++(../common.sh:13) source /build/source/tests/functional/common/init.sh ++++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/flakes/init/etc /build/nix-test/flakes/init/etc/nix.conf /build/nix-test/flakes/init/config.nix ++++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/flakes/init ++++(/build/source/tests/functional/common/init.sh:31) killDaemon ++++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] ++++(/build/source/tests/functional/common/functions.sh:106) return ++++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/flakes/init ]] ++++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/flakes/init ++++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/flakes/init/test-home ++++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/flakes/init/store ++++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/flakes/init/var ++++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/flakes/init/var/log/nix/drvs ++++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/flakes/init/var/nix ++++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/flakes/init/etc ++++(/build/source/tests/functional/common/init.sh:46) cat +++++(/build/source/tests/functional/common/init.sh:46) whoami ++++(/build/source/tests/functional/common/init.sh:59) cat ++++(/build/source/tests/functional/common/init.sh:67) nix-store --init ++++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/flakes/init/var/nix/db/db.sqlite ++++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test flakes / init' ++++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix +++(../common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++(../common.sh:16) startDaemon +++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] +++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/flakes/init/dSocket +++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=34527 +++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID +++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/init/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:84) kill -0 34527 +++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 +++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features +++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/init/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 +++(/build/source/tests/functional/common/functions.sh:82) break +++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] +++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT +++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= +++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon +++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon ++(./common.sh:5) export _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:5) _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:8) registry=/build/nix-test/flakes/init/registry.json +(init.sh:5) requireGit ++(/build/source/tests/functional/common/functions.sh:166) type -p git +(/build/source/tests/functional/common/functions.sh:166) [[ -n /nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin/git ]] +(init.sh:7) templatesDir=/build/nix-test/flakes/init/templates +(init.sh:8) flakeDir=/build/nix-test/flakes/init/flake +(init.sh:9) nixpkgsDir=/build/nix-test/flakes/init/nixpkgs +(init.sh:11) nix registry add --registry /build/nix-test/flakes/init/registry.json templates git+file:///build/nix-test/flakes/init/templates warning: you don't have Internet access; disabling some network-dependent features +(init.sh:12) nix registry add --registry /build/nix-test/flakes/init/registry.json nixpkgs git+file:///build/nix-test/flakes/init/nixpkgs warning: you don't have Internet access; disabling some network-dependent features +(init.sh:14) createGitRepo /build/nix-test/flakes/init/nixpkgs +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/flakes/init/nixpkgs +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/flakes/init/nixpkgs /build/nix-test/flakes/init/nixpkgs.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/flakes/init/nixpkgs +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/flakes/init/nixpkgs +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/flakes/init/nixpkgs +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/flakes/init/nixpkgs init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/flakes/init/nixpkgs config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/flakes/init/nixpkgs config user.name Foobar +(init.sh:15) createSimpleGitFlake /build/nix-test/flakes/init/nixpkgs +(./common.sh:45) requireGit ++(/build/source/tests/functional/common/functions.sh:166) type -p git +(/build/source/tests/functional/common/functions.sh:166) [[ -n /nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin/git ]] +(./common.sh:46) local flakeDir=/build/nix-test/flakes/init/nixpkgs +(./common.sh:47) writeSimpleFlake /build/nix-test/flakes/init/nixpkgs +(./common.sh:11) local flakeDir=/build/nix-test/flakes/init/nixpkgs +(./common.sh:12) cat +(./common.sh:41) cp ../simple.nix ../shell.nix ../simple.builder.sh /build/nix-test/flakes/init/config.nix /build/nix-test/flakes/init/nixpkgs/ +(./common.sh:48) git -C /build/nix-test/flakes/init/nixpkgs add flake.nix simple.nix shell.nix simple.builder.sh config.nix +(./common.sh:49) git -C /build/nix-test/flakes/init/nixpkgs commit -m Initial +(init.sh:18) createGitRepo /build/nix-test/flakes/init/templates +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/flakes/init/templates +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/flakes/init/templates /build/nix-test/flakes/init/templates.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/flakes/init/templates +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/flakes/init/templates +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/flakes/init/templates +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/flakes/init/templates init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/flakes/init/templates config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/flakes/init/templates config user.name Foobar +(init.sh:20) cat +(init.sh:39) mkdir /build/nix-test/flakes/init/templates/trivial +(init.sh:41) cat +(init.sh:53) echo a +(init.sh:54) echo b +(init.sh:56) git -C /build/nix-test/flakes/init/templates add flake.nix trivial/ +(init.sh:57) git -C /build/nix-test/flakes/init/templates commit -m Initial +(init.sh:59) nix flake check templates warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 44385, user nixbld (trusted) evaluating flake... checking flake output 'templates'... checking template 'templates.trivial'... checking template 'templates.default'... all checks passed! shutting down+(init.sh:60) nix flake show templates reaped child process 45342, status = succeeded warning: you don't have Internet access; disabling some network-dependent features +(init.sh:61) nix flake show templates --json +(init.sh:61) jq warning: you don't have Internet access; disabling some network-dependent features +(init.sh:63) createGitRepo /build/nix-test/flakes/init/flake +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/flakes/init/flake +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/flakes/init/flake /build/nix-test/flakes/init/flake.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/flakes/init/flake +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/flakes/init/flake +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/flakes/init/flake +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/flakes/init/flake init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/flakes/init/flake config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/flakes/init/flake config user.name Foobar +(init.sh:64) cd /build/nix-test/flakes/init/flake +(init.sh:64) nix flake init warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 48807, user nixbld (trusted) wrote: "/build/nix-test/flakes/init/flake/a" wrote: "/build/nix-test/flakes/init/flake/b" wrote: "/build/nix-test/flakes/init/flake/flake.nix" Welcome to my trivial flake shutting down+(init.sh:65) cd /build/nix-test/flakes/init/flake +(init.sh:65) nix flake init reaped child process 49724, status = succeeded warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 50185, user nixbld (trusted) skipping identical file: /build/nix-test/flakes/init/templates/trivial/a skipping identical file: /build/nix-test/flakes/init/templates/trivial/b skipping identical file: /build/nix-test/flakes/init/templates/trivial/flake.nix Welcome to my trivial flake shutting down+(init.sh:66) git -C /build/nix-test/flakes/init/flake add flake.nix reaped child process 50968, status = succeeded +(init.sh:67) nix flake check /build/nix-test/flakes/init/flake GC Warning: Marker thread creation failed error: Resource temporarily unavailable ++(init.sh:67) onError ++(/build/source/tests/functional/common/functions.sh:242) [[ ehuxB == *e* ]] ++(/build/source/tests/functional/common/functions.sh:243) set +x init.sh: test failed at: main in init.sh:67 shutting down ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 105/221 flakes - nix-functional-tests:build-paths FAIL 1.75s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 NIX_REMOTE='' TEST_SUITE_NAME=flakes ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log MALLOC_PERTURB_=105 PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional TEST_NAME=build-paths UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail build-paths.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: ["/build/nix-test/flakes/build-paths/store/bhgasd3gxqgwwcmhgn2a2s515l2lkcb8-source"] ["/build/nix-test/flakes/build-paths/store/pzr599dzlq2qhj32zg88vpr74r2rg4dl-source"] ["/build/nix-test/flakes/build-paths/store/gahjy94fgvxsz0i7zk4ksphi4dz4yj1z-source"] stderr: +(build-paths.sh:3) source ./common.sh ++(./common.sh:3) source ../common.sh +++(../common.sh:3) set -eu -o pipefail +++(../common.sh:5) [[ -z '' ]] +++(../common.sh:7) COMMON_SH_SOURCED=1 +++++(../common.sh:9) dirname ../common.sh ++++(../common.sh:9) readlink -f .. +++(../common.sh:9) functionalTestsDir=/build/source/tests/functional +++(../common.sh:11) source /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional +++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build ++++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build ++++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh +++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] +++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= +++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox +++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b +++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux ++++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' ++++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system ++++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 +++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh ++++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh ++++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] ++++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR +++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh ++++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] +++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS +++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] +++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh +++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=flakes/build-paths ++++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test +++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/flakes/build-paths +++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT ++++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/flakes/build-paths/etc ++++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/flakes/build-paths/etc/nix.conf ++++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/flakes/build-paths/test-home ++++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/flakes/build-paths/test-home ++++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR +++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/flakes/build-paths/store ++++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= ++++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/flakes/build-paths/store ++++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/flakes/build-paths/var ++++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/flakes/build-paths/var ++++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/flakes/build-paths/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/flakes/build-paths/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/flakes/build-paths/var/nix ++++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/flakes/build-paths/var/nix ++++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/flakes/build-paths/etc ++++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/flakes/build-paths/etc ++++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/build-paths/dSocket ++++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/build-paths/dSocket ++++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES ++++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/flakes/build-paths/shared ++++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/flakes/build-paths/shared ++++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] ++++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/flakes/build-paths/shared ++++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/flakes/build-paths/shared ++++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH ++++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/flakes/build-paths/test-home ++++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/flakes/build-paths/test-home ++++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME ++++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME ++++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME ++++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS ++++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME ++++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR ++++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/flakes/build-paths/binary-cache +++++(/build/source/tests/functional/common/vars.sh:78) uname ++++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] ++++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] ++++(/build/source/tests/functional/common/vars.sh:78) unshare --user true ++++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 ++++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/flakes/build-paths/config.nix +++(../common.sh:12) source /build/source/tests/functional/common/functions.sh ++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] +++(../common.sh:13) source /build/source/tests/functional/common/init.sh ++++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/flakes/build-paths/etc /build/nix-test/flakes/build-paths/etc/nix.conf /build/nix-test/flakes/build-paths/config.nix ++++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/flakes/build-paths ++++(/build/source/tests/functional/common/init.sh:31) killDaemon ++++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] ++++(/build/source/tests/functional/common/functions.sh:106) return ++++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/flakes/build-paths ]] ++++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/flakes/build-paths ++++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/flakes/build-paths/test-home ++++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/flakes/build-paths/store ++++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/flakes/build-paths/var ++++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/flakes/build-paths/var/log/nix/drvs ++++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/flakes/build-paths/var/nix ++++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/flakes/build-paths/etc ++++(/build/source/tests/functional/common/init.sh:46) cat +++++(/build/source/tests/functional/common/init.sh:46) whoami ++++(/build/source/tests/functional/common/init.sh:59) cat ++++(/build/source/tests/functional/common/init.sh:67) nix-store --init ++++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/flakes/build-paths/var/nix/db/db.sqlite ++++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test flakes / build-paths' ++++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix +++(../common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++(../common.sh:16) startDaemon +++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] +++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/flakes/build-paths/dSocket +++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=38076 +++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID +++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/build-paths/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:84) kill -0 38076 +++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 +++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features +++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/build-paths/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 +++(/build/source/tests/functional/common/functions.sh:82) break +++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] +++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT +++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= +++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon +++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon ++(./common.sh:5) export _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:5) _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:8) registry=/build/nix-test/flakes/build-paths/registry.json +(build-paths.sh:5) flake1Dir=/build/nix-test/flakes/build-paths/flake1 +(build-paths.sh:6) flake2Dir=/build/nix-test/flakes/build-paths/flake2 +(build-paths.sh:8) mkdir -p /build/nix-test/flakes/build-paths/flake1 /build/nix-test/flakes/build-paths/flake2 +(build-paths.sh:10) writeSimpleFlake /build/nix-test/flakes/build-paths/flake2 +(./common.sh:11) local flakeDir=/build/nix-test/flakes/build-paths/flake2 +(./common.sh:12) cat +(./common.sh:41) cp ../simple.nix ../shell.nix ../simple.builder.sh /build/nix-test/flakes/build-paths/config.nix /build/nix-test/flakes/build-paths/flake2/ +(build-paths.sh:11) tar cfz /build/nix-test/flakes/build-paths/flake.tar.gz -C /build/nix-test/flakes/build-paths flake2 ++(build-paths.sh:12) nix hash path /build/nix-test/flakes/build-paths/flake2 warning: you don't have Internet access; disabling some network-dependent features +(build-paths.sh:12) hash=sha256-Y1xLcn0UefpxGFFp23pa0S/uTN5P9vx+C3LOzhd2oQA= ++(build-paths.sh:14) nix store add-path ./common.sh warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 45113, user nixbld (trusted) shutting downreaped child process 46111, status = succeeded +(build-paths.sh:14) dep=/build/nix-test/flakes/build-paths/store/qlkhiwhb96vwri4xq2m8nykfy86b9vhq-common.sh +(build-paths.sh:16) cat +(build-paths.sh:82) cp ../simple.nix ../simple.builder.sh /build/nix-test/flakes/build-paths/config.nix /build/nix-test/flakes/build-paths/flake1/ +(build-paths.sh:84) echo bar +(build-paths.sh:86) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a1 warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 46601, user nixbld (trusted) unpacking 'file:///build/nix-test/flakes/build-paths/flake.tar.gz' into the Git cache... warning: creating lock file "/build/nix-test/flakes/build-paths/flake1/flake.lock": • Added input 'flake2': 'file:///build/nix-test/flakes/build-paths/flake.tar.gz?narHash=sha256-Y1xLcn0UefpxGFFp23pa0S/uTN5P9vx%2BC3LOzhd2oQA%3D' (2026-07-26) shutting down+(build-paths.sh:87) [[ -e /build/nix-test/flakes/build-paths/result/simple.nix ]] +(build-paths.sh:89) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a2 reaped child process 47534, status = succeeded GC Warning: Marker thread creation failed warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 48462, user nixbld (trusted) shutting down++(build-paths.sh:90) cat /build/nix-test/flakes/build-paths/result reaped child process 49215, status = succeeded +(build-paths.sh:90) [[ bar = bar ]] +(build-paths.sh:92) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a3 warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 49692, user nixbld (trusted) shutting down+(build-paths.sh:94) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a4 reaped child process 50358, status = succeeded GC Warning: Marker thread creation failed error: Resource temporarily unavailable ++(build-paths.sh:94) onError ++(/build/source/tests/functional/common/functions.sh:242) [[ ehuxB == *e* ]] ++(/build/source/tests/functional/common/functions.sh:243) set +x build-paths.sh: test failed at: main in build-paths.sh:94 shutting down ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 106/221 flakes - nix-functional-tests:show FAIL 1.66s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 MALLOC_PERTURB_=162 NIX_REMOTE='' TEST_SUITE_NAME=flakes ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' TEST_NAME=show _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail show.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: /build/nix-test/flakes/show/flake /build/source/tests/functional/flakes true true true stderr: +(show.sh:3) source ./common.sh ++(./common.sh:3) source ../common.sh +++(../common.sh:3) set -eu -o pipefail +++(../common.sh:5) [[ -z '' ]] +++(../common.sh:7) COMMON_SH_SOURCED=1 +++++(../common.sh:9) dirname ../common.sh ++++(../common.sh:9) readlink -f .. +++(../common.sh:9) functionalTestsDir=/build/source/tests/functional +++(../common.sh:11) source /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional +++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build ++++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build ++++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh +++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] +++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= +++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox +++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b +++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux ++++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' ++++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system ++++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 +++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh ++++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh ++++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] ++++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR +++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh ++++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] +++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS +++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] +++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh +++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=flakes/show ++++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test +++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/flakes/show +++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT ++++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/flakes/show/etc ++++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/flakes/show/etc/nix.conf ++++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/flakes/show/test-home ++++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/flakes/show/test-home ++++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR +++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/flakes/show/store ++++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= ++++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/flakes/show/store ++++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/flakes/show/var ++++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/flakes/show/var ++++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/flakes/show/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/flakes/show/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/flakes/show/var/nix ++++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/flakes/show/var/nix ++++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/flakes/show/etc ++++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/flakes/show/etc ++++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/show/dSocket ++++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/show/dSocket ++++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES ++++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/flakes/show/shared ++++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/flakes/show/shared ++++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] ++++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/flakes/show/shared ++++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/flakes/show/shared ++++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH ++++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/flakes/show/test-home ++++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/flakes/show/test-home ++++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME ++++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME ++++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME ++++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS ++++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME ++++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR ++++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/flakes/show/binary-cache +++++(/build/source/tests/functional/common/vars.sh:78) uname ++++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] ++++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] ++++(/build/source/tests/functional/common/vars.sh:78) unshare --user true ++++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 ++++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/flakes/show/config.nix +++(../common.sh:12) source /build/source/tests/functional/common/functions.sh ++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] +++(../common.sh:13) source /build/source/tests/functional/common/init.sh ++++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/flakes/show/etc /build/nix-test/flakes/show/etc/nix.conf /build/nix-test/flakes/show/config.nix ++++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/flakes/show ++++(/build/source/tests/functional/common/init.sh:31) killDaemon ++++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] ++++(/build/source/tests/functional/common/functions.sh:106) return ++++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/flakes/show ]] ++++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/flakes/show ++++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/flakes/show/test-home ++++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/flakes/show/store ++++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/flakes/show/var ++++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/flakes/show/var/log/nix/drvs ++++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/flakes/show/var/nix ++++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/flakes/show/etc ++++(/build/source/tests/functional/common/init.sh:46) cat +++++(/build/source/tests/functional/common/init.sh:46) whoami ++++(/build/source/tests/functional/common/init.sh:59) cat ++++(/build/source/tests/functional/common/init.sh:67) nix-store --init ++++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/flakes/show/var/nix/db/db.sqlite ++++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test flakes / show' ++++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix +++(../common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++(../common.sh:16) startDaemon +++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] +++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/flakes/show/dSocket +++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=38878 +++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID +++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/show/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:84) kill -0 38878 +++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 +++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features +++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/show/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 +++(/build/source/tests/functional/common/functions.sh:82) break +++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] +++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT +++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= +++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon +++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon ++(./common.sh:5) export _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:5) _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:8) registry=/build/nix-test/flakes/show/registry.json +(show.sh:5) flakeDir=/build/nix-test/flakes/show/flake +(show.sh:6) mkdir -p /build/nix-test/flakes/show/flake +(show.sh:8) writeSimpleFlake /build/nix-test/flakes/show/flake +(./common.sh:11) local flakeDir=/build/nix-test/flakes/show/flake +(./common.sh:12) cat +(./common.sh:41) cp ../simple.nix ../shell.nix ../simple.builder.sh /build/nix-test/flakes/show/config.nix /build/nix-test/flakes/show/flake/ +(show.sh:9) pushd /build/nix-test/flakes/show/flake +(show.sh:14) nix flake show --json warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 43931, user nixbld (trusted) warning: legacyPackages.x86_64-linux omitted (use '--legacy' to show) warning: packages.someOtherSystem.default omitted (use '--all-systems' to show) warning: packages.someOtherSystem.foo omitted (use '--all-systems' to show) shutting down+(show.sh:16) nix eval --impure --expr $'\nlet show_output = builtins.fromJSON (builtins.readFile ./show-output.json);\nin\nassert show_output.packages.someOtherSystem.default == {};\nassert show_output.packages.${builtins.currentSystem}.default.name == "simple";\nassert show_output.legacyPackages.${builtins.currentSystem} == {};\ntrue\n' reaped child process 44934, status = succeeded warning: you don't have Internet access; disabling some network-dependent features +(show.sh:26) nix flake show --json --all-systems warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 46677, user nixbld (trusted) warning: legacyPackages.x86_64-linux omitted (use '--legacy' to show) shutting down+(show.sh:28) nix eval --impure --expr $'\nlet show_output = builtins.fromJSON (builtins.readFile ./show-output.json);\nin\nassert show_output.packages.someOtherSystem.default.name == "simple";\nassert show_output.legacyPackages.${builtins.currentSystem} == {};\ntrue\n' reaped child process 47529, status = succeeded warning: you don't have Internet access; disabling some network-dependent features +(show.sh:37) nix flake show --json --legacy warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 48973, user nixbld (trusted) warning: packages.someOtherSystem.default omitted (use '--all-systems' to show) warning: packages.someOtherSystem.foo omitted (use '--all-systems' to show) shutting down+(show.sh:39) nix eval --impure --expr $'\nlet show_output = builtins.fromJSON (builtins.readFile ./show-output.json);\nin\nassert show_output.legacyPackages.${builtins.currentSystem}.hello.name == "simple";\ntrue\n' reaped child process 49671, status = succeeded warning: you don't have Internet access; disabling some network-dependent features +(show.sh:47) cat +(show.sh:65) nix flake show --json --all-systems GC Warning: Marker thread creation failed error: Resource temporarily unavailable ++(show.sh:65) onError ++(/build/source/tests/functional/common/functions.sh:242) [[ ehuxB == *e* ]] ++(/build/source/tests/functional/common/functions.sh:243) set +x show.sh: test failed at: main in show.sh:65 shutting down ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 107/221 flakes - nix-functional-tests:source-paths FAIL 1.50s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TEST_NAME=source-paths MESON_TEST_ITERATION=1 MALLOC_PERTURB_=65 NIX_REMOTE='' TEST_SUITE_NAME=flakes ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail source-paths.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: Initialized empty Git repository in /build/nix-test/flakes/source-paths/repo/.git/ [master (root-commit) 34e9bab] foo 1 file changed, 9 insertions(+) create mode 100644 flake.nix stderr: +(source-paths.sh:3) source ./common.sh ++(./common.sh:3) source ../common.sh +++(../common.sh:3) set -eu -o pipefail +++(../common.sh:5) [[ -z '' ]] +++(../common.sh:7) COMMON_SH_SOURCED=1 +++++(../common.sh:9) dirname ../common.sh ++++(../common.sh:9) readlink -f .. +++(../common.sh:9) functionalTestsDir=/build/source/tests/functional +++(../common.sh:11) source /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional +++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build ++++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build ++++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh +++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] +++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= +++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox +++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b +++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux ++++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' ++++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system ++++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 +++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh ++++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh ++++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] ++++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR +++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh ++++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] +++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS +++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] +++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh +++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=flakes/source-paths ++++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test +++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/flakes/source-paths +++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT ++++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/flakes/source-paths/etc ++++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/flakes/source-paths/etc/nix.conf ++++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/flakes/source-paths/test-home ++++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/flakes/source-paths/test-home ++++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR +++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/flakes/source-paths/store ++++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= ++++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/flakes/source-paths/store ++++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/flakes/source-paths/var ++++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/flakes/source-paths/var ++++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/flakes/source-paths/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/flakes/source-paths/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/flakes/source-paths/var/nix ++++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/flakes/source-paths/var/nix ++++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/flakes/source-paths/etc ++++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/flakes/source-paths/etc ++++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/source-paths/dSocket ++++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/source-paths/dSocket ++++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES ++++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/flakes/source-paths/shared ++++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/flakes/source-paths/shared ++++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] ++++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/flakes/source-paths/shared ++++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/flakes/source-paths/shared ++++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH ++++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/flakes/source-paths/test-home ++++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/flakes/source-paths/test-home ++++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME ++++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME ++++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME ++++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS ++++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME ++++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR ++++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/flakes/source-paths/binary-cache +++++(/build/source/tests/functional/common/vars.sh:78) uname ++++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] ++++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] ++++(/build/source/tests/functional/common/vars.sh:78) unshare --user true ++++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 ++++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/flakes/source-paths/config.nix +++(../common.sh:12) source /build/source/tests/functional/common/functions.sh ++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] +++(../common.sh:13) source /build/source/tests/functional/common/init.sh ++++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/flakes/source-paths/etc /build/nix-test/flakes/source-paths/etc/nix.conf /build/nix-test/flakes/source-paths/config.nix ++++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/flakes/source-paths ++++(/build/source/tests/functional/common/init.sh:31) killDaemon ++++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] ++++(/build/source/tests/functional/common/functions.sh:106) return ++++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/flakes/source-paths ]] ++++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/flakes/source-paths ++++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/flakes/source-paths/test-home ++++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/flakes/source-paths/store ++++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/flakes/source-paths/var ++++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/flakes/source-paths/var/log/nix/drvs ++++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/flakes/source-paths/var/nix ++++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/flakes/source-paths/etc ++++(/build/source/tests/functional/common/init.sh:46) cat +++++(/build/source/tests/functional/common/init.sh:46) whoami ++++(/build/source/tests/functional/common/init.sh:59) cat ++++(/build/source/tests/functional/common/init.sh:67) nix-store --init ++++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/flakes/source-paths/var/nix/db/db.sqlite ++++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test flakes / source-paths' ++++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix +++(../common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++(../common.sh:16) startDaemon +++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] +++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/flakes/source-paths/dSocket +++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=40134 +++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID +++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/source-paths/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:84) kill -0 40134 +++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 +++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features +++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/source-paths/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 +++(/build/source/tests/functional/common/functions.sh:82) break +++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] +++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT +++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= +++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon +++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon ++(./common.sh:5) export _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:5) _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:8) registry=/build/nix-test/flakes/source-paths/registry.json +(source-paths.sh:5) requireGit ++(/build/source/tests/functional/common/functions.sh:166) type -p git +(/build/source/tests/functional/common/functions.sh:166) [[ -n /nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin/git ]] +(source-paths.sh:7) repo=/build/nix-test/flakes/source-paths/repo +(source-paths.sh:9) createGitRepo /build/nix-test/flakes/source-paths/repo +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/flakes/source-paths/repo +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/flakes/source-paths/repo /build/nix-test/flakes/source-paths/repo.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/flakes/source-paths/repo +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/flakes/source-paths/repo +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/flakes/source-paths/repo +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/flakes/source-paths/repo init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/flakes/source-paths/repo config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/flakes/source-paths/repo config user.name Foobar +(source-paths.sh:11) cat +(source-paths.sh:23) expectStderr 1 nix eval /build/nix-test/flakes/source-paths/repo#x +(source-paths.sh:23) grepQuiet 'error: Path '\''flake.nix'\'' in the repository "/build/nix-test/flakes/source-paths/repo" is not tracked by Git.' +(/build/source/tests/functional/common/functions.sh:330) checkGrepArgs 'error: Path '\''flake.nix'\'' in the repository "/build/nix-test/flakes/source-paths/repo" is not tracked by Git.' +(/build/source/tests/functional/common/functions.sh:201) local expected res +(/build/source/tests/functional/common/functions.sh:202) expected=1 +(/build/source/tests/functional/common/functions.sh:203) shift +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:204) nix eval /build/nix-test/flakes/source-paths/repo#x +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ error: Path 'flake.nix' in the repository "/build/nix-test/flakes/source-paths/repo" is not tracked by Git. != error\: Path 'flake\.nix' in the repository "/build/nix\-test/flakes/source\-paths/repo" is not tracked by Git\. ]] +(/build/source/tests/functional/common/functions.sh:331) command grep 'error: Path '\''flake.nix'\'' in the repository "/build/nix-test/flakes/source-paths/repo" is not tracked by Git.' +(/build/source/tests/functional/common/functions.sh:204) res=1 +(/build/source/tests/functional/common/functions.sh:206) [[ 1 -ne 1 ]] +(/build/source/tests/functional/common/functions.sh:210) return 0 +(source-paths.sh:25) git -C /build/nix-test/flakes/source-paths/repo add flake.nix ++(source-paths.sh:27) nix eval /build/nix-test/flakes/source-paths/repo#x warning: you don't have Internet access; disabling some network-dependent features warning: Git tree '/build/nix-test/flakes/source-paths/repo' is dirty accepted connection from pid 44657, user nixbld (trusted) shutting down+(source-paths.sh:27) [[ 1 = 1 ]] +(source-paths.sh:29) expectStderr 1 nix eval /build/nix-test/flakes/source-paths/repo#y +(/build/source/tests/functional/common/functions.sh:201) local expected res +(/build/source/tests/functional/common/functions.sh:202) expected=1 +(/build/source/tests/functional/common/functions.sh:203) shift +(/build/source/tests/functional/common/functions.sh:204) nix eval /build/nix-test/flakes/source-paths/repo#y +(source-paths.sh:29) grepQuiet 'at /build/nix-test/flakes/source-paths/repo/flake.nix:' +(/build/source/tests/functional/common/functions.sh:330) checkGrepArgs 'at /build/nix-test/flakes/source-paths/repo/flake.nix:' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ at /build/nix-test/flakes/source-paths/repo/flake.nix: != at /build/nix\-test/flakes/source\-paths/repo/flake\.nix\: ]] +(/build/source/tests/functional/common/functions.sh:331) command grep 'at /build/nix-test/flakes/source-paths/repo/flake.nix:' reaped child process 46015, status = succeeded accepted connection from pid 46246, user nixbld (trusted) shutting down+(/build/source/tests/functional/common/functions.sh:204) res=1 +(/build/source/tests/functional/common/functions.sh:206) [[ 1 -ne 1 ]] +(/build/source/tests/functional/common/functions.sh:210) return 0 +(source-paths.sh:31) git -C /build/nix-test/flakes/source-paths/repo commit -a -m foo reaped child process 47342, status = succeeded +(source-paths.sh:33) expectStderr 1 nix eval 'git+file:///build/nix-test/flakes/source-paths/repo?ref=master#y' +(/build/source/tests/functional/common/functions.sh:201) local expected res +(/build/source/tests/functional/common/functions.sh:202) expected=1 +(/build/source/tests/functional/common/functions.sh:203) shift +(/build/source/tests/functional/common/functions.sh:204) nix eval 'git+file:///build/nix-test/flakes/source-paths/repo?ref=master#y' +(source-paths.sh:33) grepQuiet 'at «git+file:///build/nix-test/flakes/source-paths/repo?ref=master&rev=.*»/flake.nix:' +(/build/source/tests/functional/common/functions.sh:330) checkGrepArgs 'at «git+file:///build/nix-test/flakes/source-paths/repo?ref=master&rev=.*»/flake.nix:' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ at «git+file:///build/nix-test/flakes/source-paths/repo?ref=master&rev=.*»/flake.nix: != at «git+file\:///build/nix\-test/flakes/source\-paths/repo\?ref\=master&rev\=\.\*»/flake\.nix\: ]] +(/build/source/tests/functional/common/functions.sh:331) command grep 'at «git+file:///build/nix-test/flakes/source-paths/repo?ref=master&rev=.*»/flake.nix:' accepted connection from pid 48041, user nixbld (trusted) shutting down+(/build/source/tests/functional/common/functions.sh:204) res=1 +(/build/source/tests/functional/common/functions.sh:206) [[ 1 -ne 1 ]] +(/build/source/tests/functional/common/functions.sh:210) return 0 +(source-paths.sh:35) expectStderr 1 nix eval /build/nix-test/flakes/source-paths/repo#z +(/build/source/tests/functional/common/functions.sh:201) local expected res +(/build/source/tests/functional/common/functions.sh:202) expected=1 +(/build/source/tests/functional/common/functions.sh:203) shift +(/build/source/tests/functional/common/functions.sh:204) nix eval /build/nix-test/flakes/source-paths/repo#z +(source-paths.sh:35) grepQuiet 'error: Path '\''foo'\'' does not exist in Git repository "/build/nix-test/flakes/source-paths/repo".' +(/build/source/tests/functional/common/functions.sh:330) checkGrepArgs 'error: Path '\''foo'\'' does not exist in Git repository "/build/nix-test/flakes/source-paths/repo".' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ error: Path 'foo' does not exist in Git repository "/build/nix-test/flakes/source-paths/repo". != error\: Path 'foo' does not exist in Git repository "/build/nix\-test/flakes/source\-paths/repo"\. ]] +(/build/source/tests/functional/common/functions.sh:331) command grep 'error: Path '\''foo'\'' does not exist in Git repository "/build/nix-test/flakes/source-paths/repo".' reaped child process 48758, status = succeeded accepted connection from pid 49255, user nixbld (trusted) shutting down+(/build/source/tests/functional/common/functions.sh:204) res=1 +(/build/source/tests/functional/common/functions.sh:206) [[ 1 -ne 1 ]] +(/build/source/tests/functional/common/functions.sh:210) return 0 +(source-paths.sh:36) expectStderr 1 nix eval 'git+file:///build/nix-test/flakes/source-paths/repo?ref=master#z' +(/build/source/tests/functional/common/functions.sh:201) local expected res +(/build/source/tests/functional/common/functions.sh:202) expected=1 +(/build/source/tests/functional/common/functions.sh:203) shift +(/build/source/tests/functional/common/functions.sh:204) nix eval 'git+file:///build/nix-test/flakes/source-paths/repo?ref=master#z' +(source-paths.sh:36) grepQuiet 'error: '\''«git+file:///build/nix-test/flakes/source-paths/repo?ref=master&rev=.*»/foo'\'' does not exist' +(/build/source/tests/functional/common/functions.sh:330) checkGrepArgs 'error: '\''«git+file:///build/nix-test/flakes/source-paths/repo?ref=master&rev=.*»/foo'\'' does not exist' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ error: '«git+file:///build/nix-test/flakes/source-paths/repo?ref=master&rev=.*»/foo' does not exist != error\: '«git+file\:///build/nix\-test/flakes/source\-paths/repo\?ref\=master&rev\=\.\*»/foo' does not exist ]] +(/build/source/tests/functional/common/functions.sh:331) command grep 'error: '\''«git+file:///build/nix-test/flakes/source-paths/repo?ref=master&rev=.*»/foo'\'' does not exist' reaped child process 49965, status = succeeded accepted connection from pid 50225, user nixbld (trusted) shutting down+(/build/source/tests/functional/common/functions.sh:204) res=1 +(/build/source/tests/functional/common/functions.sh:206) [[ 1 -ne 1 ]] +(/build/source/tests/functional/common/functions.sh:210) return 0 +(source-paths.sh:37) expectStderr 1 nix eval /build/nix-test/flakes/source-paths/repo#a +(/build/source/tests/functional/common/functions.sh:201) local expected res +(/build/source/tests/functional/common/functions.sh:202) expected=1 +(/build/source/tests/functional/common/functions.sh:203) shift +(/build/source/tests/functional/common/functions.sh:204) nix eval /build/nix-test/flakes/source-paths/repo#a +(source-paths.sh:37) grepQuiet 'error: Path '\''foo'\'' does not exist in Git repository "/build/nix-test/flakes/source-paths/repo".' +(/build/source/tests/functional/common/functions.sh:330) checkGrepArgs 'error: Path '\''foo'\'' does not exist in Git repository "/build/nix-test/flakes/source-paths/repo".' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ error: Path 'foo' does not exist in Git repository "/build/nix-test/flakes/source-paths/repo". != error\: Path 'foo' does not exist in Git repository "/build/nix\-test/flakes/source\-paths/repo"\. ]] +(/build/source/tests/functional/common/functions.sh:331) command grep 'error: Path '\''foo'\'' does not exist in Git repository "/build/nix-test/flakes/source-paths/repo".' reaped child process 51096, status = succeeded +(/build/source/tests/functional/common/functions.sh:204) res=1 +(/build/source/tests/functional/common/functions.sh:206) [[ 1 -ne 1 ]] +(/build/source/tests/functional/common/functions.sh:210) return 0 ++(source-paths.sh:37) onError ++(/build/source/tests/functional/common/functions.sh:242) [[ ehuxB == *e* ]] ++(/build/source/tests/functional/common/functions.sh:243) set +x source-paths.sh: test failed at: main in source-paths.sh:37 shutting down ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 108/221 flakes - nix-functional-tests:flakes FAIL 2.08s exit status 1 >>> TEST_NAME=flakes MALLOC_PERTURB_=228 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 NIX_REMOTE='' TEST_SUITE_NAME=flakes ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail flakes.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: Initialized empty Git repository in /build/nix-test/flakes/flakes/flake1/.git/ [master (root-commit) 8cc6d1d] Initial 5 files changed, 229 insertions(+) create mode 100644 config.nix create mode 100644 flake.nix create mode 100644 shell.nix create mode 100644 simple.builder.sh create mode 100644 simple.nix Initialized empty Git repository in /build/nix-test/flakes/flakes/flake 2/.git/ [main (root-commit) e44d3de] Initial 1 file changed, 7 insertions(+) create mode 100644 flake.nix Initialized empty Git repository in /build/nix-test/flakes/flakes/flake%20/.git/ Initialized empty Git repository in /build/nix-test/flakes/flakes/flake7/.git/ [master (root-commit) cfd32b5] Initial 2 files changed, 12 insertions(+) create mode 100644 default.nix create mode 100644 flake.nix global flake:flake2 git+file:///build/nix-test/flakes/flakes/flake%202 global flake:flake1 git+file:///build/nix-test/flakes/flakes/flake1 global flake:flake3 git+file:///build/nix-test/flakes/flakes/flake%2520 global flake:nixpkgs flake:flake1 stderr: +(flakes.sh:3) source ./common.sh ++(./common.sh:3) source ../common.sh +++(../common.sh:3) set -eu -o pipefail +++(../common.sh:5) [[ -z '' ]] +++(../common.sh:7) COMMON_SH_SOURCED=1 +++++(../common.sh:9) dirname ../common.sh ++++(../common.sh:9) readlink -f .. +++(../common.sh:9) functionalTestsDir=/build/source/tests/functional +++(../common.sh:11) source /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional +++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build ++++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build ++++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh +++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] +++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 +++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin +++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= +++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox +++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b +++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux ++++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' ++++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system ++++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat ++++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 +++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh ++++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common +++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh ++++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] ++++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR +++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh ++++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] +++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin +++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS +++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash +++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] +++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh +++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=flakes/flakes ++++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test +++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/flakes/flakes +++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT ++++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/flakes/flakes/etc ++++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/flakes/flakes/etc/nix.conf ++++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/flakes/flakes/test-home ++++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/flakes/flakes/test-home ++++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR +++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/flakes/flakes/store ++++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= ++++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 ++++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/flakes/flakes/store ++++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/flakes/flakes/var ++++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/flakes/flakes/var ++++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/flakes/flakes/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/flakes/flakes/var/log/nix ++++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/flakes/flakes/var/nix ++++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/flakes/flakes/var/nix ++++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/flakes/flakes/etc ++++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/flakes/flakes/etc ++++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/flakes/dSocket ++++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/flakes/flakes/dSocket ++++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES ++++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/flakes/flakes/shared ++++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/flakes/flakes/shared ++++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] ++++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 ++++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/flakes/flakes/shared ++++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/flakes/flakes/shared ++++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 ++++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 ++++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= ++++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH ++++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/flakes/flakes/test-home ++++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/flakes/flakes/test-home ++++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME ++++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME ++++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME ++++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS ++++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME ++++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR ++++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null ++++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo ++++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar ++++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/flakes/flakes/binary-cache +++++(/build/source/tests/functional/common/vars.sh:78) uname ++++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] ++++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] ++++(/build/source/tests/functional/common/vars.sh:78) unshare --user true ++++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 ++++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/flakes/flakes/config.nix +++(../common.sh:12) source /build/source/tests/functional/common/functions.sh ++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] +++(../common.sh:13) source /build/source/tests/functional/common/init.sh ++++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/flakes/flakes/etc /build/nix-test/flakes/flakes/etc/nix.conf /build/nix-test/flakes/flakes/config.nix ++++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/flakes/flakes ++++(/build/source/tests/functional/common/init.sh:31) killDaemon ++++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] ++++(/build/source/tests/functional/common/functions.sh:106) return ++++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/flakes/flakes ]] ++++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/flakes/flakes ++++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/flakes/flakes/test-home ++++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/flakes/flakes/store ++++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/flakes/flakes/var ++++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/flakes/flakes/var/log/nix/drvs ++++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/flakes/flakes/var/nix ++++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/flakes/flakes/etc ++++(/build/source/tests/functional/common/init.sh:46) cat +++++(/build/source/tests/functional/common/init.sh:46) whoami ++++(/build/source/tests/functional/common/init.sh:59) cat ++++(/build/source/tests/functional/common/init.sh:67) nix-store --init ++++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/flakes/flakes/var/nix/db/db.sqlite ++++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test flakes / flakes' ++++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix +++(../common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +++(../common.sh:16) startDaemon +++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] +++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/flakes/flakes/dSocket +++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=33169 +++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID +++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/flakes/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:84) kill -0 33169 +++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 +++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon +++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/flakes/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:84) kill -0 33169 +++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 warning: you don't have Internet access; disabling some network-dependent features +++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) +++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) +++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/flakes/flakes/dSocket ]] +++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 +++(/build/source/tests/functional/common/functions.sh:82) break +++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] +++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT +++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= +++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon +++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon ++(./common.sh:5) export _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:5) _NIX_TEST_BARF_ON_UNCACHEABLE=1 ++(./common.sh:8) registry=/build/nix-test/flakes/flakes/registry.json +(flakes.sh:5) TODO_NixOS +(/build/source/tests/functional/common/functions.sh:148) isTestOnNixOS +(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +(flakes.sh:7) requireGit ++(/build/source/tests/functional/common/functions.sh:166) type -p git +(/build/source/tests/functional/common/functions.sh:166) [[ -n /nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin/git ]] +(flakes.sh:9) createFlake1 +(./common.sh:54) flake1Dir=/build/nix-test/flakes/flakes/flake1 +(./common.sh:55) createGitRepo /build/nix-test/flakes/flakes/flake1 '' +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/flakes/flakes/flake1 +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/flakes/flakes/flake1 /build/nix-test/flakes/flakes/flake1.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/flakes/flakes/flake1 +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/flakes/flakes/flake1 +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/flakes/flakes/flake1 +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/flakes/flakes/flake1 init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/flakes/flakes/flake1 config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/flakes/flakes/flake1 config user.name Foobar +(./common.sh:56) createSimpleGitFlake /build/nix-test/flakes/flakes/flake1 +(./common.sh:45) requireGit ++(/build/source/tests/functional/common/functions.sh:166) type -p git +(/build/source/tests/functional/common/functions.sh:166) [[ -n /nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin/git ]] +(./common.sh:46) local flakeDir=/build/nix-test/flakes/flakes/flake1 +(./common.sh:47) writeSimpleFlake /build/nix-test/flakes/flakes/flake1 +(./common.sh:11) local flakeDir=/build/nix-test/flakes/flakes/flake1 +(./common.sh:12) cat +(./common.sh:41) cp ../simple.nix ../shell.nix ../simple.builder.sh /build/nix-test/flakes/flakes/config.nix /build/nix-test/flakes/flakes/flake1/ +(./common.sh:48) git -C /build/nix-test/flakes/flakes/flake1 add flake.nix simple.nix shell.nix simple.builder.sh config.nix +(./common.sh:49) git -C /build/nix-test/flakes/flakes/flake1 commit -m Initial +(./common.sh:57) nix registry add --registry /build/nix-test/flakes/flakes/registry.json flake1 git+file:///build/nix-test/flakes/flakes/flake1 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:10) createFlake2 +(./common.sh:61) flake2Dir='/build/nix-test/flakes/flakes/flake 2' +(./common.sh:62) percentEncodedFlake2Dir=/build/nix-test/flakes/flakes/flake%202 +(./common.sh:65) createGitRepo '/build/nix-test/flakes/flakes/flake 2' --initial-branch=main +(/build/source/tests/functional/common/functions.sh:377) local 'repo=/build/nix-test/flakes/flakes/flake 2' +(/build/source/tests/functional/common/functions.sh:378) local extraArgs=--initial-branch=main +(/build/source/tests/functional/common/functions.sh:380) rm -rf '/build/nix-test/flakes/flakes/flake 2' '/build/nix-test/flakes/flakes/flake 2.tmp' +(/build/source/tests/functional/common/functions.sh:381) mkdir -p '/build/nix-test/flakes/flakes/flake 2' +(/build/source/tests/functional/common/functions.sh:384) initGitRepo '/build/nix-test/flakes/flakes/flake 2' --initial-branch=main +(/build/source/tests/functional/common/functions.sh:367) local 'repo=/build/nix-test/flakes/flakes/flake 2' +(/build/source/tests/functional/common/functions.sh:368) local extraArgs=--initial-branch=main +(/build/source/tests/functional/common/functions.sh:371) git -C '/build/nix-test/flakes/flakes/flake 2' init --initial-branch=main +(/build/source/tests/functional/common/functions.sh:372) git -C '/build/nix-test/flakes/flakes/flake 2' config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C '/build/nix-test/flakes/flakes/flake 2' config user.name Foobar +(./common.sh:67) cat +(./common.sh:77) git -C '/build/nix-test/flakes/flakes/flake 2' add flake.nix +(./common.sh:78) git -C '/build/nix-test/flakes/flakes/flake 2' commit -m Initial +(./common.sh:80) nix registry add --registry /build/nix-test/flakes/flakes/registry.json flake2 git+file:///build/nix-test/flakes/flakes/flake%202 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:12) flake3Dir=/build/nix-test/flakes/flakes/flake%20 +(flakes.sh:13) percentEncodedFlake3Dir=/build/nix-test/flakes/flakes/flake%2520 +(flakes.sh:14) flake5Dir=/build/nix-test/flakes/flakes/flake5 +(flakes.sh:15) flake7Dir=/build/nix-test/flakes/flakes/flake7 +(flakes.sh:16) badFlakeDir=/build/nix-test/flakes/flakes/badFlake +(flakes.sh:17) flakeGitBare=/build/nix-test/flakes/flakes/flakeGitBare +(flakes.sh:19) for repo in "$flake3Dir" "$flake7Dir" +(flakes.sh:20) createGitRepo /build/nix-test/flakes/flakes/flake%20 '' +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/flakes/flakes/flake%20 +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/flakes/flakes/flake%20 /build/nix-test/flakes/flakes/flake%20.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/flakes/flakes/flake%20 +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/flakes/flakes/flake%20 +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/flakes/flakes/flake%20 +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/flakes/flakes/flake%20 init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/flakes/flakes/flake%20 config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/flakes/flakes/flake%20 config user.name Foobar +(flakes.sh:19) for repo in "$flake3Dir" "$flake7Dir" +(flakes.sh:20) createGitRepo /build/nix-test/flakes/flakes/flake7 '' +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/flakes/flakes/flake7 +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/flakes/flakes/flake7 /build/nix-test/flakes/flakes/flake7.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/flakes/flakes/flake7 +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/flakes/flakes/flake7 +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/flakes/flakes/flake7 +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/flakes/flakes/flake7 init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/flakes/flakes/flake7 config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/flakes/flakes/flake7 config user.name Foobar +(flakes.sh:23) cat +(flakes.sh:37) cat +(flakes.sh:41) git -C /build/nix-test/flakes/flakes/flake%20 add flake.nix default.nix +(flakes.sh:42) git -C /build/nix-test/flakes/flakes/flake%20 commit -m Initial +(flakes.sh:45) nix registry add --registry /build/nix-test/flakes/flakes/registry.json flake1 git+file:///build/nix-test/flakes/flakes/flake1 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:46) nix registry add --registry /build/nix-test/flakes/flakes/registry.json flake3 git+file:///build/nix-test/flakes/flakes/flake%2520 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:47) nix registry add --registry /build/nix-test/flakes/flakes/registry.json nixpkgs flake1 warning: you don't have Internet access; disabling some network-dependent features ++(flakes.sh:50) nix registry list ++(flakes.sh:50) wc -l warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:50) [[ 4 == 4 ]] +(flakes.sh:51) nix registry list +(flakes.sh:51) grep '^global' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs '^global' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ ^global != \^global ]] +(/build/source/tests/functional/common/functions.sh:345) command grep '^global' warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:52) nix registry list +(flakes.sh:52) grepInverse '^user' +(/build/source/tests/functional/common/functions.sh:311) checkGrepArgs '^user' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ ^user != \^user ]] +(/build/source/tests/functional/common/functions.sh:312) command grep '^user' GC Warning: Marker thread creation failed error: Resource temporarily unavailable ++(flakes.sh:52) onError ++(/build/source/tests/functional/common/functions.sh:242) [[ ehuxB == *e* ]] ++(/build/source/tests/functional/common/functions.sh:243) set +x flakes.sh: test failed at: main in flakes.sh:52 shutting down ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 109/221 main - nix-functional-tests:build-delete FAIL 4.66s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TEST_NAME=build-delete MALLOC_PERTURB_=216 TEST_SUITE_NAME=main MESON_TEST_ITERATION=1 NIX_REMOTE='' ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail build-delete.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: 1 store paths deleted, 0.0 KiB freed 1 store paths deleted, 0.0 KiB freed 1 store paths deleted, 0.0 KiB freed 1 store paths deleted, 0.0 KiB freed 1 store paths deleted, 0.0 KiB freed stderr: +(build-delete.sh:3) source common.sh ++(common.sh:3) set -eu -o pipefail ++(common.sh:5) [[ -z '' ]] ++(common.sh:7) COMMON_SH_SOURCED=1 ++++(common.sh:9) dirname common.sh +++(common.sh:9) readlink -f . ++(common.sh:9) functionalTestsDir=/build/source/tests/functional ++(common.sh:11) source /build/source/tests/functional/common/vars.sh +++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] +++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional +++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build +++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build +++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh ++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] ++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= ++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox ++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b ++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux +++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' +++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system +++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat +++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat +++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh ++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh +++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR ++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] ++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] ++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh ++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=main/build-delete +++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test ++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/main/build-delete ++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT +++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/main/build-delete/etc +++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/main/build-delete/etc/nix.conf +++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/main/build-delete/test-home +++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/main/build-delete/test-home +++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR ++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/main/build-delete/store +++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= +++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/main/build-delete/store +++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/main/build-delete/var +++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/main/build-delete/var +++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/main/build-delete/var/log/nix +++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/main/build-delete/var/log/nix +++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/main/build-delete/var/nix +++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/main/build-delete/var/nix +++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/main/build-delete/etc +++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/main/build-delete/etc +++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/build-delete/dSocket +++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/build-delete/dSocket +++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES +++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/main/build-delete/shared +++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/main/build-delete/shared +++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] +++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/main/build-delete/shared +++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/main/build-delete/shared +++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH +++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/main/build-delete/test-home +++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/main/build-delete/test-home +++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME +++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME +++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME +++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS +++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME +++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR +++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/main/build-delete/binary-cache ++++(/build/source/tests/functional/common/vars.sh:78) uname +++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] +++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] +++(/build/source/tests/functional/common/vars.sh:78) unshare --user true +++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 +++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/main/build-delete/config.nix ++(common.sh:12) source /build/source/tests/functional/common/functions.sh +++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] ++(common.sh:13) source /build/source/tests/functional/common/init.sh +++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/main/build-delete/etc /build/nix-test/main/build-delete/etc/nix.conf /build/nix-test/main/build-delete/config.nix +++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/main/build-delete +++(/build/source/tests/functional/common/init.sh:31) killDaemon +++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] +++(/build/source/tests/functional/common/functions.sh:106) return +++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/main/build-delete ]] +++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/main/build-delete +++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/main/build-delete/test-home +++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/main/build-delete/store +++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/main/build-delete/var +++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/main/build-delete/var/log/nix/drvs +++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/main/build-delete/var/nix +++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/main/build-delete/etc +++(/build/source/tests/functional/common/init.sh:46) cat ++++(/build/source/tests/functional/common/init.sh:46) whoami +++(/build/source/tests/functional/common/init.sh:59) cat +++(/build/source/tests/functional/common/init.sh:67) nix-store --init +++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/main/build-delete/var/nix/db/db.sqlite +++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test main / build-delete' +++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix ++(common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++(common.sh:16) startDaemon ++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS ++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] ++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/main/build-delete/dSocket ++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=1220 ++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID ++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/build-delete/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:84) kill -0 1220 ++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 ++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features ++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/build-delete/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 ++(/build/source/tests/functional/common/functions.sh:82) break ++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] ++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT ++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= ++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon ++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon +(build-delete.sh:31) issue_6572_independent_outputs +(build-delete.sh:7) nix build -f multiple-outputs.nix --json independent --no-link warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 1854, user nixbld (trusted) this derivation will be built: /build/nix-test/main/build-delete/store/6fg02601np6aagkhc21zc98rqxh06hs3-multiple-outputs-independent.drv building '/build/nix-test/main/build-delete/store/6fg02601np6aagkhc21zc98rqxh06hs3-multiple-outputs-independent.drv'... shutting down++(build-delete.sh:10) nix build -f multiple-outputs.nix use-independent --no-link --print-out-paths reaped child process 2199, status = succeeded warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 3068, user nixbld (trusted) these 2 derivations will be built: /build/nix-test/main/build-delete/store/as8q9iv8grxh481y3dm62a1cj9599vab-multiple-outputs-a.drv /build/nix-test/main/build-delete/store/i9fsis1qmg6jj1h954msf21sd3b01zjh-use-independent.drv building '/build/nix-test/main/build-delete/store/as8q9iv8grxh481y3dm62a1cj9599vab-multiple-outputs-a.drv'... building '/build/nix-test/main/build-delete/store/i9fsis1qmg6jj1h954msf21sd3b01zjh-use-independent.drv'... +(build-delete.sh:10) p=/build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent +(build-delete.sh:11) nix-store --delete /build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent shutting downreaped child process 3497, status = succeeded accepted connection from pid 6896, user nixbld (trusted) finding garbage collector roots... removing stale temporary roots file "/build/nix-test/main/build-delete/var/nix/temproots/3497" removing stale temporary roots file "/build/nix-test/main/build-delete/var/nix/temproots/2199" deleting specified paths... deleting '/build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent' deleting unused links... note: hard linking is currently saving -0.5 KiB shutting down++(build-delete.sh:14) jq -r '.[0].outputs.first' reaped child process 7459, status = succeeded +(build-delete.sh:14) nix-store --delete /build/nix-test/main/build-delete/store/1sxzjrdmdfnpz6cgy74s0v9b9g34ykmd-multiple-outputs-independent-first accepted connection from pid 10626, user nixbld (trusted) finding garbage collector roots... deleting specified paths... deleting '/build/nix-test/main/build-delete/store/1sxzjrdmdfnpz6cgy74s0v9b9g34ykmd-multiple-outputs-independent-first' deleting unused links... note: hard linking is currently saving -0.5 KiB shutting downreaped child process 11253, status = succeeded ++(build-delete.sh:15) nix build -f multiple-outputs.nix use-independent --no-link --print-out-paths warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 15459, user nixbld (trusted) this derivation will be built: /build/nix-test/main/build-delete/store/i9fsis1qmg6jj1h954msf21sd3b01zjh-use-independent.drv building '/build/nix-test/main/build-delete/store/i9fsis1qmg6jj1h954msf21sd3b01zjh-use-independent.drv'... shutting down+(build-delete.sh:15) p=/build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent +(build-delete.sh:16) cmp /build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent +(build-delete.sh:20) nix-store --delete /build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent reaped child process 16440, status = succeeded accepted connection from pid 21571, user nixbld (trusted) finding garbage collector roots... removing stale temporary roots file "/build/nix-test/main/build-delete/var/nix/temproots/16440" deleting specified paths... deleting '/build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent' deleting unused links... note: hard linking is currently saving -0.5 KiB shutting downreaped child process 22248, status = succeeded ++(build-delete.sh:23) jq -r '.[0].outputs.second' +(build-delete.sh:23) nix-store --delete /build/nix-test/main/build-delete/store/lkb9r1gvv8q4cy3ckxf02gqb0jczvqx7-multiple-outputs-independent-second accepted connection from pid 28111, user nixbld (trusted) finding garbage collector roots... deleting specified paths... deleting '/build/nix-test/main/build-delete/store/lkb9r1gvv8q4cy3ckxf02gqb0jczvqx7-multiple-outputs-independent-second' deleting unused links... note: hard linking is currently saving -0.5 KiB shutting downreaped child process 29123, status = succeeded ++(build-delete.sh:24) nix build -f multiple-outputs.nix use-independent --no-link --print-out-paths warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 35359, user nixbld (trusted) this derivation will be built: /build/nix-test/main/build-delete/store/i9fsis1qmg6jj1h954msf21sd3b01zjh-use-independent.drv building '/build/nix-test/main/build-delete/store/i9fsis1qmg6jj1h954msf21sd3b01zjh-use-independent.drv'... shutting down+(build-delete.sh:24) p=/build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent +(build-delete.sh:25) cmp /build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent +(build-delete.sh:29) nix-store --delete /build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent reaped child process 36527, status = succeeded accepted connection from pid 40023, user nixbld (trusted) finding garbage collector roots... removing stale temporary roots file "/build/nix-test/main/build-delete/var/nix/temproots/36527" deleting specified paths... deleting '/build/nix-test/main/build-delete/store/0zh0bifqdgf4x5h79lg89qq49r8001cs-use-independent' deleting unused links... note: hard linking is currently saving -0.5 KiB shutting downreaped child process 41064, status = succeeded +(build-delete.sh:56) isDaemonNewer 2.12pre0 +(/build/source/tests/functional/common/functions.sh:135) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] +(/build/source/tests/functional/common/functions.sh:136) local requiredVersion=2.12pre0 +(/build/source/tests/functional/common/functions.sh:137) local daemonVersion ++(/build/source/tests/functional/common/functions.sh:138) /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin/nix daemon --version ++(/build/source/tests/functional/common/functions.sh:138) cut '-d ' -f3 +(/build/source/tests/functional/common/functions.sh:138) daemonVersion=2.36.0pre20260726_01e8d7b ++(/build/source/tests/functional/common/functions.sh:139) nix eval --expr 'builtins.compareVersions '\'''\''2.36.0pre20260726_01e8d7b'\'''\'' '\'''\''2.12pre0'\'''\''' warning: you don't have Internet access; disabling some network-dependent features +(/build/source/tests/functional/common/functions.sh:139) [[ 1 -ge 0 ]] +(build-delete.sh:57) issue_6572_dependent_outputs +(build-delete.sh:37) nix build -f multiple-outputs.nix --json a --no-link GC Warning: Marker thread creation failed error: Resource temporarily unavailable +(build-delete.sh:1) killDaemon +(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +(/build/source/tests/functional/common/functions.sh:105) [[ 1220 == '' ]] +(/build/source/tests/functional/common/functions.sh:108) kill 1220 +(/build/source/tests/functional/common/functions.sh:109) for i in {0..100} +(/build/source/tests/functional/common/functions.sh:110) kill -0 1220 +(/build/source/tests/functional/common/functions.sh:111) sleep 0.1 shutting down+(/build/source/tests/functional/common/functions.sh:109) for i in {0..100} +(/build/source/tests/functional/common/functions.sh:110) kill -0 1220 +(/build/source/tests/functional/common/functions.sh:110) break +(/build/source/tests/functional/common/functions.sh:113) kill -9 1220 +(/build/source/tests/functional/common/functions.sh:113) true +(/build/source/tests/functional/common/functions.sh:114) wait 1220 +(/build/source/tests/functional/common/functions.sh:115) rm -f /build/nix-test/main/build-delete/dSocket +(/build/source/tests/functional/common/functions.sh:117) unset _NIX_TEST_DAEMON_PID +(/build/source/tests/functional/common/functions.sh:119) NIX_REMOTE= +(/build/source/tests/functional/common/functions.sh:120) trap '' EXIT ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 110/221 main - nix-functional-tests:hash-path FAIL 3.96s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TEST_SUITE_NAME=main MESON_TEST_ITERATION=1 MALLOC_PERTURB_=162 TEST_NAME=hash-path NIX_REMOTE='' ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail hash-path.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: +(hash-path.sh:3) source common.sh ++(common.sh:3) set -eu -o pipefail ++(common.sh:5) [[ -z '' ]] ++(common.sh:7) COMMON_SH_SOURCED=1 ++++(common.sh:9) dirname common.sh +++(common.sh:9) readlink -f . ++(common.sh:9) functionalTestsDir=/build/source/tests/functional ++(common.sh:11) source /build/source/tests/functional/common/vars.sh +++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] +++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional +++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build +++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build +++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh ++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] ++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= ++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox ++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b ++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux +++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' +++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system +++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat +++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat +++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh ++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh +++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR ++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] ++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] ++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh ++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=main/hash-path +++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test ++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/main/hash-path ++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT +++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/main/hash-path/etc +++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/main/hash-path/etc/nix.conf +++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/main/hash-path/test-home +++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/main/hash-path/test-home +++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR ++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/main/hash-path/store +++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= +++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/main/hash-path/store +++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/main/hash-path/var +++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/main/hash-path/var +++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/main/hash-path/var/log/nix +++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/main/hash-path/var/log/nix +++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/main/hash-path/var/nix +++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/main/hash-path/var/nix +++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/main/hash-path/etc +++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/main/hash-path/etc +++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/hash-path/dSocket +++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/hash-path/dSocket +++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES +++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/main/hash-path/shared +++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/main/hash-path/shared +++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] +++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/main/hash-path/shared +++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/main/hash-path/shared +++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH +++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/main/hash-path/test-home +++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/main/hash-path/test-home +++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME +++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME +++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME +++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS +++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME +++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR +++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/main/hash-path/binary-cache ++++(/build/source/tests/functional/common/vars.sh:78) uname +++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] +++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] +++(/build/source/tests/functional/common/vars.sh:78) unshare --user true +++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 +++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/main/hash-path/config.nix ++(common.sh:12) source /build/source/tests/functional/common/functions.sh +++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] ++(common.sh:13) source /build/source/tests/functional/common/init.sh +++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/main/hash-path/etc /build/nix-test/main/hash-path/etc/nix.conf /build/nix-test/main/hash-path/config.nix +++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/main/hash-path +++(/build/source/tests/functional/common/init.sh:31) killDaemon +++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] +++(/build/source/tests/functional/common/functions.sh:106) return +++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/main/hash-path ]] +++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/main/hash-path +++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/main/hash-path/test-home +++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/main/hash-path/store +++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/main/hash-path/var +++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/main/hash-path/var/log/nix/drvs +++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/main/hash-path/var/nix +++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/main/hash-path/etc +++(/build/source/tests/functional/common/init.sh:46) cat ++++(/build/source/tests/functional/common/init.sh:46) whoami +++(/build/source/tests/functional/common/init.sh:59) cat +++(/build/source/tests/functional/common/init.sh:67) nix-store --init +++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/main/hash-path/var/nix/db/db.sqlite +++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test main / hash-path' +++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix ++(common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++(common.sh:16) startDaemon ++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS ++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] ++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/main/hash-path/dSocket ++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=7987 ++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID ++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/hash-path/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:84) kill -0 7987 ++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 ++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features ++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/hash-path/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 ++(/build/source/tests/functional/common/functions.sh:82) break ++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] ++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT ++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= ++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon ++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon +(hash-path.sh:24) FORMAT=base16 +(hash-path.sh:25) try md5 '' d41d8cd98f00b204e9800998ecf8427e +(hash-path.sh:6) printf %s '' ++(hash-path.sh:7) nix-hash --flat --base16 --type md5 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=d41d8cd98f00b204e9800998ecf8427e +(hash-path.sh:8) (( )) +(hash-path.sh:8) test d41d8cd98f00b204e9800998ecf8427e '!=' d41d8cd98f00b204e9800998ecf8427e ++(hash-path.sh:12) nix hash file --base16 --type md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=d41d8cd98f00b204e9800998ecf8427e +(hash-path.sh:13) (( )) +(hash-path.sh:13) test d41d8cd98f00b204e9800998ecf8427e '!=' d41d8cd98f00b204e9800998ecf8427e ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=d41d8cd98f00b204e9800998ecf8427e +(hash-path.sh:18) (( )) +(hash-path.sh:18) test d41d8cd98f00b204e9800998ecf8427e '!=' d41d8cd98f00b204e9800998ecf8427e +(hash-path.sh:26) try md5 a 0cc175b9c0f1b6a831c399e269772661 +(hash-path.sh:6) printf %s a ++(hash-path.sh:7) nix-hash --flat --base16 --type md5 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=0cc175b9c0f1b6a831c399e269772661 +(hash-path.sh:8) (( )) +(hash-path.sh:8) test 0cc175b9c0f1b6a831c399e269772661 '!=' 0cc175b9c0f1b6a831c399e269772661 ++(hash-path.sh:12) nix hash file --base16 --type md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=0cc175b9c0f1b6a831c399e269772661 +(hash-path.sh:13) (( )) +(hash-path.sh:13) test 0cc175b9c0f1b6a831c399e269772661 '!=' 0cc175b9c0f1b6a831c399e269772661 ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=0cc175b9c0f1b6a831c399e269772661 +(hash-path.sh:18) (( )) +(hash-path.sh:18) test 0cc175b9c0f1b6a831c399e269772661 '!=' 0cc175b9c0f1b6a831c399e269772661 +(hash-path.sh:27) try md5 abc 900150983cd24fb0d6963f7d28e17f72 +(hash-path.sh:6) printf %s abc ++(hash-path.sh:7) nix-hash --flat --base16 --type md5 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=900150983cd24fb0d6963f7d28e17f72 +(hash-path.sh:8) (( )) +(hash-path.sh:8) test 900150983cd24fb0d6963f7d28e17f72 '!=' 900150983cd24fb0d6963f7d28e17f72 ++(hash-path.sh:12) nix hash file --base16 --type md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=900150983cd24fb0d6963f7d28e17f72 +(hash-path.sh:13) (( )) +(hash-path.sh:13) test 900150983cd24fb0d6963f7d28e17f72 '!=' 900150983cd24fb0d6963f7d28e17f72 ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=900150983cd24fb0d6963f7d28e17f72 +(hash-path.sh:18) (( )) +(hash-path.sh:18) test 900150983cd24fb0d6963f7d28e17f72 '!=' 900150983cd24fb0d6963f7d28e17f72 +(hash-path.sh:28) try md5 'message digest' f96b697d7cb7938d525a2f31aaf161d0 +(hash-path.sh:6) printf %s 'message digest' ++(hash-path.sh:7) nix-hash --flat --base16 --type md5 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=f96b697d7cb7938d525a2f31aaf161d0 +(hash-path.sh:8) (( )) +(hash-path.sh:8) test f96b697d7cb7938d525a2f31aaf161d0 '!=' f96b697d7cb7938d525a2f31aaf161d0 ++(hash-path.sh:12) nix hash file --base16 --type md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=f96b697d7cb7938d525a2f31aaf161d0 +(hash-path.sh:13) (( )) +(hash-path.sh:13) test f96b697d7cb7938d525a2f31aaf161d0 '!=' f96b697d7cb7938d525a2f31aaf161d0 ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=f96b697d7cb7938d525a2f31aaf161d0 +(hash-path.sh:18) (( )) +(hash-path.sh:18) test f96b697d7cb7938d525a2f31aaf161d0 '!=' f96b697d7cb7938d525a2f31aaf161d0 +(hash-path.sh:29) try md5 abcdefghijklmnopqrstuvwxyz c3fcd3d76192e4007dfb496cca67e13b +(hash-path.sh:6) printf %s abcdefghijklmnopqrstuvwxyz ++(hash-path.sh:7) nix-hash --flat --base16 --type md5 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=c3fcd3d76192e4007dfb496cca67e13b +(hash-path.sh:8) (( )) +(hash-path.sh:8) test c3fcd3d76192e4007dfb496cca67e13b '!=' c3fcd3d76192e4007dfb496cca67e13b ++(hash-path.sh:12) nix hash file --base16 --type md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=c3fcd3d76192e4007dfb496cca67e13b +(hash-path.sh:13) (( )) +(hash-path.sh:13) test c3fcd3d76192e4007dfb496cca67e13b '!=' c3fcd3d76192e4007dfb496cca67e13b ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=c3fcd3d76192e4007dfb496cca67e13b +(hash-path.sh:18) (( )) +(hash-path.sh:18) test c3fcd3d76192e4007dfb496cca67e13b '!=' c3fcd3d76192e4007dfb496cca67e13b +(hash-path.sh:30) try md5 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 d174ab98d277d9f5a5611c2c9f419d9f +(hash-path.sh:6) printf %s ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ++(hash-path.sh:7) nix-hash --flat --base16 --type md5 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=d174ab98d277d9f5a5611c2c9f419d9f +(hash-path.sh:8) (( )) +(hash-path.sh:8) test d174ab98d277d9f5a5611c2c9f419d9f '!=' d174ab98d277d9f5a5611c2c9f419d9f ++(hash-path.sh:12) nix hash file --base16 --type md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=d174ab98d277d9f5a5611c2c9f419d9f +(hash-path.sh:13) (( )) +(hash-path.sh:13) test d174ab98d277d9f5a5611c2c9f419d9f '!=' d174ab98d277d9f5a5611c2c9f419d9f ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=d174ab98d277d9f5a5611c2c9f419d9f +(hash-path.sh:18) (( )) +(hash-path.sh:18) test d174ab98d277d9f5a5611c2c9f419d9f '!=' d174ab98d277d9f5a5611c2c9f419d9f +(hash-path.sh:31) try md5 12345678901234567890123456789012345678901234567890123456789012345678901234567890 57edf4a22be3c955ac49da2e2107b67a +(hash-path.sh:6) printf %s 12345678901234567890123456789012345678901234567890123456789012345678901234567890 ++(hash-path.sh:7) nix-hash --flat --base16 --type md5 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=57edf4a22be3c955ac49da2e2107b67a +(hash-path.sh:8) (( )) +(hash-path.sh:8) test 57edf4a22be3c955ac49da2e2107b67a '!=' 57edf4a22be3c955ac49da2e2107b67a ++(hash-path.sh:12) nix hash file --base16 --type md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=57edf4a22be3c955ac49da2e2107b67a +(hash-path.sh:13) (( )) +(hash-path.sh:13) test 57edf4a22be3c955ac49da2e2107b67a '!=' 57edf4a22be3c955ac49da2e2107b67a ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo md5 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=57edf4a22be3c955ac49da2e2107b67a +(hash-path.sh:18) (( )) +(hash-path.sh:18) test 57edf4a22be3c955ac49da2e2107b67a '!=' 57edf4a22be3c955ac49da2e2107b67a +(hash-path.sh:33) try sha1 '' da39a3ee5e6b4b0d3255bfef95601890afd80709 +(hash-path.sh:6) printf %s '' ++(hash-path.sh:7) nix-hash --flat --base16 --type sha1 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=da39a3ee5e6b4b0d3255bfef95601890afd80709 +(hash-path.sh:8) (( )) +(hash-path.sh:8) test da39a3ee5e6b4b0d3255bfef95601890afd80709 '!=' da39a3ee5e6b4b0d3255bfef95601890afd80709 ++(hash-path.sh:12) nix hash file --base16 --type sha1 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=da39a3ee5e6b4b0d3255bfef95601890afd80709 +(hash-path.sh:13) (( )) +(hash-path.sh:13) test da39a3ee5e6b4b0d3255bfef95601890afd80709 '!=' da39a3ee5e6b4b0d3255bfef95601890afd80709 ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo sha1 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=da39a3ee5e6b4b0d3255bfef95601890afd80709 +(hash-path.sh:18) (( )) +(hash-path.sh:18) test da39a3ee5e6b4b0d3255bfef95601890afd80709 '!=' da39a3ee5e6b4b0d3255bfef95601890afd80709 +(hash-path.sh:34) try sha1 abc a9993e364706816aba3e25717850c26c9cd0d89d +(hash-path.sh:6) printf %s abc ++(hash-path.sh:7) nix-hash --flat --base16 --type sha1 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=a9993e364706816aba3e25717850c26c9cd0d89d +(hash-path.sh:8) (( )) +(hash-path.sh:8) test a9993e364706816aba3e25717850c26c9cd0d89d '!=' a9993e364706816aba3e25717850c26c9cd0d89d ++(hash-path.sh:12) nix hash file --base16 --type sha1 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=a9993e364706816aba3e25717850c26c9cd0d89d +(hash-path.sh:13) (( )) +(hash-path.sh:13) test a9993e364706816aba3e25717850c26c9cd0d89d '!=' a9993e364706816aba3e25717850c26c9cd0d89d ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo sha1 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=a9993e364706816aba3e25717850c26c9cd0d89d +(hash-path.sh:18) (( )) +(hash-path.sh:18) test a9993e364706816aba3e25717850c26c9cd0d89d '!=' a9993e364706816aba3e25717850c26c9cd0d89d +(hash-path.sh:35) try sha1 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 84983e441c3bd26ebaae4aa1f95129e5e54670f1 +(hash-path.sh:6) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq ++(hash-path.sh:7) nix-hash --flat --base16 --type sha1 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=84983e441c3bd26ebaae4aa1f95129e5e54670f1 +(hash-path.sh:8) (( )) +(hash-path.sh:8) test 84983e441c3bd26ebaae4aa1f95129e5e54670f1 '!=' 84983e441c3bd26ebaae4aa1f95129e5e54670f1 ++(hash-path.sh:12) nix hash file --base16 --type sha1 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=84983e441c3bd26ebaae4aa1f95129e5e54670f1 +(hash-path.sh:13) (( )) +(hash-path.sh:13) test 84983e441c3bd26ebaae4aa1f95129e5e54670f1 '!=' 84983e441c3bd26ebaae4aa1f95129e5e54670f1 ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo sha1 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=84983e441c3bd26ebaae4aa1f95129e5e54670f1 +(hash-path.sh:18) (( )) +(hash-path.sh:18) test 84983e441c3bd26ebaae4aa1f95129e5e54670f1 '!=' 84983e441c3bd26ebaae4aa1f95129e5e54670f1 +(hash-path.sh:37) try sha256 '' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +(hash-path.sh:6) printf %s '' ++(hash-path.sh:7) nix-hash --flat --base16 --type sha256 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +(hash-path.sh:8) (( )) +(hash-path.sh:8) test e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 '!=' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ++(hash-path.sh:12) nix hash file --base16 --type sha256 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +(hash-path.sh:13) (( )) +(hash-path.sh:13) test e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 '!=' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo sha256 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +(hash-path.sh:18) (( )) +(hash-path.sh:18) test e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 '!=' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +(hash-path.sh:38) try sha256 abc ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash-path.sh:6) printf %s abc ++(hash-path.sh:7) nix-hash --flat --base16 --type sha256 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash-path.sh:8) (( )) +(hash-path.sh:8) test ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad '!=' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad ++(hash-path.sh:12) nix hash file --base16 --type sha256 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash-path.sh:13) (( )) +(hash-path.sh:13) test ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad '!=' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo sha256 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash-path.sh:18) (( )) +(hash-path.sh:18) test ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad '!=' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash-path.sh:39) try sha256 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +(hash-path.sh:6) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq ++(hash-path.sh:7) nix-hash --flat --base16 --type sha256 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +(hash-path.sh:8) (( )) +(hash-path.sh:8) test 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 '!=' 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 ++(hash-path.sh:12) nix hash file --base16 --type sha256 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:12) hash=248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +(hash-path.sh:13) (( )) +(hash-path.sh:13) test 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 '!=' 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 ++(hash-path.sh:17) nix hash path --mode flat --format base16 --algo sha256 /build/nix-test/main/hash-path/vector warning: you don't have Internet access; disabling some network-dependent features +(hash-path.sh:17) hash=248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +(hash-path.sh:18) (( )) +(hash-path.sh:18) test 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 '!=' 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +(hash-path.sh:41) try sha512 '' cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +(hash-path.sh:6) printf %s '' ++(hash-path.sh:7) nix-hash --flat --base16 --type sha512 /build/nix-test/main/hash-path/vector +(hash-path.sh:7) hash=cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +(hash-path.sh:8) (( )) +(hash-path.sh:8) test cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e '!=' cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e ++(hash-path.sh:12) nix hash file --base16 --type sha512 /build/nix-test/main/hash-path/vector GC Warning: Marker thread creation failed error: Resource temporarily unavailable +(hash-path.sh:12) hash= +(hash-path.sh:1) killDaemon +(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +(/build/source/tests/functional/common/functions.sh:105) [[ 7987 == '' ]] +(/build/source/tests/functional/common/functions.sh:108) kill 7987 shutting down+(/build/source/tests/functional/common/functions.sh:109) for i in {0..100} +(/build/source/tests/functional/common/functions.sh:110) kill -0 7987 +(/build/source/tests/functional/common/functions.sh:111) sleep 0.1 +(/build/source/tests/functional/common/functions.sh:109) for i in {0..100} +(/build/source/tests/functional/common/functions.sh:110) kill -0 7987 +(/build/source/tests/functional/common/functions.sh:110) break +(/build/source/tests/functional/common/functions.sh:113) kill -9 7987 +(/build/source/tests/functional/common/functions.sh:113) true +(/build/source/tests/functional/common/functions.sh:114) wait 7987 +(/build/source/tests/functional/common/functions.sh:115) rm -f /build/nix-test/main/hash-path/dSocket +(/build/source/tests/functional/common/functions.sh:117) unset _NIX_TEST_DAEMON_PID +(/build/source/tests/functional/common/functions.sh:119) NIX_REMOTE= +(/build/source/tests/functional/common/functions.sh:120) trap '' EXIT ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 111/221 main - nix-functional-tests:fetchGitRefs FAIL 4.25s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TEST_SUITE_NAME=main MESON_TEST_ITERATION=1 NIX_REMOTE='' ASAN_OPTIONS=abort_on_error=1:print_summary=1:detect_leaks=0:log_path=/build/source/tests/functional/build/asan-log PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' TEST_NAME=fetchGitRefs MALLOC_PERTURB_=231 _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build _NIX_TEST_SOURCE_DIR=/build/source/tests/functional UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash -x -e -u -o pipefail fetchGitRefs.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: Initialized empty Git repository in /build/nix-test/main/fetchGitRefs/git/.git/ [master (root-commit) cff24c2] Bla1 1 file changed, 1 insertion(+) create mode 100644 hello stderr: +(fetchGitRefs.sh:3) source common.sh ++(common.sh:3) set -eu -o pipefail ++(common.sh:5) [[ -z '' ]] ++(common.sh:7) COMMON_SH_SOURCED=1 ++++(common.sh:9) dirname common.sh +++(common.sh:9) readlink -f . ++(common.sh:9) functionalTestsDir=/build/source/tests/functional ++(common.sh:11) source /build/source/tests/functional/common/vars.sh +++(/build/source/tests/functional/common/vars.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/vars.sh:5) [[ -z '' ]] +++(/build/source/tests/functional/common/vars.sh:7) COMMON_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/common/vars.sh:9) realpath /build/source/tests/functional +++(/build/source/tests/functional/common/vars.sh:9) _NIX_TEST_SOURCE_DIR=/build/source/tests/functional ++++(/build/source/tests/functional/common/vars.sh:10) realpath /build/source/tests/functional/build +++(/build/source/tests/functional/common/vars.sh:10) _NIX_TEST_BUILD_DIR=/build/source/tests/functional/build +++++(/build/source/tests/functional/common/vars.sh:12) dirname /build/source/tests/functional/common/vars.sh ++++(/build/source/tests/functional/common/vars.sh:12) readlink -f /build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:12) commonDir=/build/source/tests/functional/common +++(/build/source/tests/functional/common/vars.sh:16) source /build/source/tests/functional/build/common/subst-vars.sh ++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z '' ]] ++++(/build/source/tests/functional/build/common/subst-vars.sh:5) COMMON_SUBST_VARS_SH_SOURCED=1 ++++(/build/source/tests/functional/build/common/subst-vars.sh:7) bash=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/build/common/subst-vars.sh:8) bindir=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:9) coreutils=/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin ++++(/build/source/tests/functional/build/common/subst-vars.sh:11) dot= ++++(/build/source/tests/functional/build/common/subst-vars.sh:12) busybox=/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox ++++(/build/source/tests/functional/build/common/subst-vars.sh:14) version=2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b ++++(/build/source/tests/functional/build/common/subst-vars.sh:15) system=x86_64-linux +++(/build/source/tests/functional/common/vars.sh:18) : '/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin/busybox 2.36.0pre20260726_01e8d7b-with-daemon-2.36.0pre20260726_01e8d7b x86_64-linux' +++(/build/source/tests/functional/common/vars.sh:19) export coreutils dot busybox version system +++(/build/source/tests/functional/common/vars.sh:21) export PAGER=cat +++(/build/source/tests/functional/common/vars.sh:21) PAGER=cat +++(/build/source/tests/functional/common/vars.sh:23) source /build/source/tests/functional/common/paths.sh ++++(/build/source/tests/functional/common/paths.sh:3) set -eu -o pipefail ++++(/build/source/tests/functional/common/paths.sh:5) [[ -z '' ]] ++++(/build/source/tests/functional/common/paths.sh:7) COMMON_PATHS_SH_SOURCED=1 ++++++(/build/source/tests/functional/common/paths.sh:9) dirname /build/source/tests/functional/common/paths.sh +++++(/build/source/tests/functional/common/paths.sh:9) readlink -f /build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:9) commonDir=/build/source/tests/functional/common ++++(/build/source/tests/functional/common/paths.sh:12) source /build/source/tests/functional/common/functions.sh +++++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++++(/build/source/tests/functional/common/functions.sh:5) [[ -z '' ]] +++++(/build/source/tests/functional/common/functions.sh:7) COMMON_FUNCTIONS_SH_SOURCED=1 +++++(/build/source/tests/functional/common/functions.sh:353) trap onError ERR ++++(/build/source/tests/functional/common/paths.sh:14) source /build/source/tests/functional/build/common/subst-vars.sh +++++(/build/source/tests/functional/build/common/subst-vars.sh:3) [[ -z 1 ]] ++++(/build/source/tests/functional/common/paths.sh:16) : /nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin ++++(/build/source/tests/functional/common/paths.sh:18) isTestOnNixOS ++++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++++(/build/source/tests/functional/common/paths.sh:19) export SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:19) SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash ++++(/build/source/tests/functional/common/paths.sh:20) export PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:20) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:23) [[ -n '' ]] ++++(/build/source/tests/functional/common/paths.sh:27) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++++(/build/source/tests/functional/common/paths.sh:28) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++++(/build/source/tests/functional/common/paths.sh:29) DAEMON_PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin +++(/build/source/tests/functional/common/vars.sh:24) source /build/source/tests/functional/common/test-root.sh ++++(/build/source/tests/functional/common/test-root.sh:3) TEST_SUBDIR=main/fetchGitRefs +++++(/build/source/tests/functional/common/test-root.sh:4) realpath /build/nix-test ++++(/build/source/tests/functional/common/test-root.sh:4) TEST_ROOT=/build/nix-test/main/fetchGitRefs ++++(/build/source/tests/functional/common/test-root.sh:5) export TEST_ROOT +++(/build/source/tests/functional/common/vars.sh:26) test_nix_conf_dir=/build/nix-test/main/fetchGitRefs/etc +++(/build/source/tests/functional/common/vars.sh:29) test_nix_conf=/build/nix-test/main/fetchGitRefs/etc/nix.conf +++(/build/source/tests/functional/common/vars.sh:31) export TEST_HOME=/build/nix-test/main/fetchGitRefs/test-home +++(/build/source/tests/functional/common/vars.sh:31) TEST_HOME=/build/nix-test/main/fetchGitRefs/test-home +++(/build/source/tests/functional/common/vars.sh:33) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/vars.sh:34) export NIX_STORE_DIR ++++(/build/source/tests/functional/common/vars.sh:35) readlink -f /build/nix-test/main/fetchGitRefs/store +++(/build/source/tests/functional/common/vars.sh:35) NIX_STORE_DIR= +++(/build/source/tests/functional/common/vars.sh:37) export NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:37) NIX_IGNORE_SYMLINK_STORE=1 +++(/build/source/tests/functional/common/vars.sh:38) NIX_STORE_DIR=/build/nix-test/main/fetchGitRefs/store +++(/build/source/tests/functional/common/vars.sh:40) export NIX_LOCALSTATE_DIR=/build/nix-test/main/fetchGitRefs/var +++(/build/source/tests/functional/common/vars.sh:40) NIX_LOCALSTATE_DIR=/build/nix-test/main/fetchGitRefs/var +++(/build/source/tests/functional/common/vars.sh:41) export NIX_LOG_DIR=/build/nix-test/main/fetchGitRefs/var/log/nix +++(/build/source/tests/functional/common/vars.sh:41) NIX_LOG_DIR=/build/nix-test/main/fetchGitRefs/var/log/nix +++(/build/source/tests/functional/common/vars.sh:42) export NIX_STATE_DIR=/build/nix-test/main/fetchGitRefs/var/nix +++(/build/source/tests/functional/common/vars.sh:42) NIX_STATE_DIR=/build/nix-test/main/fetchGitRefs/var/nix +++(/build/source/tests/functional/common/vars.sh:43) export NIX_CONF_DIR=/build/nix-test/main/fetchGitRefs/etc +++(/build/source/tests/functional/common/vars.sh:43) NIX_CONF_DIR=/build/nix-test/main/fetchGitRefs/etc +++(/build/source/tests/functional/common/vars.sh:44) export NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/fetchGitRefs/dSocket +++(/build/source/tests/functional/common/vars.sh:44) NIX_DAEMON_SOCKET_PATH=/build/nix-test/main/fetchGitRefs/dSocket +++(/build/source/tests/functional/common/vars.sh:45) unset NIX_USER_CONF_FILES +++(/build/source/tests/functional/common/vars.sh:46) export _NIX_TEST_SHARED=/build/nix-test/main/fetchGitRefs/shared +++(/build/source/tests/functional/common/vars.sh:46) _NIX_TEST_SHARED=/build/nix-test/main/fetchGitRefs/shared +++(/build/source/tests/functional/common/vars.sh:47) [[ -n /nix/store ]] +++(/build/source/tests/functional/common/vars.sh:48) export _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:48) _NIX_TEST_NO_SANDBOX=1 +++(/build/source/tests/functional/common/vars.sh:50) export _NIX_IN_TEST=/build/nix-test/main/fetchGitRefs/shared +++(/build/source/tests/functional/common/vars.sh:50) _NIX_IN_TEST=/build/nix-test/main/fetchGitRefs/shared +++(/build/source/tests/functional/common/vars.sh:51) export _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:51) _NIX_TEST_NO_LSOF=1 +++(/build/source/tests/functional/common/vars.sh:54) export _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:54) _NIX_TEST_NO_ENVIRONMENT_WARNINGS=1 +++(/build/source/tests/functional/common/vars.sh:55) export NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:55) NIX_REMOTE= +++(/build/source/tests/functional/common/vars.sh:59) unset NIX_PATH +++(/build/source/tests/functional/common/vars.sh:60) export HOME=/build/nix-test/main/fetchGitRefs/test-home +++(/build/source/tests/functional/common/vars.sh:60) HOME=/build/nix-test/main/fetchGitRefs/test-home +++(/build/source/tests/functional/common/vars.sh:61) unset XDG_STATE_HOME +++(/build/source/tests/functional/common/vars.sh:62) unset XDG_DATA_HOME +++(/build/source/tests/functional/common/vars.sh:63) unset XDG_CONFIG_HOME +++(/build/source/tests/functional/common/vars.sh:64) unset XDG_CONFIG_DIRS +++(/build/source/tests/functional/common/vars.sh:65) unset XDG_CACHE_HOME +++(/build/source/tests/functional/common/vars.sh:66) unset GIT_DIR +++(/build/source/tests/functional/common/vars.sh:68) export GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:68) GIT_CONFIG_SYSTEM=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) export GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:69) GIT_CONFIG_GLOBAL=/dev/null +++(/build/source/tests/functional/common/vars.sh:71) export IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:71) IMPURE_VAR1=foo +++(/build/source/tests/functional/common/vars.sh:72) export IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:72) IMPURE_VAR2=bar +++(/build/source/tests/functional/common/vars.sh:76) cacheDir=/build/nix-test/main/fetchGitRefs/binary-cache ++++(/build/source/tests/functional/common/vars.sh:78) uname +++(/build/source/tests/functional/common/vars.sh:78) [[ Linux == Linux ]] +++(/build/source/tests/functional/common/vars.sh:78) [[ -L /proc/self/ns/user ]] +++(/build/source/tests/functional/common/vars.sh:78) unshare --user true +++(/build/source/tests/functional/common/vars.sh:79) _canUseSandbox=1 +++(/build/source/tests/functional/common/vars.sh:85) config_nix=/build/nix-test/main/fetchGitRefs/config.nix ++(common.sh:12) source /build/source/tests/functional/common/functions.sh +++(/build/source/tests/functional/common/functions.sh:3) set -eu -o pipefail +++(/build/source/tests/functional/common/functions.sh:5) [[ -z 1 ]] ++(common.sh:13) source /build/source/tests/functional/common/init.sh +++(/build/source/tests/functional/common/init.sh:4) : /build/nix-test/main/fetchGitRefs/etc /build/nix-test/main/fetchGitRefs/etc/nix.conf /build/nix-test/main/fetchGitRefs/config.nix +++(/build/source/tests/functional/common/init.sh:6) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/init.sh:29) test -n /build/nix-test/main/fetchGitRefs +++(/build/source/tests/functional/common/init.sh:31) killDaemon +++(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +++(/build/source/tests/functional/common/functions.sh:105) [[ '' == '' ]] +++(/build/source/tests/functional/common/functions.sh:106) return +++(/build/source/tests/functional/common/init.sh:33) [[ -e /build/nix-test/main/fetchGitRefs ]] +++(/build/source/tests/functional/common/init.sh:37) mkdir -p /build/nix-test/main/fetchGitRefs +++(/build/source/tests/functional/common/init.sh:38) mkdir /build/nix-test/main/fetchGitRefs/test-home +++(/build/source/tests/functional/common/init.sh:40) mkdir /build/nix-test/main/fetchGitRefs/store +++(/build/source/tests/functional/common/init.sh:41) mkdir /build/nix-test/main/fetchGitRefs/var +++(/build/source/tests/functional/common/init.sh:42) mkdir -p /build/nix-test/main/fetchGitRefs/var/log/nix/drvs +++(/build/source/tests/functional/common/init.sh:43) mkdir /build/nix-test/main/fetchGitRefs/var/nix +++(/build/source/tests/functional/common/init.sh:44) mkdir /build/nix-test/main/fetchGitRefs/etc +++(/build/source/tests/functional/common/init.sh:46) cat ++++(/build/source/tests/functional/common/init.sh:46) whoami +++(/build/source/tests/functional/common/init.sh:59) cat +++(/build/source/tests/functional/common/init.sh:67) nix-store --init +++(/build/source/tests/functional/common/init.sh:69) test -e /build/nix-test/main/fetchGitRefs/var/nix/db/db.sqlite +++(/build/source/tests/functional/common/init.sh:75) echo '# config.nix for test main / fetchGitRefs' +++(/build/source/tests/functional/common/init.sh:76) cat /build/source/tests/functional/build/config.nix ++(common.sh:15) [[ -n /nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b ]] ++(common.sh:16) startDaemon ++(/build/source/tests/functional/common/functions.sh:66) isTestOnNixOS ++(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] ++(/build/source/tests/functional/common/functions.sh:71) [[ '' != '' ]] ++(/build/source/tests/functional/common/functions.sh:75) rm -f /build/nix-test/main/fetchGitRefs/dSocket ++(/build/source/tests/functional/common/functions.sh:77) _NIX_TEST_DAEMON_PID=4953 ++(/build/source/tests/functional/common/functions.sh:78) export _NIX_TEST_DAEMON_PID ++(/build/source/tests/functional/common/functions.sh:79) (( i = 0 )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/fetchGitRefs/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:84) kill -0 4953 ++(/build/source/tests/functional/common/functions.sh:88) sleep 0.1 ++(/build/source/tests/functional/common/functions.sh:76) PATH=/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/k4h2r2i0f1x7llqk8a0l4f77s97w1rq4-meson-1.10.2/bin:/nix/store/7a235m7crqbb4h49sak20fqxpw3n7hr0-ninja-1.13.2/bin:/nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2/bin:/nix/store/s04d6wm3kqjdgr7zdhlk214f6a2291ks-jq-1.8.1-bin/bin:/nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin:/nix/store/x1aw3v33a3lax6sdd3wgkfqv5bph4zd2-mercurial-7.1.2/bin:/nix/store/js9am9k26yhv887r63ka93d8xaxk0if3-python3.13-pybind11-3.0.4/bin:/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/bin:/nix/store/9rm7c4jwbgdk530zg77549w60g9kgjxn-script-util-linux-2.42/bin:/nix/store/fs5if86ila6dr72vcpgg1f7w8a8x3148-nix-2.36.0pre20260726_01e8d7b/bin:/nix/store/y23nm3xd4m2xz925l5j9b1dhqaf7zfhr-busybox-1.37.0/bin:/nix/store/zca0hp2i6c5yxbaxpl6x76mxc2b0aiqm-util-linux-2.42-bin/bin:/nix/store/ilblcn1dkvzghcr2yk3av6jxn5rk1iqw-patchelf-0.15.2/bin:/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin:/nix/store/qxaq7jz61a6zkr2mq49i0zvqip2m2jj8-gcc-15.2.0/bin:/nix/store/bsh7n2nx8ndmm1mmww6v2h4851nalj13-glibc-2.42-61-bin/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/mbyy19mdwnfvfwmdi0gqgggx0njvpl1w-binutils-wrapper-2.46/bin:/nix/store/s2946bl9ciwzhafd66jhansrmxq9xhqm-binutils-2.46/bin:/nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin:/nix/store/c1cjgg6p8m8fssivzrc2p13mwwml3p3v-findutils-4.10.0/bin:/nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin:/nix/store/kgxafhycw2kybbqih759ykc2043qyi5j-gnused-4.9/bin:/nix/store/gn94gpcp5q08x4v6g8mvw8v4r65rcjzk-gnugrep-3.12/bin:/nix/store/wp1cshqv98i8abs8rcx91s54igqgll0f-gawk-5.4.0/bin:/nix/store/k5akwnrn9x2afaj2va7g4a2zpdim8l43-gnutar-1.35/bin:/nix/store/ndpbjk6jhw0da5h272dqqnyxa35a9gmx-gzip-1.14/bin:/nix/store/3y3kzc5njlj7nwj1s78am0yzjnpicv9x-bzip2-1.0.8-bin/bin:/nix/store/vlq7nnw39j7rwk0pp68w1fcwzpxahm9h-gnumake-4.4.1/bin:/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin:/nix/store/wgvplwp0faqhqr92w0ma8bxaxk202ama-patch-2.8/bin:/nix/store/csra6zhdjw7rjzv98fycz7qjalyv55k2-xz-5.8.3-bin/bin:/nix/store/kyz3mm5snbb8998kbkm28jps1phk9509-file-5.47/bin ++(/build/source/tests/functional/common/functions.sh:76) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features ++(/build/source/tests/functional/common/functions.sh:79) (( i++ )) ++(/build/source/tests/functional/common/functions.sh:79) (( i < 60 )) ++(/build/source/tests/functional/common/functions.sh:80) [[ -S /build/nix-test/main/fetchGitRefs/dSocket ]] ++(/build/source/tests/functional/common/functions.sh:81) DAEMON_STARTED=1 ++(/build/source/tests/functional/common/functions.sh:82) break ++(/build/source/tests/functional/common/functions.sh:90) [[ -z x ]] ++(/build/source/tests/functional/common/functions.sh:93) trap killDaemon EXIT ++(/build/source/tests/functional/common/functions.sh:95) NIX_REMOTE_OLD= ++(/build/source/tests/functional/common/functions.sh:96) export NIX_REMOTE=daemon ++(/build/source/tests/functional/common/functions.sh:96) NIX_REMOTE=daemon +(fetchGitRefs.sh:5) requireGit ++(/build/source/tests/functional/common/functions.sh:166) type -p git +(/build/source/tests/functional/common/functions.sh:166) [[ -n /nix/store/bcnisk3ydfgv26v2gw3zlky24g00yww2-git-2.54.0/bin/git ]] +(fetchGitRefs.sh:7) repo=/build/nix-test/main/fetchGitRefs/git +(fetchGitRefs.sh:9) createGitRepo /build/nix-test/main/fetchGitRefs/git +(/build/source/tests/functional/common/functions.sh:377) local repo=/build/nix-test/main/fetchGitRefs/git +(/build/source/tests/functional/common/functions.sh:378) local extraArgs= +(/build/source/tests/functional/common/functions.sh:380) rm -rf /build/nix-test/main/fetchGitRefs/git /build/nix-test/main/fetchGitRefs/git.tmp +(/build/source/tests/functional/common/functions.sh:381) mkdir -p /build/nix-test/main/fetchGitRefs/git +(/build/source/tests/functional/common/functions.sh:384) initGitRepo /build/nix-test/main/fetchGitRefs/git +(/build/source/tests/functional/common/functions.sh:367) local repo=/build/nix-test/main/fetchGitRefs/git +(/build/source/tests/functional/common/functions.sh:368) local extraArgs= +(/build/source/tests/functional/common/functions.sh:371) git -C /build/nix-test/main/fetchGitRefs/git init hint: Using 'master' as the name for the initial branch. This default branch name hint: will change to "main" in Git 3.0. To configure the initial branch name hint: to use in all of your new repositories, which will suppress this warning, hint: call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" +(/build/source/tests/functional/common/functions.sh:372) git -C /build/nix-test/main/fetchGitRefs/git config user.email foobar@example.com +(/build/source/tests/functional/common/functions.sh:373) git -C /build/nix-test/main/fetchGitRefs/git config user.name Foobar +(fetchGitRefs.sh:11) echo utrecht +(fetchGitRefs.sh:12) git -C /build/nix-test/main/fetchGitRefs/git add hello +(fetchGitRefs.sh:13) git -C /build/nix-test/main/fetchGitRefs/git commit -m Bla1 ++(fetchGitRefs.sh:15) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = "master"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 6829, user nixbld (trusted) shutting down+(fetchGitRefs.sh:15) path=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:56) valid_ref A/b +(fetchGitRefs.sh:35) set +x reaped child process 7560, status = succeeded >>>>>>>>>> valid_ref A/b$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch A/b +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch A/b master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''A/b'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 8075, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D A/b reaped child process 8765, status = succeeded +(fetchGitRefs.sh:57) valid_ref AaA/b +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref AaA/b$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch AaA/b +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch AaA/b master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''AaA/b'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 9633, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D AaA/b reaped child process 10540, status = succeeded +(fetchGitRefs.sh:58) valid_ref FOO/BAR/BAZ +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref FOO/BAR/BAZ$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch FOO/BAR/BAZ +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch FOO/BAR/BAZ master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''FOO/BAR/BAZ'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 11177, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D FOO/BAR/BAZ reaped child process 11854, status = succeeded +(fetchGitRefs.sh:59) valid_ref foox +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref foox$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch foox +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch foox master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foox'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 12605, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D foox +(fetchGitRefs.sh:60) valid_ref 1337 +(fetchGitRefs.sh:35) set +x reaped child process 13827, status = succeeded >>>>>>>>>> valid_ref 1337$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch 1337 +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch 1337 master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''1337'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 14782, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D 1337 reaped child process 15537, status = succeeded +(fetchGitRefs.sh:61) valid_ref foo.baz +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref foo.baz$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch foo.baz +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch foo.baz master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foo.baz'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 16592, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D foo.baz +(fetchGitRefs.sh:62) valid_ref foo/bar/baz +(fetchGitRefs.sh:35) set +x reaped child process 17715, status = succeeded >>>>>>>>>> valid_ref foo/bar/baz$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch foo/bar/baz +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch foo/bar/baz master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foo/bar/baz'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 18519, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D foo/bar/baz reaped child process 19666, status = succeeded +(fetchGitRefs.sh:63) valid_ref foo./bar +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref foo./bar$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch foo./bar +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch foo./bar master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foo./bar'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 20614, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D foo./bar reaped child process 21807, status = succeeded +(fetchGitRefs.sh:64) valid_ref heads/foo@bar +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref heads/foo@bar$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch heads/foo@bar +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch heads/foo@bar master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''heads/foo@bar'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 23169, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D heads/foo@bar reaped child process 24474, status = succeeded ++(fetchGitRefs.sh:65) printf 'heads/fu\303\237' +(fetchGitRefs.sh:65) valid_ref heads/fuß +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref heads/fu\303\237$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch heads/fuß +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch heads/fuß master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''heads/fuß'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 25668, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D heads/fuß reaped child process 27011, status = succeeded +(fetchGitRefs.sh:66) valid_ref foo-bar-baz +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref foo-bar-baz$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch foo-bar-baz +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch foo-bar-baz master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foo-bar-baz'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 28077, user nixbld (trusted) +(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] shutting down+(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D foo-bar-baz reaped child process 29198, status = succeeded +(fetchGitRefs.sh:67) valid_ref branch# +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref branch#$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch branch# +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch branch# master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''branch#'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 30690, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D branch# reaped child process 32080, status = succeeded +(fetchGitRefs.sh:69) valid_ref '$1' +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref $1$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch '$1' +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch '$1' master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''$1'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 33450, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D '$1' reaped child process 34888, status = succeeded +(fetchGitRefs.sh:70) valid_ref foo.locke +(fetchGitRefs.sh:35) set +x >>>>>>>>>> valid_ref foo.locke$ <<<<<<<<<< +(fetchGitRefs.sh:36) git check-ref-format --branch foo.locke +(fetchGitRefs.sh:37) git -C /build/nix-test/main/fetchGitRefs/git branch foo.locke master ++(fetchGitRefs.sh:38) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foo.locke'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 35985, user nixbld (trusted) shutting down+(fetchGitRefs.sh:38) path1=/build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source +(fetchGitRefs.sh:39) [[ /build/nix-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k-source = /build/nix\-test/main/fetchGitRefs/store/1xp38visxp5ip3j2hawpv5sn4nv9yj5k\-source ]] +(fetchGitRefs.sh:40) git -C /build/nix-test/main/fetchGitRefs/git branch -D foo.locke reaped child process 37899, status = succeeded +(fetchGitRefs.sh:72) invalid_ref refs///heads/foo +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref refs///heads/foo$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' refs///heads/foo = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch refs///heads/foo +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''refs///heads/foo'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:73) invalid_ref heads/foo/ +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref heads/foo/$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' heads/foo/ = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch heads/foo/ +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''heads/foo/'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:74) invalid_ref ///heads/foo +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref ///heads/foo$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' ///heads/foo = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch ///heads/foo +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''///heads/foo'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:75) invalid_ref .foo +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref .foo$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' .foo = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch .foo +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''.foo'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:76) invalid_ref ./foo +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref ./foo$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' ./foo = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch ./foo +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''./foo'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:77) invalid_ref ./foo/bar +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref ./foo/bar$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' ./foo/bar = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch ./foo/bar +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''./foo/bar'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:78) invalid_ref foo/./bar +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref foo/./bar$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' foo/./bar = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch foo/./bar +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foo/./bar'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:79) invalid_ref foo/bar/. +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref foo/bar/.$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' foo/bar/. = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch foo/bar/. +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foo/bar/.'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:80) invalid_ref 'foo bar' +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref foo bar$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' 'foo bar' = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch 'foo bar' +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foo bar'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:81) invalid_ref 'foo?bar' +(fetchGitRefs.sh:44) set +x >>>>>>>>>> invalid_ref foo?bar$ <<<<<<<<<< +(fetchGitRefs.sh:47) '[' 'foo?bar' = @ ']' +(fetchGitRefs.sh:50) git check-ref-format --branch 'foo?bar' +(fetchGitRefs.sh:52) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/main/fetchGitRefs/git; ref = '\'''\''foo?bar'\'''\''; }).outPath' +(fetchGitRefs.sh:52) grep 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:344) checkGrepArgs 'invalid Git branch/tag name' +(/build/source/tests/functional/common/functions.sh:293) local arg +(/build/source/tests/functional/common/functions.sh:294) for arg in "$@" +(/build/source/tests/functional/common/functions.sh:295) [[ invalid Git branch/tag name != invalid Git branch/tag name ]] +(/build/source/tests/functional/common/functions.sh:345) command grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:1) killDaemon +(/build/source/tests/functional/common/functions.sh:100) isTestOnNixOS +(/build/source/tests/functional/common/functions.sh:10) [[ '' == 1 ]] +(/build/source/tests/functional/common/functions.sh:105) [[ 4953 == '' ]] +(/build/source/tests/functional/common/functions.sh:108) kill 4953 +(/build/source/tests/functional/common/functions.sh:109) for i in {0..100} +(/build/source/tests/functional/common/functions.sh:110) kill -0 4953 +(/build/source/tests/functional/common/functions.sh:111) sleep 0.1 shutting down+(/build/source/tests/functional/common/functions.sh:109) for i in {0..100} +(/build/source/tests/functional/common/functions.sh:110) kill -0 4953 +(/build/source/tests/functional/common/functions.sh:110) break +(/build/source/tests/functional/common/functions.sh:113) kill -9 4953 +(/build/source/tests/functional/common/functions.sh:113) true +(/build/source/tests/functional/common/functions.sh:114) wait 4953 +(/build/source/tests/functional/common/functions.sh:115) rm -f /build/nix-test/main/fetchGitRefs/dSocket +(/build/source/tests/functional/common/functions.sh:117) unset _NIX_TEST_DAEMON_PID +(/build/source/tests/functional/common/functions.sh:119) NIX_REMOTE= +(/build/source/tests/functional/common/functions.sh:120) trap '' EXIT ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 112/221 git - nix-functional-tests:packed-refs-no-cache OK 1.42s 113/221 main - nix-functional-tests:optimise-store OK 3.56s 114/221 flakes - nix-functional-tests:dubious-query OK 1.71s 115/221 flakes - nix-functional-tests:relative-paths-lockfile OK 1.67s 116/221 ca - nix-functional-tests:nix-run OK 2.64s 117/221 flakes - nix-functional-tests:symlink-paths OK 1.74s 118/221 git - nix-functional-tests:symlinked-repo OK 1.69s 119/221 main - nix-functional-tests:import-from-derivation OK 4.30s 120/221 main - nix-functional-tests:gc-concurrent OK 4.51s 121/221 ca - nix-functional-tests:import-from-derivation OK 3.30s 122/221 main - nix-functional-tests:impure-env OK 4.60s 123/221 main - nix-functional-tests:export-graph OK 5.05s 124/221 main - nix-functional-tests:why-depends OK 3.65s 125/221 flakes - nix-functional-tests:trace-ifd OK 2.25s 126/221 flakes - nix-functional-tests:relative-paths OK 2.38s 127/221 dyn-drv - nix-functional-tests:text-hashed-output OK 3.19s 128/221 flakes - nix-functional-tests:flake-in-submodule OK 2.66s 129/221 main - nix-functional-tests:gc-runtime OK 4.90s 130/221 flakes - nix-functional-tests:inputs OK 2.88s 131/221 flakes - nix-functional-tests:eval-cache OK 2.66s 132/221 main - nix-functional-tests:restricted OK 4.35s 133/221 ca - nix-functional-tests:selfref-gc OK 3.50s 134/221 ca - nix-functional-tests:issue-13247 OK 3.70s 135/221 main - nix-functional-tests:build-remote-content-addressed-fixed OK 5.81s 136/221 main - nix-functional-tests:post-hook OK 4.61s 137/221 local-overlay-store - nix-functional-tests:bad-uris OK 2.49s 138/221 flakes - nix-functional-tests:shebang OK 2.89s 139/221 flakes - nix-functional-tests:bundle OK 3.22s 140/221 dyn-drv - nix-functional-tests:submit-reference OK 3.44s 141/221 dyn-drv - nix-functional-tests:dep-built-drv-2 OK 3.60s 142/221 git-hashing - nix-functional-tests:simple-sha256 OK 2.83s 143/221 git-hashing - nix-functional-tests:simple-sha1 OK 2.85s 144/221 main - nix-functional-tests:build-remote-content-addressed-floating OK 6.31s 145/221 dyn-drv - nix-functional-tests:failing-outer OK 3.92s 146/221 main - nix-functional-tests:check-reqs OK 6.25s 147/221 ca - nix-functional-tests:recursive OK 4.29s 148/221 ca - nix-functional-tests:build-with-garbage-path OK 4.61s 149/221 main - nix-functional-tests:logging OK 5.73s 150/221 dyn-drv - nix-functional-tests:build-built-drv OK 4.26s 151/221 main - nix-functional-tests:make-content-addressed OK 5.81s 152/221 ca - nix-functional-tests:why-depends OK 4.49s 153/221 dyn-drv - nix-functional-tests:dep-built-drv OK 4.37s 154/221 dyn-drv - nix-functional-tests:submit-failure OK 4.32s 155/221 dyn-drv - nix-functional-tests:recursive-mod-json OK 4.51s 156/221 flakes - nix-functional-tests:search-root OK 3.93s 157/221 main - nix-functional-tests:build-remote-trustless-should-fail-0 OK 7.14s 158/221 main - nix-functional-tests:cli-characterisation OK 7.05s 159/221 flakes - nix-functional-tests:run OK 4.66s 160/221 flakes - nix-functional-tests:follow-paths OK 4.62s 161/221 main - nix-functional-tests:write-file OK 5.64s 162/221 main - nix-functional-tests:nix-build OK 6.53s 163/221 main - nix-functional-tests:multiple-outputs OK 6.68s 164/221 main - nix-functional-tests:binary-cache-compression OK 7.70s 165/221 ca - nix-functional-tests:multiple-outputs OK 5.71s 166/221 dyn-drv - nix-functional-tests:dep-built-drv-submitted OK 5.29s 167/221 main - nix-functional-tests:nix-collect-garbage-d OK 6.90s 168/221 main - nix-functional-tests:gc OK 7.24s 169/221 ca - nix-functional-tests:duplicate-realisation-in-closure SKIP 6.04s exit status 77 170/221 main - nix-functional-tests:hash-convert OK 7.44s 171/221 flakes - nix-functional-tests:config OK 5.45s 172/221 flakes - nix-functional-tests:check OK 5.81s 173/221 main - nix-functional-tests:signing OK 7.26s 174/221 ca - nix-functional-tests:gc OK 6.84s 175/221 ca - nix-functional-tests:post-hook OK 7.02s 176/221 main - nix-functional-tests:structured-attrs OK 7.99s 177/221 main - nix-functional-tests:fetchurl OK 9.66s 178/221 main - nix-functional-tests:impure-derivations OK 9.45s 179/221 main - nix-functional-tests:shell OK 8.89s 180/221 main - nix-functional-tests:nix-channel OK 9.47s 181/221 main - nix-functional-tests:tarball OK 9.00s 182/221 local-overlay-store - nix-functional-tests:redundant-add OK 7.41s 183/221 git-hashing - nix-functional-tests:fixed OK 7.54s 184/221 ca - nix-functional-tests:signatures OK 9.00s 185/221 flakes - nix-functional-tests:non-flake-inputs OK 8.27s 186/221 flakes - nix-functional-tests:develop OK 8.78s 187/221 ca - nix-functional-tests:nix-copy OK 9.25s 188/221 main - nix-functional-tests:build-remote-trustless-should-pass-0 OK 11.63s 189/221 local-overlay-store - nix-functional-tests:add-lower OK 8.34s 190/221 local-overlay-store - nix-functional-tests:delete-duplicate OK 8.33s 191/221 main - nix-functional-tests:check-refs OK 11.72s 192/221 main - nix-functional-tests:build-remote-trustless-should-pass-1 OK 11.88s 193/221 local-overlay-store - nix-functional-tests:check-post-init OK 8.62s 194/221 main - nix-functional-tests:build-remote-trustless-should-pass-2 OK 11.90s 195/221 main - nix-functional-tests:build-remote-trustless-should-pass-3 OK 11.92s 196/221 local-overlay-store - nix-functional-tests:verify OK 8.60s 197/221 ca - nix-functional-tests:build-cache OK 10.28s 198/221 ca - nix-functional-tests:build-delete OK 10.38s 199/221 local-overlay-store - nix-functional-tests:optimise OK 8.80s 200/221 main - nix-functional-tests:binary-cache-build-remote OK 12.47s 201/221 local-overlay-store - nix-functional-tests:build OK 9.09s 202/221 ca - nix-functional-tests:build OK 10.58s 203/221 main - nix-functional-tests:repl OK 11.65s 204/221 main - nix-functional-tests:gc-closure OK 12.53s 205/221 main - nix-functional-tests:build-remote-input-addressed OK 13.15s 206/221 local-overlay-store - nix-functional-tests:delete-refs OK 9.79s 207/221 local-overlay-store - nix-functional-tests:gc OK 9.88s 208/221 main - nix-functional-tests:output-normalization OK 12.26s 209/221 main - nix-functional-tests:build OK 13.38s 210/221 main - nix-functional-tests:nested-sandboxing OK 12.75s 211/221 ca - nix-functional-tests:new-build-cmd OK 11.87s 212/221 main - nix-functional-tests:nix-profile OK 13.56s 213/221 ca - nix-functional-tests:repl OK 12.51s 214/221 main - nix-functional-tests:fixed OK 14.33s 215/221 local-overlay-store - nix-functional-tests:stale-file-handle OK 11.59s 216/221 main - nix-functional-tests:nix-shell OK 14.22s 217/221 main - nix-functional-tests:user-envs OK 13.60s 218/221 main - nix-functional-tests:remote-store OK 14.38s 219/221 ca - nix-functional-tests:nix-shell OK 13.60s 220/221 flakes - nix-functional-tests:mercurial OK 13.74s 221/221 main - nix-functional-tests:lang OK 27.74s Summary of Failures: 93/221 main - nix-functional-tests:fetchMercurial FAIL 3.98s exit status 1 101/221 main - nix-functional-tests:help FAIL 3.90s exit status 1 102/221 main - nix-functional-tests:fetchGit FAIL 4.22s exit status 1 103/221 main - nix-functional-tests:fetchGitSubmodules FAIL 4.18s exit status 1 104/221 flakes - nix-functional-tests:init FAIL 1.96s exit status 1 105/221 flakes - nix-functional-tests:build-paths FAIL 1.75s exit status 1 106/221 flakes - nix-functional-tests:show FAIL 1.66s exit status 1 107/221 flakes - nix-functional-tests:source-paths FAIL 1.50s exit status 1 108/221 flakes - nix-functional-tests:flakes FAIL 2.08s exit status 1 109/221 main - nix-functional-tests:build-delete FAIL 4.66s exit status 1 110/221 main - nix-functional-tests:hash-path FAIL 3.96s exit status 1 111/221 main - nix-functional-tests:fetchGitRefs FAIL 4.25s exit status 1 Ok: 185 Fail: 12 Skipped: 24 Full log written to /build/source/tests/functional/build/meson-logs/testlog.txt