lix:installcheck / functional-remote-store fails on macOS Tahoe Beta 26.3 #1093

Open
opened 2026-01-04 01:07:04 +00:00 by sudoer777 · 1 comment

Platform

  • Linux:
  • macOS
  • WSL

Additional information

Using macOS Tahoe Beta 26.3. I last successfully built Lix a few months ago on an older beta. Happening with d387c91 and whatever the latest commit was about a week ago.

Output

Output
 24/124 lix:installcheck / functional-remote-store                                  FAIL           13.15s   exit status 1
>>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 MESON_BUILD_ROOT=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build MALLOC_PERTURB_=124 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/j0qmlbljarkszzy8sswgl0cp6pxdnz83-python3-3.13.11-env/bin/python3 /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/meson/run-test.py remote-store.sh
 ✀  
stdout:
clearing store...
true
true
[INFO] You are trusted by store uri: daemon
true
true
true
[FAIL]
stderr:
touch: cannot touch '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.Ul4rGkZbsV/'$'\322''.txt': Illegal byte sequence
++(common/vars-and-functions.sh:314) trap onError ERR
+(init.sh:6) test -n /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store
+(init.sh:7) test -d /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store
+(init.sh:8) chmod -R u+w /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:122) [[ '' == '' ]]
+(common/vars-and-functions.sh:123) return
+(init.sh:11) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store
+(init.sh:13) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store
+(init.sh:15) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store
+(init.sh:16) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var
+(init.sh:17) mkdir -p /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/log/nix/drvs
+(init.sh:18) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/nix
+(init.sh:19) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:35) cat
+(init.sh:42) nix-store --init
+(init.sh:45) test -e /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/nix/db/db.sqlite
touch: cannot touch '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.0vwKwHoUEN/'$'\322''.txt': Illegal byte sequence
+++(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:314) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(remote-store.sh:3) clearStore
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:77) echo 'clearing store...'
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:78) chmod -R +w /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:79) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:80) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:81) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/nix
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:82) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/nix
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:83) clearProfiles
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles
+(remote-store.sh:6) nix --store 'ssh-ng://localhost?remote-store=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/other-store' doctor
Running checks against store uri ssh-ng://localhost
[PASS] Client protocol matches store protocol.
[INFO] You are trusted by store uri: ssh-ng://localhost
[FAIL] Error: current generation cannot be discovered for profile: '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles/profile'

+(remote-store.sh:9) nix --store 'ssh-ng://localhost?remote-store=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/other-store' store ping --json
+(remote-store.sh:9) jq -e .trusted
+(remote-store.sh:11) startDaemon
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:96) [[ '' != '' ]]
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:100) rm -f /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/dSocket
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:102) _NIX_TEST_DAEMON_PID=2181
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:103) export _NIX_TEST_DAEMON_PID
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i = 0 ))
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i < 300 ))
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:105) [[ -S /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/dSocket ]]
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:109) sleep 0.1
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:101) PATH=/nix/store/800mxim777943pxac8z7gaj3rvi0p04l-lix-2.95.0-pre20260103-dev_d387c91/bin:/nix/store/j0qmlbljarkszzy8sswgl0cp6pxdnz83-python3-3.13.11-env/bin:/nix/store/na7mgypgpimq2557myjr7v3785ww0g7h-meson-1.9.1/bin:/nix/store/p0wxav7qwfn8xgyjyg58phdai9d4r5n7-ninja-1.13.2/bin:/nix/store/syg57akx2cvcc8kamsravsxf1gypwvlv-cmake-4.1.2/bin:/nix/store/q01yyg69q3rdm6k0xh4m46gv2sx72z6n-rustc-wrapper-1.91.1/bin:/nix/store/05fkgcd23v17s4i54784yvn0vcsjv8v5-capnproto-1.2.0/bin:/nix/store/qjl9insn7qgdz4i8ijvc6j7w2pivny8f-openssl-3.6.0-bin/bin:/nix/store/74gixzym48a4lpn0xycr1xb4rbr30r00-remove-references-to/bin:/nix/store/xq8n0mglvp6zx43jm2jd00f9kwrb90i2-lowdown-unsandboxed-2.0.4/bin:/nix/store/dzkn4w69ihmvi024zxwlxj39dzyphyhm-mdbook-0.5.1/bin:/nix/store/my3sz056vzks3jgyj3jkf0f62q4dl50z-mdbook-linkcheck-0.7.7/bin:/nix/store/54qzx9v4jrrhrz7dm93sdb2bqzvbgijg-pkg-config-wrapper-0.29.2/bin:/nix/store/1xy62wrp3m91snd3cazxgg0yrplb6sav-git-2.52.0/bin:/nix/store/hb8pxfa65bfd1ix61xk0hry9dgj21q3z-mercurial-7.1/bin:/nix/store/xsyckwxbp5bmqfxsj4xl4xs00i4vka8p-python3.13-pybind11-3.0.1/bin:/nix/store/48ak878425b9wyrkwd826d2043m3ii36-python3-3.13.11/bin:/nix/store/9rm6fm3zq1jq8rgsx528cw8wkmfya2gf-jq-1.8.1-bin/bin:/nix/store/q7mnh559nxka8kqy69gwv8qb0hji0if3-python3.13-yq-3.4.3/bin:/nix/store/c9ba7q0nj4lgpl5180dn3ngi0yknrfks-python3.13-argcomplete-3.6.2/bin:/nix/store/lkhiddqi7hcl2hbga856wmfxa6psavws-lsof-4.99.5/bin:/nix/store/2yb2w1908an6xpgzill888c5yrxkwf6j-zstd-1.5.7-bin/bin:/nix/store/pdh2pxgbx16zbv0qkk9isqibjdz4c82k-zstd-1.5.7/bin:/nix/store/cj0i3ra0frj327lcx1h127hdbh50h5v9-build-release-notes/bin:/nix/store/8yy15sk3826gb00zp44xxrm8by9i3ia0-clang-wrapper-21.1.7/bin:/nix/store/ywx0xix8cck7g3kvlnbh51lhwxh5xvqm-clang-21.1.7/bin:/nix/store/l60153ymb6kdnavlpaghi7h5fz7gh7iw-coreutils-9.8/bin:/nix/store/76kzmz2fmg9c6wakj4wifc7zgbqld3ab-cctools-binutils-darwin-wrapper-1010.6/bin:/nix/store/l9zswzv12g2mfdbj7ra35cxm0rjnh56s-cctools-binutils-darwin-1010.6/bin:/nix/store/7vipar4kaqlmq0ddlh2y127x38ccvrgj-xcbuild-0.1.1-unstable-2019-11-20-xcrun/bin:/nix/store/l60153ymb6kdnavlpaghi7h5fz7gh7iw-coreutils-9.8/bin:/nix/store/9mq7iqjv8mwpx6pmk2frkcnb5fnaphna-findutils-4.10.0/bin:/nix/store/4qz030vyw95fyhg30sjakrn6xbr7gnnf-diffutils-3.12/bin:/nix/store/cqpmyipcm6s84na6fkvkzknmz87igljr-gnused-4.9/bin:/nix/store/k2y0040hinbk3a2jj5ppy2dp2bpy9nw3-gnugrep-3.12/bin:/nix/store/pgz4cmapj3nq9vg4fyjqgaa7bayfdrr3-gawk-5.3.2/bin:/nix/store/n8zq31kl0x63sg14yzi38wd15alk62lc-gnutar-1.35/bin:/nix/store/z3pv1x994s4i32jcd93fh3nxhxpf9b35-gzip-1.14/bin:/nix/store/8vr957c4bdyvzppa07205az7mm763lg5-bzip2-1.0.8-bin/bin:/nix/store/p15ia8pn2wxzdqaf07nrwdspfwsyrzyn-gnumake-4.4.1/bin:/nix/store/yi3x6xpilh0bq0bgb61imy6gpv8b1la4-bash-5.3p3/bin:/nix/store/fm2dw9pdvwgpx5kryqhbx8fqfjq8six0-patch-2.8/bin:/nix/store/g3ynv50p3sz2jgz2zv9gjbxs9alcknyx-xz-5.8.1-bin/bin:/nix/store/6cp9fznk8nfjy4iwjbc549dkgpdh2sb0-file-5.45/bin
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:101) nix --extra-experimental-features nix-command daemon
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i++ ))
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i < 300 ))
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:105) [[ -S /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/dSocket ]]
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:109) sleep 0.1
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i++ ))
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i < 300 ))
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:105) [[ -S /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/dSocket ]]
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:106) DAEMON_STARTED=1
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:107) break
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:111) [[ -z x ]]
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:114) trap killDaemon EXIT
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:116) NIX_REMOTE_OLD=
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:117) export NIX_REMOTE=daemon
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:117) NIX_REMOTE=daemon
+(remote-store.sh:14) jq -e .trusted
+(remote-store.sh:14) nix store ping --json
accepted connection from pid 2218
remote pid 2218 is user _nixbld1 (trusted)
+(remote-store.sh:16) grep 'You are trusted by'
accepted connection from pid 2288
remote pid 2288 is user _nixbld1 (trusted)
++(remote-store.sh:19) nix eval --impure --raw --file ./ifd.nix
accepted connection from pid 2327
remote pid 2327 is user _nixbld1 (trusted)
building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/2j8556jif01hvsgwlym0hc54fdq0b64y-dependencies-input-3.drv'...
building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/50jzwswqga2ph97abxq8ck66y12j52yz-dependencies-input-0.drv'...
building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/9cg85a3c1c9w1ipy6l9y053idrc3j28a-dependencies-input-1.drv'...
building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/5idql4nkwpk0ma0llh6fhllsymina3xm-fod-input.drv'...
building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/vmkaaj2sjiw4yk7qnc1dcibldqvmjmjl-dependencies-input-2.drv'...
building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/y5pww1maqy2vri2zi4ayfnq57cxsi8rz-dependencies-top.drv'...
dependencies-top> FOO
building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/gi0lrk2wcvc8585cbqm78383f7bgzm5x-foo.drv'...
+(remote-store.sh:19) [[ hi = hi ]]
+(remote-store.sh:21) storeCleared=1
+(remote-store.sh:21) NIX_REMOTE_=daemon
+(remote-store.sh:21) /nix/store/yi3x6xpilh0bq0bgb61imy6gpv8b1la4-bash-5.3p3/bin/bash ./user-envs.sh
touch: cannot touch '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.Wr5McqycYv/'$'\322''.txt': Illegal byte sequence
+++(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:314) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(./user-envs.sh:3) '[' -z 1 ']'
++(./user-envs.sh:9) mktemp -d
+(./user-envs.sh:9) VOID=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq
+(./user-envs.sh:10) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq
+(./user-envs.sh:11) linkProfilesTo /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:72) target=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:73) ln -s /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq
+(./user-envs.sh:12) expectStderr 1 nix-env --delete-generations 0
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:223) local expected res
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:224) expected=1
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:225) shift
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:226) nix-env --delete-generations 0
+(./user-envs.sh:12) grepQuiet -E 'error: cannot find current generation of profile '\''.*local/state/nix/profiles/profile'\'', is it a valid symlink?'
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep -E 'error: cannot find current generation of profile '\''.*local/state/nix/profiles/profile'\'', is it a valid symlink?'
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:226) res=1
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:227) [[ 1 -ne 1 ]]
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:231) return 0
+(./user-envs.sh:14) clearProfiles
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles
++(./user-envs.sh:17) nix-env -p /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles/test -q '*'
++(./user-envs.sh:17) wc -l
+(./user-envs.sh:17) test 0 -eq 0
+(./user-envs.sh:19) nix-env --switch-profile /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles/test
++(./user-envs.sh:22) nix-env -f ./user-envs.nix -qa '*'
++(./user-envs.sh:22) wc -l
+(./user-envs.sh:22) test 6 -eq 6
++(./user-envs.sh:23) nix-env -f ./user-envs.nix -qa --out-path --no-name '*'
++(./user-envs.sh:23) grep foo-1.0
+(./user-envs.sh:23) outPath10=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/ykj2va7avx4sq492j17byms0ndns4198-foo-1.0
++(./user-envs.sh:24) nix-env -f ./user-envs.nix -qa --drv-path --no-name '*'
++(./user-envs.sh:24) grep foo-1.0
+(./user-envs.sh:24) drvPath10=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/v6z357fwnm9hb3vz4a9awn3dnsfkcv3y-foo-1.0.drv
+(./user-envs.sh:25) '[' -n /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/ykj2va7avx4sq492j17byms0ndns4198-foo-1.0 -a -n /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/v6z357fwnm9hb3vz4a9awn3dnsfkcv3y-foo-1.0.drv ']'
+(./user-envs.sh:28) nix-env -f ./user-envs.nix -qa --json
+(./user-envs.sh:28) jq -e $'.[] | select(.name == "bar-0.1") | [\n    .outputName == "out",\n    .outputs.out == null\n] | all'
+(./user-envs.sh:32) jq -e $'.[] | select(.name == "bar-0.1") | [\n    .outputName == "out",\n    (.outputs.out | test("/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store.*-0\\\\.1"))\n] | all'
+(./user-envs.sh:32) nix-env -f ./user-envs.nix -qa --json --out-path
+(./user-envs.sh:36) nix-env -f ./user-envs.nix -qa --json --drv-path
+(./user-envs.sh:36) jq -e '.[] | select(.name == "bar-0.1") | (.drvPath | test("/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store.*-0\\.1\\.drv"))'
+(./user-envs.sh:39) nix-env -f ./user-envs.nix -qa '*' --description
+(./user-envs.sh:39) grepQuiet silly
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep silly
+(./user-envs.sh:40) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.nix-defexpr
++(./user-envs.sh:41) pwd
+(./user-envs.sh:41) ln -s /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/user-envs.nix /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.nix-defexpr
+(./user-envs.sh:42) nix-env -qa '*' --description
+(./user-envs.sh:42) grepQuiet silly
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep silly
+(./user-envs.sh:45) nix-env -qa '*' --system
+(./user-envs.sh:45) grepQuiet aarch64-darwin
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep aarch64-darwin
+(./user-envs.sh:48) nix-env -i foo-1.0
installing 'foo-1.0'
accepted connection from pid 3077
remote pid 3077 is user _nixbld1 (trusted)
this derivation will be built:
  /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/v6z357fwnm9hb3vz4a9awn3dnsfkcv3y-foo-1.0.drv
building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/v6z357fwnm9hb3vz4a9awn3dnsfkcv3y-foo-1.0.drv'...
building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/qs37nm9lgbrmsc038blmsfzhbz46h6hx-user-environment.drv'...
++(./user-envs.sh:52) nix-env -q '*'
++(./user-envs.sh:52) wc -l
+(./user-envs.sh:52) test 1 -eq 1
+(./user-envs.sh:53) nix-env -q '*'
+(./user-envs.sh:53) grepQuiet foo-1.0
+(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep foo-1.0
++(./user-envs.sh:54) /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles/test/bin/foo
+(./user-envs.sh:54) test '' = foo-1.0
++(./user-envs.sh:54) onError
++(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:272) set +x
./user-envs.sh: test failed at:
  main in ./user-envs.sh:54
++(remote-store.sh:21) onError
++(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:272) set +x
remote-store.sh: test failed at:
  main in remote-store.sh:21
## Platform <!-- select the platform on which you tried to install Lix --> - [ ] Linux: <!-- state your distribution, e.g. Arch Linux, Ubuntu, ... --> - [x] macOS - [ ] WSL ## Additional information <!-- state special circumstances on your system or additional steps you have taken prior to installation --> Using macOS Tahoe Beta 26.3. I last successfully built Lix a few months ago on an older beta. Happening with `d387c91` and whatever the latest commit was about a week ago. ## Output <details><summary>Output</summary> ```log 24/124 lix:installcheck / functional-remote-store FAIL 13.15s exit status 1 >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 MESON_BUILD_ROOT=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build MALLOC_PERTURB_=124 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/j0qmlbljarkszzy8sswgl0cp6pxdnz83-python3-3.13.11-env/bin/python3 /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/meson/run-test.py remote-store.sh ✀ stdout: clearing store... true true [INFO] You are trusted by store uri: daemon true true true [FAIL] stderr: touch: cannot touch '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.Ul4rGkZbsV/'$'\322''.txt': Illegal byte sequence ++(common/vars-and-functions.sh:314) trap onError ERR +(init.sh:6) test -n /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store +(init.sh:7) test -d /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store +(init.sh:8) chmod -R u+w /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store +(init.sh:10) killDaemon +(common/vars-and-functions.sh:122) [[ '' == '' ]] +(common/vars-and-functions.sh:123) return +(init.sh:11) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store +(init.sh:13) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store +(init.sh:15) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store +(init.sh:16) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var +(init.sh:17) mkdir -p /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/log/nix/drvs +(init.sh:18) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/nix +(init.sh:19) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:35) cat +(init.sh:42) nix-store --init +(init.sh:45) test -e /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/nix/db/db.sqlite touch: cannot touch '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.0vwKwHoUEN/'$'\322''.txt': Illegal byte sequence +++(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:314) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(remote-store.sh:3) clearStore +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:77) echo 'clearing store...' +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:78) chmod -R +w /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:79) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:80) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:81) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/nix +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:82) mkdir /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/var/nix +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:83) clearProfiles +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles +(remote-store.sh:6) nix --store 'ssh-ng://localhost?remote-store=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/other-store' doctor Running checks against store uri ssh-ng://localhost [PASS] Client protocol matches store protocol. [INFO] You are trusted by store uri: ssh-ng://localhost [FAIL] Error: current generation cannot be discovered for profile: '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles/profile' +(remote-store.sh:9) nix --store 'ssh-ng://localhost?remote-store=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/other-store' store ping --json +(remote-store.sh:9) jq -e .trusted +(remote-store.sh:11) startDaemon +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:96) [[ '' != '' ]] +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:100) rm -f /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/dSocket +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:102) _NIX_TEST_DAEMON_PID=2181 +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:103) export _NIX_TEST_DAEMON_PID +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i = 0 )) +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i < 300 )) +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:105) [[ -S /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/dSocket ]] +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:109) sleep 0.1 +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:101) PATH=/nix/store/800mxim777943pxac8z7gaj3rvi0p04l-lix-2.95.0-pre20260103-dev_d387c91/bin:/nix/store/j0qmlbljarkszzy8sswgl0cp6pxdnz83-python3-3.13.11-env/bin:/nix/store/na7mgypgpimq2557myjr7v3785ww0g7h-meson-1.9.1/bin:/nix/store/p0wxav7qwfn8xgyjyg58phdai9d4r5n7-ninja-1.13.2/bin:/nix/store/syg57akx2cvcc8kamsravsxf1gypwvlv-cmake-4.1.2/bin:/nix/store/q01yyg69q3rdm6k0xh4m46gv2sx72z6n-rustc-wrapper-1.91.1/bin:/nix/store/05fkgcd23v17s4i54784yvn0vcsjv8v5-capnproto-1.2.0/bin:/nix/store/qjl9insn7qgdz4i8ijvc6j7w2pivny8f-openssl-3.6.0-bin/bin:/nix/store/74gixzym48a4lpn0xycr1xb4rbr30r00-remove-references-to/bin:/nix/store/xq8n0mglvp6zx43jm2jd00f9kwrb90i2-lowdown-unsandboxed-2.0.4/bin:/nix/store/dzkn4w69ihmvi024zxwlxj39dzyphyhm-mdbook-0.5.1/bin:/nix/store/my3sz056vzks3jgyj3jkf0f62q4dl50z-mdbook-linkcheck-0.7.7/bin:/nix/store/54qzx9v4jrrhrz7dm93sdb2bqzvbgijg-pkg-config-wrapper-0.29.2/bin:/nix/store/1xy62wrp3m91snd3cazxgg0yrplb6sav-git-2.52.0/bin:/nix/store/hb8pxfa65bfd1ix61xk0hry9dgj21q3z-mercurial-7.1/bin:/nix/store/xsyckwxbp5bmqfxsj4xl4xs00i4vka8p-python3.13-pybind11-3.0.1/bin:/nix/store/48ak878425b9wyrkwd826d2043m3ii36-python3-3.13.11/bin:/nix/store/9rm6fm3zq1jq8rgsx528cw8wkmfya2gf-jq-1.8.1-bin/bin:/nix/store/q7mnh559nxka8kqy69gwv8qb0hji0if3-python3.13-yq-3.4.3/bin:/nix/store/c9ba7q0nj4lgpl5180dn3ngi0yknrfks-python3.13-argcomplete-3.6.2/bin:/nix/store/lkhiddqi7hcl2hbga856wmfxa6psavws-lsof-4.99.5/bin:/nix/store/2yb2w1908an6xpgzill888c5yrxkwf6j-zstd-1.5.7-bin/bin:/nix/store/pdh2pxgbx16zbv0qkk9isqibjdz4c82k-zstd-1.5.7/bin:/nix/store/cj0i3ra0frj327lcx1h127hdbh50h5v9-build-release-notes/bin:/nix/store/8yy15sk3826gb00zp44xxrm8by9i3ia0-clang-wrapper-21.1.7/bin:/nix/store/ywx0xix8cck7g3kvlnbh51lhwxh5xvqm-clang-21.1.7/bin:/nix/store/l60153ymb6kdnavlpaghi7h5fz7gh7iw-coreutils-9.8/bin:/nix/store/76kzmz2fmg9c6wakj4wifc7zgbqld3ab-cctools-binutils-darwin-wrapper-1010.6/bin:/nix/store/l9zswzv12g2mfdbj7ra35cxm0rjnh56s-cctools-binutils-darwin-1010.6/bin:/nix/store/7vipar4kaqlmq0ddlh2y127x38ccvrgj-xcbuild-0.1.1-unstable-2019-11-20-xcrun/bin:/nix/store/l60153ymb6kdnavlpaghi7h5fz7gh7iw-coreutils-9.8/bin:/nix/store/9mq7iqjv8mwpx6pmk2frkcnb5fnaphna-findutils-4.10.0/bin:/nix/store/4qz030vyw95fyhg30sjakrn6xbr7gnnf-diffutils-3.12/bin:/nix/store/cqpmyipcm6s84na6fkvkzknmz87igljr-gnused-4.9/bin:/nix/store/k2y0040hinbk3a2jj5ppy2dp2bpy9nw3-gnugrep-3.12/bin:/nix/store/pgz4cmapj3nq9vg4fyjqgaa7bayfdrr3-gawk-5.3.2/bin:/nix/store/n8zq31kl0x63sg14yzi38wd15alk62lc-gnutar-1.35/bin:/nix/store/z3pv1x994s4i32jcd93fh3nxhxpf9b35-gzip-1.14/bin:/nix/store/8vr957c4bdyvzppa07205az7mm763lg5-bzip2-1.0.8-bin/bin:/nix/store/p15ia8pn2wxzdqaf07nrwdspfwsyrzyn-gnumake-4.4.1/bin:/nix/store/yi3x6xpilh0bq0bgb61imy6gpv8b1la4-bash-5.3p3/bin:/nix/store/fm2dw9pdvwgpx5kryqhbx8fqfjq8six0-patch-2.8/bin:/nix/store/g3ynv50p3sz2jgz2zv9gjbxs9alcknyx-xz-5.8.1-bin/bin:/nix/store/6cp9fznk8nfjy4iwjbc549dkgpdh2sb0-file-5.45/bin +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:101) nix --extra-experimental-features nix-command daemon +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i++ )) +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i < 300 )) +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:105) [[ -S /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/dSocket ]] +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:109) sleep 0.1 +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i++ )) +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:104) (( i < 300 )) +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:105) [[ -S /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/dSocket ]] +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:106) DAEMON_STARTED=1 +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:107) break +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:111) [[ -z x ]] +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:114) trap killDaemon EXIT +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:116) NIX_REMOTE_OLD= +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:117) export NIX_REMOTE=daemon +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:117) NIX_REMOTE=daemon +(remote-store.sh:14) jq -e .trusted +(remote-store.sh:14) nix store ping --json accepted connection from pid 2218 remote pid 2218 is user _nixbld1 (trusted) +(remote-store.sh:16) grep 'You are trusted by' accepted connection from pid 2288 remote pid 2288 is user _nixbld1 (trusted) ++(remote-store.sh:19) nix eval --impure --raw --file ./ifd.nix accepted connection from pid 2327 remote pid 2327 is user _nixbld1 (trusted) building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/2j8556jif01hvsgwlym0hc54fdq0b64y-dependencies-input-3.drv'... building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/50jzwswqga2ph97abxq8ck66y12j52yz-dependencies-input-0.drv'... building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/9cg85a3c1c9w1ipy6l9y053idrc3j28a-dependencies-input-1.drv'... building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/5idql4nkwpk0ma0llh6fhllsymina3xm-fod-input.drv'... building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/vmkaaj2sjiw4yk7qnc1dcibldqvmjmjl-dependencies-input-2.drv'... building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/y5pww1maqy2vri2zi4ayfnq57cxsi8rz-dependencies-top.drv'... dependencies-top> FOO building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/gi0lrk2wcvc8585cbqm78383f7bgzm5x-foo.drv'... +(remote-store.sh:19) [[ hi = hi ]] +(remote-store.sh:21) storeCleared=1 +(remote-store.sh:21) NIX_REMOTE_=daemon +(remote-store.sh:21) /nix/store/yi3x6xpilh0bq0bgb61imy6gpv8b1la4-bash-5.3p3/bin/bash ./user-envs.sh touch: cannot touch '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.Wr5McqycYv/'$'\322''.txt': Illegal byte sequence +++(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:314) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(./user-envs.sh:3) '[' -z 1 ']' ++(./user-envs.sh:9) mktemp -d +(./user-envs.sh:9) VOID=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq +(./user-envs.sh:10) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq +(./user-envs.sh:11) linkProfilesTo /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:72) target=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:73) ln -s /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/tmp.z4vMr7drlq +(./user-envs.sh:12) expectStderr 1 nix-env --delete-generations 0 +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:223) local expected res +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:224) expected=1 +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:225) shift +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:226) nix-env --delete-generations 0 +(./user-envs.sh:12) grepQuiet -E 'error: cannot find current generation of profile '\''.*local/state/nix/profiles/profile'\'', is it a valid symlink?' +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep -E 'error: cannot find current generation of profile '\''.*local/state/nix/profiles/profile'\'', is it a valid symlink?' +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:226) res=1 +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:227) [[ 1 -ne 1 ]] +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:231) return 0 +(./user-envs.sh:14) clearProfiles +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles ++(./user-envs.sh:17) nix-env -p /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles/test -q '*' ++(./user-envs.sh:17) wc -l +(./user-envs.sh:17) test 0 -eq 0 +(./user-envs.sh:19) nix-env --switch-profile /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles/test ++(./user-envs.sh:22) nix-env -f ./user-envs.nix -qa '*' ++(./user-envs.sh:22) wc -l +(./user-envs.sh:22) test 6 -eq 6 ++(./user-envs.sh:23) nix-env -f ./user-envs.nix -qa --out-path --no-name '*' ++(./user-envs.sh:23) grep foo-1.0 +(./user-envs.sh:23) outPath10=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/ykj2va7avx4sq492j17byms0ndns4198-foo-1.0 ++(./user-envs.sh:24) nix-env -f ./user-envs.nix -qa --drv-path --no-name '*' ++(./user-envs.sh:24) grep foo-1.0 +(./user-envs.sh:24) drvPath10=/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/v6z357fwnm9hb3vz4a9awn3dnsfkcv3y-foo-1.0.drv +(./user-envs.sh:25) '[' -n /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/ykj2va7avx4sq492j17byms0ndns4198-foo-1.0 -a -n /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/v6z357fwnm9hb3vz4a9awn3dnsfkcv3y-foo-1.0.drv ']' +(./user-envs.sh:28) nix-env -f ./user-envs.nix -qa --json +(./user-envs.sh:28) jq -e $'.[] | select(.name == "bar-0.1") | [\n .outputName == "out",\n .outputs.out == null\n] | all' +(./user-envs.sh:32) jq -e $'.[] | select(.name == "bar-0.1") | [\n .outputName == "out",\n (.outputs.out | test("/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store.*-0\\\\.1"))\n] | all' +(./user-envs.sh:32) nix-env -f ./user-envs.nix -qa --json --out-path +(./user-envs.sh:36) nix-env -f ./user-envs.nix -qa --json --drv-path +(./user-envs.sh:36) jq -e '.[] | select(.name == "bar-0.1") | (.drvPath | test("/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store.*-0\\.1\\.drv"))' +(./user-envs.sh:39) nix-env -f ./user-envs.nix -qa '*' --description +(./user-envs.sh:39) grepQuiet silly +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep silly +(./user-envs.sh:40) rm -rf /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.nix-defexpr ++(./user-envs.sh:41) pwd +(./user-envs.sh:41) ln -s /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/user-envs.nix /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.nix-defexpr +(./user-envs.sh:42) nix-env -qa '*' --description +(./user-envs.sh:42) grepQuiet silly +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep silly +(./user-envs.sh:45) nix-env -qa '*' --system +(./user-envs.sh:45) grepQuiet aarch64-darwin +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep aarch64-darwin +(./user-envs.sh:48) nix-env -i foo-1.0 installing 'foo-1.0' accepted connection from pid 3077 remote pid 3077 is user _nixbld1 (trusted) this derivation will be built: /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/v6z357fwnm9hb3vz4a9awn3dnsfkcv3y-foo-1.0.drv building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/v6z357fwnm9hb3vz4a9awn3dnsfkcv3y-foo-1.0.drv'... building '/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/store/qs37nm9lgbrmsc038blmsfzhbz46h6hx-user-environment.drv'... ++(./user-envs.sh:52) nix-env -q '*' ++(./user-envs.sh:52) wc -l +(./user-envs.sh:52) test 1 -eq 1 +(./user-envs.sh:53) nix-env -q '*' +(./user-envs.sh:53) grepQuiet foo-1.0 +(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:301) grep foo-1.0 ++(./user-envs.sh:54) /nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/nix-test/remote-store/test-home/.local/state/nix/profiles/test/bin/foo +(./user-envs.sh:54) test '' = foo-1.0 ++(./user-envs.sh:54) onError ++(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:272) set +x ./user-envs.sh: test failed at: main in ./user-envs.sh:54 ++(remote-store.sh:21) onError ++(/nix/var/nix/b/69305jiqf0qsdzq0zgykip6k2z/source/build/tests/functional/common/vars-and-functions.sh:272) set +x remote-store.sh: test failed at: main in remote-store.sh:21 ``` </details>
Author

So it started working again, and I'm not sure why. This was my process:

  1. With Nix uninstalled (assuming the macOS upgrade might have corrupted it), opened Terminal 1 and installed Lix normally: curl -sSf -L https://install.lix.systems/lix | sh -s -- install
  2. Ran . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
  3. nix --version works
  4. sudo su and navigated to my system-wide config, which installs Lix from main
  5. nix develop: Failed with this error (also happened with my previous Nix installation)
  6. Opened Terminal 2 and cloned the Lix repo
  7. Ran just clean setup build install test. The same test and functional-local-store fail, but this time because apparently my PATH variable had an invalid (~) character (thanks Microsoft) breaking nix doctor.
  8. Deleted the files causing this to be appended.
  9. Opened Terminal 3 and ran just clean setup build install test. This time it worked.
  10. Ran nix build .# on the Lix repo. This time it worked.
  11. In the same terminal, sudo su, navigated to my system configuration, and ran nix develop. This time it worked.

So after editing my PATH it worked again, but I have no idea why that would fix it or what actually did fix it. nix --version in both Terminal 1 and Terminal 3 outputs Lix 2.94.0.

So it started working again, and I'm not sure why. This was my process: 1. With Nix uninstalled (assuming the macOS upgrade might have corrupted it), opened Terminal 1 and installed Lix normally: `curl -sSf -L https://install.lix.systems/lix | sh -s -- install` 2. Ran `. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh` 3. `nix --version` works 4. `sudo su` and navigated to my system-wide config, which installs Lix from `main` 5. `nix develop`: Failed with this error (also happened with my previous Nix installation) 6. Opened Terminal 2 and cloned the Lix repo 7. Ran `just clean setup build install test`. The same test and `functional-local-store` fail, but this time because apparently my `PATH` variable had an invalid (`~`) character (thanks Microsoft) breaking `nix doctor`. 8. Deleted the files causing this to be appended. 9. Opened Terminal 3 and ran `just clean setup build install test`. This time it worked. 10. Ran `nix build .#` on the Lix repo. This time it worked. 11. In the same terminal, `sudo su`, navigated to my system configuration, and ran `nix develop`. This time it worked. So after editing my `PATH` it worked again, but I have no idea why that would fix it or what actually did fix it. `nix --version` in both Terminal 1 and Terminal 3 outputs Lix 2.94.0.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1093
No description provided.